Artifacts Associated With Ticket 3202171
Ticket change [646efd07f6] (rid 92770) by dgp on 2011-03-07 20:17:58:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Demo script: % namespace eval demo { proc namespace args {puts $args} ::namespace code {namespace inscope foo} } namespace inscope foo [::namespace code] tries to detect and simplify cases where it would produce nested [::namespace inscope] calls. In the case where a namespace has its own custom "namespace" command, though, this is not correct. - foundin initialized to: "obsolete: 8.5.9"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "21. [namespace]"
- title initialized to: "namespace code simplification incorrect"
- type initialized to: "Bug"
Ticket change [7113028e89] (rid 100609) by dgp on 2011-03-08 03:19:26:
- icomment:
There is also a more fundamental design flaw that the functioning of [namespace code] appears to rely on an assumption that the [::namespace] command is never [rename]d.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [144938e102] (rid 124368) by dgp on 2011-03-08 03:22:00:
- icomment:
Since there's no way I can think of to deal with the possibility of the renaming of commands between the time [namespace code] quotes a script, and the time the quoted script is eval's by a callback operation, that weakness may just have to be accepted. The bug demo submitted ought to be fixable though.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [0e48bc2624] (rid 94588) by dgp on 2011-03-09 04:12:59:
- icomment:
Note, this analysis also implies that tests namespace-22.2 and namespace-22.3 are incorrect.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [de9bcdc14f] (rid 114882) by dgp on 2011-03-09 22:00:00:
- assignee changed to: "dkf"
- icomment:
Fix is in checkin http://core.tcl.tk/tcl/info/ac4c249ecf Please review, and if acceptable, either merge to core branch, or give me the ok to do so.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [e5e8bde3c9] (rid 104209) by dkf on 2011-03-09 23:10:08:
- assignee changed to: "dgp"
- icomment:
Looks OK to me
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [2a81d3fcd3] (rid 118590) by dgp on 2011-03-10 03:58:16:
- closedate changed to: "2011-03-09T20:58:16"
- closer changed to: "dgp"
- icomment:
allow_comments - 1 committed.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"