Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cbfc325cc7f5912504da999c9c0e90ce4f3d24843c5b70999e78507b018cc948
Ticket: 0b9200888e2fd6dd14fee5fc8471f6e8cb864a96
TIP #660 breaks TIP #628/#630
User & Date: apnadkarni on 2023-04-16 12:51:04
Changes

  1. closedate changed to: "2460051.03546947"
  2. closer changed to: "apnadkarni"
  3. icomment:
    I think you missed my point. I'm saying that 8.7 API's should NOT be introducing API's that take 64-bit arguments in the first place. To achieve the intended purpose of source compatibility, the older Tcl_CreateObjCommand etc. would continue to take `int` parameters. The new "2" version would take `Tcl_Size` parameters, **not** `size_t` or `ptrdiff_t`. The purpose is source compatibility, not 64-bit length support in Tcl 8.7 which is completely pointless.
    
    Regarding your comment on TIP 660 not mentioning TIP's other than 494, it does say *primarily* 494 and does not enumerate all the other TIP's because I felt there was no point in enumerating every single TIP that switched parameters from signed to unsigned. It *does* say all parameters to public and private API's referring to lengths and indices will be changed to signed.
    
    Also, you are wrong about my not caring about breaking earlier TIP's. But it is true that I don't care to stick to previous TIP's that were themselves broken to begin with as gospel! 494 was in that category and that led to 660. I view others like "2" definitions that use 64-bit lengths that serve no practical purpose in 8.7 the same way, but unlike 494, not critical.
    
    /Ashok
    
  4. login: "apnadkarni"
  5. mimetype: "text/x-markdown"