Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0bd6cded453eb9ecf0f804157eefbc23d76576485d5151bab9d0d707cb95605a
Ticket: 04ac7a9d9f82b622903efb69f2cdfb78ead81ba9
lsearch shimmers abstract lists
User & Date: apnadkarni on 2025-06-18 05:54:17
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    lsearch shimmers abstract lists that do not themselves implement lsearch functionality. For example,
    
    ```
    % set l [lrepeat 200 x]; 'rep $l
    value is a list with a refcount of 3, object pointer at 0x1ffa0163cb0, internal representation 0x1ffa01477f0:0x0, no string representation
    % lsearch $l x
    0
    % 'rep $l
    value is a list with a refcount of 3, object pointer at 0x1ffa0163cb0, internal representation 0x1ffa01477f0:0x0, no string representation
    ```
    
    Either lsearch should be modified to use `Tcl_ListObjIndex` for abstract lists or abstract lists in the core should implement lsearch themselves (or both). Note `lseq` already implements lsearch.
    
  5. foundin changed to: "9.1a1"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "apnadkarni"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to: "lsearch shimmers abstract lists"
  16. type changed to: "RFE"