Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 07efb42ba561625fd80616a4b893c1c6fca9a004
Ticket: 433252ffffffffffffffffffffffffffffffffff
Better coherence in traces
User & Date: nobody on 2001-06-23 00:01:11
Changes

  1. icomment:
    Logged In: NO 
    
    It wasn't the best design decision to allow traces on
    non-existant variables, but here we are.  Most programmers
    expect "info exists varName" to be non-invasive.  This
    was changed and then changed back to the current behavior.
    
    As far as traces firing or not firing on append or lappend
    operations, it probably doesn't matter.
    
    I can't think of a situation where I would want to put a
    read trace on a variable I was appending to.  I might
    put a write trace to make it read-only.  I might put a
    read trace to simply supersede it's current value.  
    
       trace variable date r ResetDate
    
    I'm guessing that's why nobody ever's complained about
    the inconsistency before.
    
    
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"