Overview
| Artifact ID: | 16fd3d394f7cd524cd619d5bd890c2edcae70239 |
|---|---|
| Ticket: | 1338280fffffffffffffffffffffffffffffffff
unset traces during namespace delete misbehave |
| User & Date: | msofer on 2005-10-30 02:02:53 |
Changes
- icomment:
Logged In: YES user_id=148712 The fundamental problem is that, when a variable is unset due to its namespace being deleted, the variable exists while the unset trace is running: namespace eval a {trace add variable x unset {puts [catch {set ::a::x}];#}; set x 1} 1 % unset a::x 1 % namespace eval a {trace add variable x unset {puts [catch {set ::a::x}];#}; set x 1} 1 % namespace delete a 0 This is a very old bug - just verified that Tcl8.3.4 has it too. It is probably also the cause of Bug 1337229. - login: "msofer"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- username: "msofer"