Artifacts Associated With Ticket 3040531
Ticket change [ffd7c4fa83] (rid 108834) by schmitzu on 2010-08-06 11:34:00:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
$ tclsh % namespace eval ::tcl::dict {info procs} reults in: missing value to go with key while executing "info procs" (in namespace eval "::tcl::dict" script line 1) invoked from within "namespace eval ::tcl::dict {info procs}" ("uplevel" body line 1) invoked from within "uplevel #0 {namespace eval ::tcl::dict {info procs}}" It should result in emtpty string if no commands defined in ::tcl::dict. - foundin initialized to: "obsolete: 8.5.8"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "schmitzu"
- subsystem initialized to: "17. Commands I-L"
- title initialized to:
"info procs" in namespace ::tcl::dict results in error
- type initialized to: "Bug"
Ticket change [3c98caec98] (rid 120941) by dkf on 2010-08-07 06:15:34:
- closedate changed to: "2010-08-06T23:15:34"
- closer changed to: "dkf"
- icomment:
allow_comments - 1 There is an 'info' command in the ::tcl::dict namespace (that's the implementation of the [dict info] subcommand) which means that your code is simply not doing what you expect (the error message indicates that 'procs' is not a valid dictionary; this is not surprising). If you use the code below instead, it will do what you want: namespace eval ::tcl::dict {::info procs} - login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "dkf"