Overview
| Artifact ID: | 1e9bb880f5d3daf0a6753ffdf61709281cb2c237 |
|---|---|
| Ticket: | 7f02ff1efa308825b21e58ec04cee898fe9c44ad
unset traces on local vars write in caller context |
| User & Date: | dgp on 2016-09-09 12:22:59 |
Changes
- closer changed to: "nobody"
- icomment:
So it is. That documentation is also as old as recorded Tcl history. The design seems unusably broken if you ask me. It forces you to write a handler script that functions correctly in 2 completely different contexts. I'll revert the change from the trunk (8.7). For now, I plan to leave it in novem. At least this wart should be removed in Tcl 9, IMHO, if not a more complete reworking of traces altogether. Experience shows me that a programmatic unset of a variable is meaningfully different from the destruction of a variable (say, because context or interp are going away), and the trace mechanism ought to be able to react to that difference.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Remind"
- status changed to: "Open"
- type changed to: "RFE"