Overview
| Artifact ID: | a2d7919bb60934b534b5c42ad2ec790b4945acf0 |
|---|---|
| Ticket: | 218137ffffffffffffffffffffffffffffffffff
namespace eval myspace { info commands } |
| User & Date: | nobody on 2000-10-26 00:53:36 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.0.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "81. Bundled Packages"
- title changed to: "namespace eval myspace { info commands }"
- type changed to: "Bug"