Artifacts Associated With Ticket 1585064fffffffffffffffffffffffffffffffff
Ticket change [883b4b3edc] (rid 131834) by mpc_janssen on 2006-10-26 12:49:32:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
When executing the following script: namespace eval debug { namespace export breakpoint proc on {} {proc breakpoint {{s {}}} {puts on}} proc off {} {proc breakpoint args {}} off } namespace import ::debug::* ::debug::on breakpoint No ouptut is shown while I expected on to be shown. when forcing reimport of the breakpoint proc with namespace import -force ::debug::* on is displayed for subsequent calls to breakpoint also when using the FQN ::debug::breakpoint on is displayed. When the off proc is defined as: proc off {} {proc breakpoint args {return}} It works as expected. - foundin initialized to: "obsolete: 8.5a5"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mpc_janssen"
- subsystem initialized to: "21. [namespace]"
- title initialized to:
Namespace import behaves strange when redefining commands
- type initialized to: "Bug"
Ticket change [801fd0f512] (rid 97679) by dgp on 2006-10-26 20:53:04:
- icomment:
Logged In: YES user_id=80530 [09:49]dgpdo look at [control::assert] for how to do what I guess you are trying to do. [09:49]kbk checks into the chat. [09:49]dgpbut yes imports follow renames [09:50]dgpin the 8.0 timeframe this was considered a good thing [09:51]dgpmostly forced in as an arranged marriage to make "snapshot semantics" of [namespace import] live with autoloading of package commands. [09:51]dgpAIUI
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [aec0635ae8] (rid 101694) by dgp on 2006-10-26 20:54:52:
- icomment:
Logged In: YES user_id=80530 I wrote "follows renames" but of course the issue here is "follows redefinitions". Sorry.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [195406622d] (rid 122792) by pcmacdon on 2007-10-18 10:24:02:
- icomment:
Logged In: YES user_id=190660 Originator: NO Not sure if this helps, but one workaround is to avoid the NOOP optimization by using a non-'args' signature or non-empty body on redefining an import. ie. proc breakpoint {{s {}}} {} or proc breakpoint {args} {;} - login: "pcmacdon"
- mimetype: "text/plain"
- username: "pcmacdon"
- icomment:
Ticket change [c060196735] (rid 102390) by msofer on 2008-07-30 06:56:16:
- closedate changed to: "2008-07-29T23:56:16"
- closer changed to: "msofer"
- status changed to: "Pending"
Ticket change [72da83226b] (rid 104938) by sf-robot on 2008-08-13 09:20:28:
- closedate changed to: "2008-08-13T02:20:28"
- closer changed to: "sf-robot"
- icomment:
Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"