Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c7a918a5e3664008084a89d3c58c55c70aadd820
Ticket: 1746143fffffffffffffffffffffffffffffffff
bug? Unset may not completely remove the variable
User & Date: jenglish on 2007-07-06 04:58:16
Changes

  1. icomment:
    Logged In: YES 
    user_id=68433
    Originator: NO
    
    Tk relies on this behavior: whenever a widget has a linked -variable or -textvariable, it attaches a write+unset trace that reestablishes itself whenever it's called with TCL_TRACE_DESTROYED.
    
    If traces added during an unset trace did not survive the [unset], it would break quite a lot of Tk and other megawidget packages that work the same way.
    
    
  2. login: "jenglish"
  3. mimetype: "text/plain"
  4. username: "jenglish"