Artifacts Associated With Ticket 1057461
Ticket change [5734bad3a5] (rid 94443) by harmol on 2004-10-30 20:57:22:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "obsolete: 8.4.6"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "harmol"
- subsystem initialized to: "17. Commands I-L"
- title initialized to: "info globals doesn't recognize ::"
- type initialized to: "Bug"
Ticket change [0d88581132] (rid 114378) by msofer on 2004-10-31 06:02:36:
- 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 ':'
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [ac760a3441] (rid 101292) by dkf on 2004-10-31 23:43:45:
- closedate changed to: "2004-10-31T16:43:45"
- closer changed to: "dkf"
- 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
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"