Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aca3b4b8f1fc1b2d21a436e4bfe8dd4a4271e832
Ticket: 71c0878b712d056d9c69dba6f72e0efce751e290
Strange results when second argument to [incr] is a list
User & Date: avl42 on 2017-03-05 15:47:06
Changes

  1. closedate changed to: "2457818.15771227"
  2. icomment:
    Afternote: the fix preserves the optimisations for tryCvtToNumeric:
    
       % set x [lrepeat 1000000 "*"]; set y [lrepeat 1000000 $x]; llength $y
       1000000
       % llength [expr {$y}]
       1000000
    
    Without the optimisation this crashes with "max size for a Tcl value (2147483647 bytes) exceeded".
    
  3. login: "avl42"
  4. mimetype: "text/plain"