Overview
| Artifact ID: | 50c1e3019968f9b25c1f1c2d89ea274287053426 |
|---|---|
| Ticket: | 2028793fffffffffffffffffffffffffffffffff
Namespace dependence of interp alias |
| User & Date: | lars_h on 2012-05-30 19:25:26 |
Changes
- icomment:
@dkf: That the return value isn't fully qualified isn't that strange, when you consider that [interp alias] isn't supposed to return the name of the command it creates; what it in principle returns is merely a handle for the alias, which just so happens to look like the corresponding command name. The whole "handle, not command name" business is of course strange (but understandable, once you dwelve into it). As for the command creation behaviour, I would suspect it is [proc] that is principally right (two cases is less than three), and Tcl_CreateObjCommand that has a hack to make life easier for Tk and similar extensions. [interp alias] and the like are however poorly served by this hack.
- login: "lars_h"
- mimetype: "text/plain"
- username: "lars_h"