Tcl Source Code

View Ticket
Login
Ticket UUID: 403530
Title: Patch from Bug 119385 (namespace code fix)
Type: Patch Version: None
Submitter: dgp Created on: 2001-01-31 19:10:58
Subsystem: 21. [namespace] Assigned To: msofer
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-04-07 10:34:49
Resolution: Fixed Closed By: msofer
    Closed on: 2001-04-07 03:34:49
User Comments: msofer added on 2001-04-07 09:03:21:

File Added - 5102: patch

Logged In: YES 
user_id=148712

new patch, added correction to man page

dgp added on 2001-04-07 01:22:47:
Logged In: YES 
user_id=80530

Miguel, are you going to commit this?

hobbs added on 2001-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.

dgp added on 2001-02-02 04:19:53:
Please review.

Attachments: