Skip to content
Tcl Source Code History Of Ticket 2502002
Login

History Of Ticket 2502002

Artifacts Associated With Ticket 2502002

  1. Ticket change [fc60492d24] (rid 108228) by dgp on 2009-01-12 18:01:17:

    1. assignee initialized to: "kennykb"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      When Tcl_NRCmdSwap() is called, there
      is no call to TEOV_PushExceptionHandlers(),
      so no handling of toplevel exception and
      no appending to -errorinfo when TCL_ERROR
      arises.
      
      This seems to be the right feature set
      for [namespace import]ed commands, which
      is the sole Tcl_NRCmdSwap() caller in
      our sources.
      
      It's less clear that other T_NRCS() callers
      want the same thing.  At least the docs
      need to be clearer about it.
      
      
      
    4. foundin initialized to: "obsolete: 8.6b1"
    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: "Tcl_NRCmdSwap prevents exception handling"
    12. type initialized to: "Bug"
  2. Ticket change [8c01f3a13a] (rid 127678) by msofer on 2009-01-13 02:50:48:

    1. icomment:
      I call a possible doc bug: T_NCRS is meant to do precisely what imports do, replace the original command with a new one. In particular, the swap should not add new exception handlers - exceptions are treated only by the original command, not by the replacement.
      
      If both the original and the replacement commands are meant to handle exceptions the proper approach is to mimic what aliases do: eval a new objc/objv.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Ticket change [a9a41751f6] (rid 99181) by dgp on 2009-01-13 04:41:08:

    1. icomment:
      
      Thanks for commenting miguel.
      
      The matter arises as I look into
      Tcl Bug 2486550.  TclObjInvoke()
      directly calls a cmdPtr->objProc
      just like the InvokeImportedCmd()
      used to do.  Since T_NCRS() solved
      one, it's a candidate to solve the
      other as well.  But TOI does include
      code to append to the -errorinfo .
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [70f62d3f16] (rid 100579) by dgp on 2009-01-13 04:53:39:

    1. icomment:
      
      If TclNREvalObjv() were revised
      so that a T_NCRS() call still
      tried a TEOV_PEH() call before
      skipping the command resolution
      stuff, then InvokeImportedCmd()
      could still run exactly as it
      does now by just passing the
      TCL_EVAL_NOERR flag, and TOI
      could use the same routine
      not passing it.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [f72e576d44] (rid 91336) by kennykb on 2009-01-13 08:19:33:

    1. assignee changed to: "msofer"
    2. icomment:
      Is there a reason this is assigned to me?
      I committed the NRE documentation while miguel
      was _hors de combat_, but I think he'd be a
      better choice to examine it first.
      
      
    3. login: "kennykb"
    4. mimetype: "text/plain"
    5. username: "kennykb"
  6. Ticket change [2023ebec7a] (rid 91266) by dgp on 2009-01-13 11:21:59:

    1. icomment:
      
      when I first filed, I assumed
      miguel was still incommunicado,
      and also assumed this was basically
      a docs bug.  Neither is turning
      out to be completely true.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [f544685a41] (rid 130079) by msofer on 2009-05-01 08:24:16:

    1. priority changed to: "6"
  8. Ticket change [c57fde0d48] (rid 112010) by msofer on 2009-05-01 08:26:40:

    1. priority changed to: "7 High"
  9. Ticket change [65f6a158d2] (rid 102634) by dgp on 2013-03-19 20:35:49:

    1. icomment:
      status?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [6c9ec71aa4] (rid 128544) by msofer on 2013-03-19 20:52:30:

    1. icomment:
      dgp's proposed solution sounds good. 
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  11. Ticket change [bbf52c8dbf] (rid 129575) by dgp on 2013-04-09 03:08:16:

    1. icomment:
      See branch bug-2502002 for work in progress.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  12. Ticket change [8aeb2fe0dd] (rid 133535) by dgp on 2013-08-29 19:20:37:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2456534.30599273"
    3. closer changed to: "dgp"
    4. comment changed to:
      When Tcl_NRCmdSwap() is called, there
      is no call to TEOV_PushExceptionHandlers(),
      so no handling of toplevel exception and
      no appending to -errorinfo when TCL_ERROR
      arises.
      
      This seems to be the right feature set
      for [namespace import]ed commands, which
      is the sole Tcl_NRCmdSwap() caller in
      our sources.
      
      It's less clear that other T_NRCS() callers
      want the same thing.  At least the docs
      need to be clearer about it.
      
    5. icomment: "merged to trunk."
    6. login: "dgp"
    7. mimetype: "text/plain"
    8. resolution changed to: "Accepted"
    9. severity changed to: "Minor"
    10. status changed to: "Closed"