Skip to content
Tcl Source Code History Of Ticket e86e178a
Login

History Of Ticket e86e178a

Artifacts Associated With Ticket e86e178a

  1. Ticket change [53d9eedc12] (rid 160371) by pooryorick on 2018-01-19 20:43:47:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      In the following example, the trace does not occur:
      
      <code><verbatim>
      namespace eval ns1 {
          proc p1 {} {}
          trace add command p1 delete [list ::apply [list args {
              puts hello
          } [namespace current]]]
          namespace delete [namespace current]
      }
      </verbatim></code>
      
      The problem is that in prepration to invoke <code>apply</code>, the namespace
      is looked up by name, but this fails for namespaces that are dying, causing
      <code>TclNRApplyObjCmd</code> to fail.
      
      Fixed in the bug-e593adf103-core-8 branch.
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "pooryorick"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "e476148cded301ffff84bcdc432536dc0c949e88"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "pooryorick"
    14. subsystem initialized to: "21. [namespace]"
    15. title initialized to:
      namespace deletion: trace that calls [apply], specifying the namespace, doesn't fire.
      
    16. type initialized to: "Bug"