Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8c01f3a13acb9fce3c138c1d331958e9efe4eb14
Ticket: 2502002fffffffffffffffffffffffffffffffff
Tcl_NRCmdSwap prevents exception handling
User & Date: msofer on 2009-01-13 02:50:48
Changes

  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"