Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3449772d21760ecab4b9ebfd02f2c9a776201db60e14ca98f231fcfe19b60c57
Ticket: 580808121389182456a680e5323ea346ac30e567
"string length" converts bytearrays to strings when traced
User & Date: dgp on 2017-11-30 15:51:36
Changes

  1. icomment:
    
    You're seeing a difference between bytecompiled [string length] and direct eval [string length] because tracing prevents compiling of proc bodies.
    
    This is fixed in 8.7a where the multiple [string length] implementations have all been refactored into a single common routine.
    
    That refactoring could conceivably be backported to the 8.6 branch, with the usual risk/reward dilemma.  My gut says don't do it, since we don't make shimmering promises anyway, but my feelings aren't set in stone.
    
  2. login: "dgp"
  3. mimetype: "text/plain"