Artifacts Associated With Ticket 1247135fffffffff
Ticket change [7b153192ce] (rid 90454) by nobody on 2005-07-28 21:48:56:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Name: Lawrence D'Oliveiro Contact e-mail: [email protected] Systems tried: SuSE Linux 9.3 x86-64, tcl 8.4.9-7 vs SuSE 9.1 x86 (32-bit), tcl 8.4.6-26 On the system running 8.4.9, "info globals" is returning a nonempty result for an undefined global, when it should be returning an empty result. Furthermore, it only does this inside a proc. For example, try this command sequence from the tclsh command prompt: proc Try {} {global Glob; info globals Glob} Try Assuming that there is no global variable named "Glob", this returns an empty result on 8.4.6, but it returns "Glob" on 8.4.9. If you try the same commands as the procedure body, entered directly: global Glob info globals Glob This sequence returns an empty result on both 8.4.6 and 8.4.9.
- foundin initialized to: "obsolete: 8.4.9"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "17. Commands I-L"
- title initialized to: "info globals works wrong inside proc"
- type initialized to: "Bug"
Ticket change [35051ff78f] (rid 106847) by dgp on 2005-07-29 05:17:48:
- icomment:
Logged In: YES user_id=80530 This was a change in behavior between releases 8.4.7 and 8.4.8. The "changes" file says it's a fix for Bug 1057461. Or possibly a consequence of the TclMatchIsTrivial() changes?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [1b9a44d172] (rid 123181) by dgp on 2005-07-29 05:23:00:
- priority changed to: "7 High"
Ticket change [0c9751c713] (rid 114203) by dgp on 2005-07-29 05:23:01:
- icomment:
Logged In: YES user_id=80530 Yes, it looks like the TclIsVarUndefined() check didn't get copied over to the optimized version that directly looks up trivial patterns.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [f25e2d3fd6] (rid 109525) by dkf on 2005-07-29 21:58:22:
- closedate changed to: "2005-07-29T14:58:22"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Fixed in HEAD and 8.4 branch
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"