Skip to content
Tcl Source Code History Of Ticket 803968ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 803968ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 803968ffffffffffffffffffffffffffffffffff

  1. Ticket change [02ae11fd0f] (rid 119684) by revar on 2003-09-10 20:00:43:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In optparse.tcl, there was an optimization made between 
      CVS file version 1.8 and 1.9 that replaced the old regexp 
      number pattern check with a [string is integer] check.  
      Unfortunately, this will return true for null strings.  This 
      breaks all code that uses opt0.4 with null string default 
      values without specifying them as strings with -string.
      
      The fix for this is to add a short test at the beginning of proc 
      OptGuessType in optparse.tcl:
      
      if {$arg == "" } {
          return string
      }
      
      
      
    4. foundin initialized to: "obsolete: 8.4.4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "revar"
    9. subsystem initialized to: "31. opt Package"
    10. title initialized to: "Opt badly guesses type of null default values"
    11. type initialized to: "Bug"
  2. Ticket change [6a4e328376] (rid 128126) by andreas_kupries on 2003-09-11 03:13:38:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      A better fix is to use the -strict switch for string is integer.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  3. Ticket change [1eab0c5bfb] (rid 91013) by dgp on 2003-09-11 03:29:28:

    1. closedate changed to: "2003-09-10T20:29:28"
    2. closer changed to: "dgp"
    3. foundin changed to: "obsolete: 8.5a0"
    4. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Actually Revision 1.9 only
      appears in version 0.4.5 of
      the opt package, which is
      only part of the HEAD development,
      that is, Tcl 8.5a0.
      
      Commiting [string is ... -strict ...] fix.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dgp"