Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Patch from Bug 119385 (namespace code fix)

Closed / Fixed403530ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
dgpplain2001-02-02 04:19:53
Please review.
dgp Ticket [403530ffff]: 1 change [History diff]2001-02-22 07:10:25
dgp Ticket [403530ffff]: 1 change [History diff]2001-02-27 06:09:07
dkf Ticket [403530ffff]: 1 change [History diff]2001-02-27 20:12:57
hobbsplain2001-03-10 06:49:29
Logged In: YES 
user_id=72656

The bug is now 219385 at https://sourceforge.net/tracker/?
func=detail&aid=219385&group_id=10894&atid=110894.  I'm 
giving the thumbs up to put it in.

The main point is that the action disagrees with the 
logical docs, that note:

"It returns a new script in which script has been wrapped 
in a namespace code command. The new script has two 
important properties.  First, it can be evaluated in any 
namespace and will cause script to be evaluated in the 
current namespace (the one where the namespace code command 
was invoked)."

Since 'namespace' is called instead of '::namespace', the 
intent can be defeated.
dgpplain2001-04-07 01:22:47
Logged In: YES 
user_id=80530

Miguel, are you going to commit this?
msoferplain2001-04-07 09:03:21
File Added - 5102: patch

Logged In: YES 
user_id=148712

new patch, added correction to man page
msofer Closed ticket [403530ffff]. [History diff]2001-04-07 09:38:42
msofer Ticket [403530ffff]: 3 changes [History diff]2001-04-07 10:34:49
Log in (anonymous is fine) to add a comment.

Attachments: