Tcl Source Code

View Ticket
Login
Ticket UUID: 3047802
Title: inconsistent ns treatment of aliases
Type: Bug Created on: 2010-08-18 14:55:42
Submitter: dgp Assigned to: hobbs
Subsystem: 20. [interp] Severity:
Priority: 5 Medium Last modified: 2010-08-18 14:55:42
Status: Open Closed by:
Resolution: None Closed on:
Version: obsolete: 8.5.8
Description:
apnI find the following behavious or interp alias inconsistent:
apn[namespace eval ns { interp alias {} myputs {} puts }] creates an alias "myputs" in the *global* namespace
apnOn the other hand, [namespace eval ns { interp alias {} ns::myputs {} puts }] creates an alias in the ::ns::ns namespace