Artifacts Associated With Ticket 6f327a1bbf2b9533
Ticket change [3c420b1bbf] (rid 168050) by anonymous on 2018-12-22 12:06:39:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Observed on an Ubuntu 16.04 AMD64 To reproduce: % namespace exists ::oo::InfoObject 1 % namespace eval ::oo::InfoObject {namespace path} path does not refer to an object dzach - foundin initialized to: ": 8.6.8"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "10. Objects"
- title initialized to: "namespace path errors in ::oo::InfoObject"
- type initialized to: "Bug"
Ticket change [e65a56500a] (rid 168815) by dgp on 2019-02-01 17:52:21:
- assignee changed to: "dkf"
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "7 High"
- subsystem changed to: "35. TclOO Package"
Ticket change [47a8501aae] (rid 168886) by dkf on 2019-02-02 07:44:02:
- closedate changed to: "2458516.82225087"
- closer changed to: "dkf"
- icomment:
This is correct behaviour, as the command <code>::oo::InfoObject::namespace</code> exists; it implements <a href="https://www.tcl.tk/man/tcl8.6/TclCmd/info.htm#M75"><code>info object namespace</code></a>, a documented command. (It takes a single argument, checks that it is an object, and returns the path to the object's state namespace.) If you want to use the global <code>namesapce</code> command in that context, you need to use the qualified form, i.e., <code>::namespace</code>; this sort of thing is why the exact implementation of how TclOO isn't fully documented and why poking around inside requires care (because you have to be far more exacting than you think at first glance). <p> If what you were trying to do worked in earlier versions (<code>info object namespace</code> has been there for a long time now!) then that was actually (probably) a command resolution bug that was corrected. Not quite sure what bug.
- login: "dkf"
- mimetype: "text/html"
- resolution changed to: "Invalid"
- status changed to: "Closed"
Ticket change [9b6b8b84e0] (rid 171036) by anonymous on 2019-04-13 15:42:54:
- closedate changed to: "2458587.1548014"
- closer changed to: "anonymous"
- icomment:
You are right, I ment using ::namespace and missed the namespace qualifier, but also couldn't make sense of the error message, deceived by the un-quoted word 'path'. Thanks!
- login: "anonymous"
- mimetype: "text/plain"
Ticket change [705e2721ec] (rid 257617) by serhiy.storchaka on 2026-10-11 12:46:19:
- foundin changed to: "8.6.8"