Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b7020232a7550486295161c35057d1e20796f875
Ticket: 3057639fffffffffffffffffffffffffffffffff
lappend inconsistency with respect to read traces
User & Date: msofer on 2012-01-31 00:57:15
Changes

  1. icomment:
    The code is currently inconsistent - different behaviour between compiled and evaled code. This needs fixing irrespective of anything else.
    
    As for minimizing the risk of code incompats: the min is not to change behaviours at all, leave append doing one thing and lappend a different one as it was for 10 years. If the issue is instead one of reasonability, my sense tells me that read/modify ops should trigger read traces, that lappend did it right and append did it wrong.
    
    The best solution IMO is to extend the trace command so that traces can be defined to operate BEFORE or AFTER the requested operatio, maybe also INSTEAD. 
    
    The original issue with ::env should be fixed differently IMO
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"