Artifacts Associated With Ticket 3185407fffffffffffffffffffffffffffffffff
Ticket change [1650d99359] (rid 124698) by apnadkarni on 2011-02-18 02:34:01:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
In tclsh 8.6 (close to CVS HEAD) % namespace eval ns {proc foo {} {}} % namespace eval ns2 {proc foo {} {}} % namespace path {ns ns2} % namespace which foo ::ns::foo % proc foo {} {} % namespace which foo ::ns::foo invoking [foo] does in fact invoke ::foo, not ::ns::foo And retrying from scratch, without the first [namespace which foo] returns ::foo % namespace eval ns {proc foo {} {}} % namespace eval ns2 {proc foo {} {}} % namespace path {ns ns2} % proc foo {} {} % namespace which foo ::foo Sounds like some cache not being invalidated ? /Ashok - foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "21. [namespace]"
- title initialized to: "namespace which command returns wrong result"
- type initialized to: "Bug"
Ticket change [f33c7858ab] (rid 129670) by msofer on 2011-05-08 19:24:02:
- foundin changed to: "obsolete: 8.5.9"
- icomment:
Bug is in 8.5 too
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
Ticket change [6a7a8bf19d] (rid 128155) by msofer on 2011-05-08 19:37:48:
- icomment:
Problem seems to happen only at the interactive shell. It is NOT a problem with [namespace which], as shown by: % namespace eval ns {proc foo {} {puts [namespace current]}} % namespace eval ns2 {proc foo {} {puts [namespace current]}} % namespace path {ns ns2} % puts [namespace which foo] ::ns::foo % proc foo {} {puts [namespace current]} % puts [namespace which foo] ::ns::foo % foo :: % eval [list foo] ::ns - login: "msofer"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- title changed to: "something in cmd name caching is very wrong"
- username: "msofer"
- icomment:
Ticket change [a9cfc24dfb] (rid 99216) by msofer on 2011-05-08 20:01:53:
- assignee changed to: "dkf"
- icomment:
Possible fix in branch bug-3185407. Assigning to the real NS expert for review (if approved, can commit and merge to trunk too)
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
Ticket change [6e0001c288] (rid 128801) by dkf on 2011-05-09 22:39:27:
- icomment:
There does seem to be a performance hit, but I've yet to determine whether it matters (or even if it is a real effect or a nasty confounding cache problem on my machine).
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [cdf9221566] (rid 95977) by dkf on 2011-06-01 21:58:17:
- icomment:
Despite the fact that I find it hard to grok just what's going wrong (or rather why it goes wrong in some places but not others) I still approve the change from bug-3185407; I can't see that it is wrong and it does appear to fix the problem. Performance impact appears minimal.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [4f8201972d] (rid 125838) by dkf on 2011-06-02 21:58:26:
- icomment:
Fix applied to relevant mainline branches, including a test (derived from bug report; thanks!)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [5d334836bc] (rid 115415) by dkf on 2011-06-02 21:58:27:
- closedate changed to: "2011-06-02T14:58:27"
- closer changed to: "dkf"
- icomment:
allow_comments - 1
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"