Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5f5b29b7aad16b05c1d237332fe84d0592760bfc
Ticket: 898094ffffffffffffffffffffffffffffffffff
lreplace doesn't behave properly
User & Date: dkf on 2004-02-18 04:13:50
Changes

  1. closedate changed to: "2004-02-17T21:13:50"
  2. closer changed to: "dkf"
  3. icomment:
    Logged In: YES 
    user_id=79902
    
    This isn't a bug.  The semantics of [lreplace] (and quite a
    few other list operations) were deliberately changed in Tcl
    8.0 (which is itself many years old now) to no longer
    guarantee that minimal alterations to the string were made,
    a sacrifice which allows much more aggressive and efficient
    list handling overall.  Note that element-wise comparison
    with what you would expect to get out of Tcl 7.3 should
    still yield equal lists; they are just not expressed using
    the same string.
    
    
  4. login: "dkf"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Closed"
  8. username: "dkf"