Ticket UUID: | 58b96f6744401ec00f6b5acee014688a3fd4ba5d | |||
Title: | Difference in [info commands] behaviour in global namespace | |||
Type: | Bug | Version: | 8.6.4 | |
Submitter: | apnadkarni | Created on: | 2015-06-11 03:38:26 | |
Subsystem: | 17. Commands I-L | Assigned To: | dkf | |
Priority: | 5 Medium | Severity: | Minor | |
Status: | Open | Last Modified: | 2017-02-13 17:12:31 | |
Resolution: | None | Closed By: | nobody | |
Closed on: | ||||
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: |
dgp added on 2017-02-13 17:12:31:
TIP 229 author should have a look. aspect added on 2017-02-12 13:03:21: Patch pushed to branch [bug-58b96f6744] 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). |
Attachments:
- 58b96f6744.patch [download] added by aspect on 2015-11-25 00:17:51. [details]