Overview
| Artifact ID: | b40de5ef317732173040f2ba097c0c41c7a8ea16 |
|---|---|
| Ticket: | 1338280fffffffffffffffffffffffffffffffff
unset traces during namespace delete misbehave |
| User & Date: | msofer on 2005-11-01 04:45:32 |
Changes
- icomment:
Logged In: YES user_id=148712 Patch not committed: it contradicts the comment in TclTeardownNamespace: /* * Start by destroying the namespace's variable table, * since variables might trigger traces. */ In particular, the patch changes the behaviour of the script: namespace eval a { proc p {} {puts hi} trace add variable x unset {a::p;#} set x 1 } namespace delete a which prints 'hi' before the patch, and does not after the patch. Note that these comments in the source are the only documentation about the ordering of operations during namespace deletion. - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"