Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6966287c20cfb456a9a643a017b93a9d092c6076
Ticket: 721721ffffffffffffffffffffffffffffffffff
[uplevel cmd] has unnecesary string conversion
User & Date: nobody on 2003-04-15 10:24:14
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    NB. this is not a true bug report....
    
    The current implementation of [uplevel cmd]
    (Tcl_UplevelObjCmd in tclProc.c) checks
    "cmd" to see if it is a level number, even though
    the docs indicate uplevel's syntax to be:
     uplevel ?level? cmd ?arg ...?
    ie. if there is only one argument it has to be the cmd.
    ie. it doesn't/shouldn't be checked to see if it is
    a level number
    
    I believe that this causes unnecesary shimmering
    of 'cmd' as it is converted to a string to check to see
    if it is a number.
    
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "22. [proc] and [uplevel]"
  10. title changed to: "[uplevel cmd] has unnecesary string conversion"
  11. type changed to: "Bug"