Skip to content
Tcl Source Code History Of Ticket 1590232
Login

History Of Ticket 1590232

Artifacts Associated With Ticket 1590232

  1. Ticket change [a5c285ab0d] (rid 110430) by msofer on 2006-11-03 23:14:19:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Aliases resolve command names in the global namespace,
      but execute in the caller's scope. In the presence of
      traces that cause a second resolution, the second time
      the resolution proceeds in caller scope instead of global:
      
      mig@ice:~$ cat /tmp/trace
      set res {}
      proc x {} {return ::}
      namespace eval a {}
      proc a::x {} {return ::a}
      interp alias {} y {} x
      lappend res [namespace eval a y]
      trace add execution x enter {
            rename ::x {}
            proc ::x {} {return ::}
            #}
      lappend res [namespace eval a y]
      
      puts $res
      mig@ice:~$ /home/CVS/tcl8.5a5/unix/tclsh /tmp/trace
      :: ::a
      
      Correct behaviour is restored with the attached patch,
      returning
      :: ::
      
    4. foundin initialized to: "obsolete: 8.5a6"
    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: "msofer"
    10. subsystem initialized to: "45. Parsing and Eval"
    11. title initialized to: "error in cmd traces & aliases"
    12. type initialized to: "Bug"
  2. Ticket change [3a96729018] (rid 112581) by msofer on 2006-11-04 06:14:19:

    1. icomment:
      
      
      File Added - 201334: trace.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Add attachment "trace.patch" [dcb13142a3] (rid 114527) by msofer on 2006-11-04 06:14:19.

  4. Ticket change [f1de4f2be4] (rid 109436) by msofer on 2006-11-04 06:25:56:

    1. closedate changed to: "2006-11-03T23:25:56"
    2. closer changed to: "msofer"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"