| Ticket UUID: | 58b96f6744401ec00f6b5acee014688a3fd4ba5d | ||
| Title: | Difference in [info commands] behaviour in global namespace | ||
| Type: | Bug | Created on: | 2015-06-11 03:38:26 |
| Submitter: | apnadkarni | Assigned to: | dkf |
| Subsystem: | 17. Commands I-L | Severity: | Minor |
| Priority: | 5 Medium | Last modified: | 2017-02-13 17:12:31 |
| Status: | Open | Closed by: | nobody |
| Resolution: | None | Closed on: | |
| Version: | 8.6.4 | ||
| Description: | ||||
Based on a Tcl chat discussion:
% namespace path ::tcl::mathfunc
% info commands sin
% namespace eval ns {namespace path ::tcl::mathfunc ; info commands sin}
sin
Thus info commands invoked from a global scope does not seem to look at namespace path value.
| ||||
| User Comments: | ||||
aspect added on 2015-11-25 00:20:24:
the attached patch adds a test and attempt to fix this issue. The change is removing (nsPtr != globalNsPtr) from a guard around code which searches the namespace path. Issues seems to have been present from the beginning ([f1050beab4] TIP#229 implementation). aspect added on 2017-02-12 13:03:21:
Patch pushed to branch [bug-58b96f6744] dgp added on 2017-02-13 17:12:31:
TIP 229 author should have a look. | ||||
Attachments:
- 58b96f6744.patch [download] added by aspect on 2015-11-25 00:17:51. [details]
