Overview
| Artifact ID: | 53d9eedc12a4bef560ca258a50ec0a20f8da260a6d8ab32b5caf0716bd4cd529 |
|---|---|
| Ticket: | e86e178aff221cef6106ac775a38f2f18f5cadee
namespace deletion: trace that calls [apply], specifying the namespace, doesn't fire. |
| User & Date: | pooryorick on 2018-01-19 20:43:47 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed 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. - foundin changed to: "trunk"
- is_private changed to: "0"
- login: "pooryorick"
- priority changed to: "5 Medium"
- private_contact changed to: "e476148cded301ffff84bcdc432536dc0c949e88"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "pooryorick"
- subsystem changed to: "21. [namespace]"
- title changed to:
namespace deletion: trace that calls [apply], specifying the namespace, doesn't fire.
- type changed to: "Bug"