Skip to content
Tcl Source Code History Of Ticket 1057461
Login

History Of Ticket 1057461

Artifacts Associated With Ticket 1057461

  1. Ticket change [5734bad3a5] (rid 94443) by harmol on 2004-10-30 20:57:22:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      according to help namespace:
      
      "topmost or global namespace has the name ``'' (i.e., 
      an empty string), although :: is a synonym"
      
      so you expect:
      
      [info globals ::tcl_platform], to give the 
      same result as:
      [info globals tcl_platform]
      
      However, (win XP, Activestate 8.4.6):
      
      info globals tcl_platform
      tcl_platform
      
      info globals ::tcl_platform
           
      (i.e. empty string)
      
      
      whereas:
      (bin) 62 % puts $tcl_version
      8.4
      (bin) 63 % puts $::tcl_version
      8.4
      
      I think the [info globals] command is at least not 
      consistent with respect to the naming convention and I 
      would like to file it as a bug.
      
      
    4. foundin initialized to: "obsolete: 8.4.6"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "harmol"
    9. subsystem initialized to: "17. Commands I-L"
    10. title initialized to: "info globals doesn't recognize ::"
    11. type initialized to: "Bug"
  2. Ticket change [0d88581132] (rid 114378) by msofer on 2004-10-31 06:02:36:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      I agree that this is a bug; I tend to use [info vars], which
      is saner in this respect.
      
      Note to maintainer: [info globals] looks directly into the
      global hashtable, without stripping leading '::' first - so,
      no wonder that var is not found. 
      
      One possible fix is to remove leading ':' (if two or more),
      do the search, and then report the result with prepended
      leading ':'
      
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Ticket change [ac760a3441] (rid 101292) by dkf on 2004-10-31 23:43:45:

    1. closedate changed to: "2004-10-31T16:43:45"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      Hmm, correct thing to do is indeed to check if the pattern
      starts with '::', and if so strip off the leading colons.
      Any other chars can be left alone.
      
      Fixed in HEAD and 8.4 branch
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"