Artifacts Associated With Ticket 218137ffffffffff
Ticket change [a2d7919bb6] (rid 109958) by nobody on 2000-10-26 00:53:36:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2060 Bug Version: 8.0.4 SubmitDate: '1999-05-13' LastModified: '2000-05-23' Severity: MED Status: Closed Submitter: pat ChangedBy: hobbs OS: Solaris Machine: Other FixedDate: '2000-10-25' ClosedDate: '2000-05-23' Name: Spiros Boucouris ReproducibleScript: Add a command (implemented in C) to a namespace. The only way to see the command listed is info commands myspace::* namespace eval myspace { info commands } will only list the commands from the global namespace. DesiredBehavior: namespace eval myspace { info commands } should also report the commands defined in myspace, not just the ones in the global namespace info commands is doc'ed to return commands in the current namespace, but return commands in both the current and the global namespace. [info procs] is doc'ed the same way, and was fixed in 8.3 to just return the namespace commands. This should be corrected, one way or the other, in 8.4. -- 04/03/2000 hobbs I find this not to be the case actually, see: % info commands itcl::* ::itcl::configbody ::itcl::find ::itcl::class ::itcl::scope ::itcl::body ::itcl::local ::itcl::code ::itcl::delete ::itcl::ensemble % namespace eval itcl {info commands} configbody find class scope body local code delete ensemble tell socket subst open eof pwd tclMacPkgSearch glob list exec pid auto_load_index time unknown eval You'll see that itcl::class is seen either way (a C-based command). -- 05/23/2000 hobbs - foundin initialized to: "obsolete: 8.0.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "81. Bundled Packages"
- title initialized to: "namespace eval myspace { info commands }"
- type initialized to: "Bug"
Ticket change [f8724a6dad] (rid 91541) by welch on 2000-10-26 08:15:55:
- closedate changed to: "2000-10-26T01:15:55"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [d59ffe0738] (rid 123655) by dgp on 2001-04-05 07:20:55:
- closedate changed to: "2001-04-05T00:20:55"
- closer changed to: "dgp"
- subsystem changed to: "17. Commands I-L"