Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 817e244269cd7241a0d6b8faad554c8db53f8f11
Ticket: 1893052fffffffffffffffffffffffffffffffff
Object type info can be lost after comparison (e.g. INST_EQ)
User & Date: dgp on 2008-02-14 03:20:44
Changes

  1. assignee changed to: "dgp"
  2. closedate changed to: "2008-02-13T20:20:44"
  3. closer changed to: "dgp"
  4. icomment:
    Logged In: YES 
    user_id=80530
    Originator: NO
    
    
    Of course, strictly speaking, all Tcl
    values are string-based in their semantics, so
    an inability to restore from string rep
    is an unsupported (ab)use of the Tcl_ObjType
    system.
    
    That said, folks do make this sort of thing
    work acceptably well.  Due to what is reported
    here, and other places where the core may
    shimmer intreps, if you have such a value
    that isn't fully specified by the string
    rep you have chosen, it is best if you choose
    a string rep that can't be converted to
    the known core types.  You can only have
    your fragile value get converted via
    Tcl_GetWideIntFromObj() if you've chosen
    a string rep that is a valid wide integer.
    Don't Do That.
    
    
    
  5. login: "dgp"
  6. mimetype: "text/plain"
  7. resolution changed to: "Invalid"
  8. status changed to: "Pending"
  9. username: "dgp"