Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. closer changed to: "nobody"
  2. 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.
    
  3. login: "dgp"
  4. mimetype: "text/plain"
  5. resolution changed to: "Remind"
  6. status changed to: "Open"
  7. type changed to: "RFE"