Skip to content
Tcl Source Code History Of Ticket 3040531fffffffff
Login

History Of Ticket 3040531fffffffff

Artifacts Associated With Ticket 3040531fffffffff

  1. Ticket change [ffd7c4fa83] (rid 108834) by schmitzu on 2010-08-06 11:34:00:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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.
      
    4. foundin initialized to: "obsolete: 8.5.8"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "schmitzu"
    10. subsystem initialized to: "17. Commands I-L"
    11. title initialized to:
      "info procs" in namespace ::tcl::dict results in error
      
    12. type initialized to: "Bug"
  2. Ticket change [3c98caec98] (rid 120941) by dkf on 2010-08-07 06:15:34:

    1. closedate changed to: "2010-08-06T23:15:34"
    2. closer changed to: "dkf"
    3. 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}
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "dkf"