Skip to content
Tcl Source Code History Of Ticket 600812ffffffffff
Login

History Of Ticket 600812ffffffffff

Artifacts Associated With Ticket 600812ffffffffff

  1. Ticket change [0756c97dce] (rid 89380) by dgp on 2002-08-27 14:26:39:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      set scalar test
      array set array {foo bar}
      upvar 0 scalar array(grok)
      set array(grok)
      => can't read "array(grok)": no such element in array
      
      A scalar (link) variable named "array(grok)" has been
      created, but there is no mechanism at the script
      level for doing anything with it.
      
      Seems [upvar] should fail rather than give something
      that can't be used.
      
      
    4. foundin initialized to: "obsolete: 8.4b3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "07. Variables"
    10. title initialized to: "upvar can create unusable variable"
    11. type initialized to: "Support"
  2. Ticket change [70148292a9] (rid 100417) by msofer on 2003-10-21 05:09:18:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Duplicated as 826708 by rmax; initial comment there:
      
      " As discussed with dkf on the Tcl'ers chat...
      It works as documented, and treats b(c) as a literal
      variable name (not as an array). But because this
      variable can never be accessed with [set] or
      $-substitution, [upvar] should rather fail on such
      variable names, or (IMHO better) it should create an
      array element, if that's possible at all."
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Ticket change [846f2b478d] (rid 117555) by msofer on 2003-10-21 05:12:38:

    1. priority changed to: "8"
  4. Ticket change [0ee14eb2c6] (rid 94698) by msofer on 2003-10-21 05:12:39:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Failure it will be; creating the array is quite a
      modification ...
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Ticket change [f727b718ba] (rid 91327) by msofer on 2003-11-10 08:52:21:

    1. assignee changed to: "dgp"
    2. icomment:
      
      
      File Added - 66969: 600812.patch
      
      Logged In: YES 
      user_id=148712
      
      Attaching a patch for review - in particular, the doc
      changes. This does not require a TIP, does it?
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  6. Ticket change [a03d645742] (rid 96765) by dgp on 2003-11-10 22:33:38:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      It seems this misfeature is
      documented in upvar.n, and
      has been documented this
      way "forever" (since at least
      Tcl 7.4).  Makes me wonder
      whether this made sense at
      one pont, and variable parsing
      rules have changed over the
      years to more aggressively
      recognize arrays?
      
      Seems we ought to have a 
      brief TIP, if only to let the
      wise old men have a look and
      confirm we're not overlooking
      something.
      
      Otherwise, the patch looks fine.
      If it's not too much trouble, I'd
      update your new tests to use
      the -returnCodes option.  You
      might also want to note in your
      new code in ObjMakeUpvar
      that your detection of a bad name
      for a scalar is consistent (and must
      remain consistent) with the code
      in TclObjLookupVar (currently
      line 447).
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [31293561c7] (rid 93377) by dgp on 2003-11-10 22:36:07:

    1. assignee changed to: "msofer"
  8. Add attachment "600812.patch" [8ff87b720a] (rid 120364) by msofer on 2003-11-10 23:48:27.

  9. Ticket change [92a373f458] (rid 120798) by msofer on 2003-11-10 23:48:27:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Patch updated; mini TIP in prep
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  10. Ticket change [19e066f5a8] (rid 122872) by msofer on 2003-11-10 23:48:28:

    1. icomment:
      
      
      File Deleted - 66969: 
      
      
      
      File Added - 67035: 600812.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  11. Ticket change [844f6a9fe1] (rid 117534) by hobbs on 2003-11-11 04:11:17:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      There used to be slightly different behavior in nested array in 
      Tcl 7.x.  When the requests for proper first-class array 
      support came in, noting the then existent behavior, that was 
      actually removed by JO.  You can't do nested arrays now.
      This should be considered for 8.5, but really may be a 9.0 
      behavior for the change in error status.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. priority changed to: "7 High"
    5. username: "hobbs"
  12. Ticket change [ebf8a6f540] (rid 103630) by msofer on 2004-04-28 20:13:17:

    1. closedate changed to: "2004-04-28T13:13:17"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      Tip 184 accepted, patch committed.
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: ""
    7. status changed to: "Closed"
    8. username: "msofer"
  13. Ticket change [6d90247e90] (rid 128726) by dkf on 2008-11-02 18:27:22:

    1. foundin changed to: "None"
    2. icomment:
      
      
      data_type - 210894
      
      
      
    3. is_private changed to: "1"
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. subsystem changed to: "None"
    7. username: "dkf"
  14. Ticket change [7ae3cecdbf] (rid 90418) by dkf on 2009-07-29 19:41:45:

    1. icomment:
      
      
      IP - Comment Removed: 130.88.1.31
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"