Skip to content
Tcl Source Code History Of Ticket 218060
Login

History Of Ticket 218060

Artifacts Associated With Ticket 218060

  1. Ticket change [f8efa3897e] (rid 91621) by nobody on 2000-10-26 00:52:41:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1507 Bug
      Version: 8.0.3
      SubmitDate: '1999-03-15'
      LastModified: '1999-11-10'
      Severity: SER
      Status: Closed
      Submitter: pat
      ChangedBy: hobbs
      OS: Windows NT
      OSVersion: 4.0 SP4
      Machine: X86
      FixedDate: '2000-10-25'
      ClosedDate: '1999-11-10'
      
      
      Name:
      Bruce Adams
      
      ReproducibleScript:
      proc putList { channel list { entryFormat "%s" } } {
          foreach item $list {
              puts $channel [ format $entryFormat $item ]
          }
      }
      # End Proc putList
          
      namespace eval fred {
      }
      
      puts "==========="
      
      rename info ::fred::info_builtin
      proc info { subcommand args } {
          return [eval ::fred::info_builtin $subcommand $args]
      }
          
      puts "BEFORE:"
      putList stdout "[ info commands inf* ]"
      
      proc info { subcommand args } {
      # each of the following has the same effect
          return [namespace eval ::fred info_builtin $subcommand $args]
          #return [namespace eval ::fred ::fred::info_builtin $subcommand $args]
          #return [namespace inscope ::fred ::fred::info_builtin $subcommand $args]
      }
      
      puts "AFTER:"
      putList stdout "[ info commands inf* ]"
      
      info_builtin
      
      ObservedBehavior:
      info_builtin is wrongly reported as existing in the global namespace by
      [ info commands inf* ] when it does not exist. i.e.
         info
         info_builtin
      
      DesiredBehavior:
      info commands inf*
      should only return "info"
      in the above script
      
      
      This behaviour impacts the development of my introspection package which
      amongst other things extends the semantics of info, through redefining
      it and
      creating a wrapper.
      --
      
      This is actually the correct behavior.  You are evaluating the
      info command now in the ::fred namespace, which means that it
      will pick up its new self as info_builtin.  Add the procs ::fred::inf
      ::fred::inf1 ... and you will see them all. 
      -- 11/10/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to:
      info commands return value altered by execution of command i
      
    11. type initialized to: "Bug"
  2. Ticket change [6324e0a45b] (rid 92525) by welch on 2000-10-26 08:13:45:

    1. closedate changed to: "2000-10-26T01:13:45"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [4d09652f23] (rid 126997) by dgp on 2001-04-16 22:56:02:

    1. closedate changed to: "2001-04-16T15:56:02"
    2. closer changed to: "dgp"
    3. subsystem changed to: "21. [namespace]"