Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-08-18
14:55 • New ticket [3047802fff] inconsistent ns treatment of aliases. artifact: 6e8e6a3836 user: dgp

inconsistent ns treatment of aliases

Open3047802fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-08-18 14:55:42
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
Log in (anonymous is fine) to add a comment.