Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 40d02c1f9a93a245c7401b38a1a5530153163b32
Ticket: 489537ffffffffffffffffffffffffffffffffff
string rep of list: should quote '#'
User & Date: dgp on 2001-12-08 00:05:26
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    If the current patch is accepted, many tests in the
    Tk test suite will fail.  The first example
    is test button-7.2.  It expects the result to be:
    
    .b1 #543210 {} {}
    
    but after the patch the result will actually be:
    
    .b1 {#543210} {} {}
    
    Possible remedies:
    
      1) Just update all the relevant tests to expect the new
         string rep.  (Create expected value with [list])
      2) Make a more sohpisticated patch that will only
         quote leading '#' in the first element of a list.
      3) Make these tests compare their results as lists,
         rather than as strings, adding a new type of
         comparison to tcltest if necessary.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"