Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2cc29377111bc68334f4b3eb7f3c9e9b90390b1a
Ticket: 752814ffffffffffffffffffffffffffffffffff
Inhibit some type conversions
User & Date: dkf on 2003-06-12 15:28:32
Changes

  1. foundin changed to: "None"
  2. icomment:
    Logged In: YES 
    user_id=79902
    
    That's not a supported mode of operation, though it's one
    that I know I would like to support.  However, the core is
    not currently up to it and is not likely to change in this
    respect in 8.* as it would require both non-trivial
    alterations to the Tcl_ObjType structure and a thorough
    code-review of a large fraction of the core to ensure that
    there aren't any holes where something could slip through. 
    The current policy is that internal representations are just
    caches of what can be derived (possibly in some context)
    from the utf-8 string version of the object.
    
    BTW, I've done "magic objects" in the past and it works
    fairly well so long as you don't look at them in any way
    that doesn't understand exactly what they are.  Putting them
    into variables and lists is fine.  Treating them as strings
    or ints and you are on dangerous ground.
    
    This is a FRQ, not a bug.
    
    
  3. login: "dkf"
  4. mimetype: "text/plain"
  5. subsystem changed to: "None"
  6. username: "dkf"