Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b8aa6166e3fb4d2a89605fd2fea78914dd160c50
Ticket: 1665628fffffffffffffffffffffffffffffffff
destructive scan of a ByteArray
User & Date: ferrieux on 2009-02-05 21:04:23
Changes

  1. icomment:
    Why don't we raise an error in the conversion to byte array in that case ? After all, conversions *to* internal reps are allowed to fail (eg ill-formed lists).
    These situations occur when the system encoding doesn't allow proper mapping of some of the input. Why hide that data loss ?
    
    Regarding the isCanonical (here isLossless) flag: that was my suggestion for all similar situations in 2564363...
    But I admit I'd rather avoid it by simply forbidding loss of sync.
    
    In the meantime, it seems I need to add the constraint to the CONCAT1 code, right ?
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"