Skip to content
Tcl Source Code History Of Ticket 1553630fffffffff
Login

History Of Ticket 1553630fffffffff

Artifacts Associated With Ticket 1553630fffffffff

  1. Ticket change [c98935a978] (rid 122299) by dgp on 2006-09-06 19:44:46:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      Question arose on the chat:
      
      % catch {subst {0[return -level 0 -code 6 foo]1}} m o  
      0
      % set m
      0foo1
      % set o
      -code 0 -level 0
      
      Should [subst] really be swallowing
      up extension exception codes like that?
      
      
      
    4. foundin initialized to: "obsolete: 8.5a5"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "45. Parsing and Eval"
    11. title initialized to: "[subst] exception treatment"
    12. type initialized to: "RFE"
  2. Ticket change [50db6e3157] (rid 126047) by dgp on 2006-09-07 03:00:22:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      It appears that the interface
      for Tcl_SubstObj() is a contributor
      to this "design".
      
      Since it returns either NULL, or
      the substituted result, it has no
      way to indicate other types of
      exception conditions.  Thus, as
      implemented, [subst] is similarly
      constrained.
      
      Seems similar in spirit to the
      problem that Tcl_EvalTokens()
      had.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [bf002da200] (rid 102183) by msofer on 2006-09-30 08:21:35:

    1. priority changed to: "8"
  4. Ticket change [2a1ec6e518] (rid 118496) by dgp on 2006-11-23 03:21:09:

    1. assignee changed to: "dgp"
  5. Ticket change [529e1b0d6c] (rid 126342) by dgp on 2006-11-29 20:34:00:

    1. priority changed to: "5 Medium"
  6. Ticket change [f7f4c437ec] (rid 91456) by dgp on 2007-02-22 02:20:36:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      Note that this (mis-)behavior
      appears to be an obstacle to
      bytecompiling [subst], since
      any compiled version would have
      to match these non-standard
      treatments of exception codes.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [396ba63059] (rid 112388) by dkf on 2007-02-22 05:42:11:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      The current non-standard exception code handling in [subst] is probably "because it happened to be convenient to implement that way". I'd not stand in the way of any represenation that it is a bug that needs fixing...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  8. Ticket change [4c8e322a2b] (rid 126911) by dgp on 2007-02-23 00:45:25:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      upon further review, the feasibility/ease
      of bytecompiling [subst] is mostly
      independent of this issue.  Even if
      [subst] had always handled extension
      exception codes in a standard way, a
      byte compiled version of [subst] would
      still need special crafting to duplicate
      [subst]'s handling of the break, continue,
      and return codes from Tcl's built-in set.
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [2d6c3c908a] (rid 119066) by dgp on 2007-02-23 00:48:38:

    1. foundin changed to: "None"
    2. icomment:
      
      
      data_type - 360894
      
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      Doc review also reveals that
      the behavior noted in the
      original report here did get
      documented in Tcl 8.4, so 
      making changes is a matter of
      a (mildly incompat) Feature
      Request, not a bug report.
      Shifting report to the RFE Tracker...
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. subsystem changed to: "45. Parsing and Eval"
    6. title changed to: "standardize [subst] exception treatment"
    7. username: "dgp"
  10. Ticket change [fb50df39f3] (rid 92040) by dgp on 2009-10-02 02:16:58:

    1. closedate changed to: "2009-10-01T19:16:58"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Rejected"
    7. status changed to: "Closed"
    8. username: "dgp"