Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 76ee7ae1c5822c4844eaa991198852d2d0db7d05
Ticket: 2868499fffffffffffffffffffffffffffffffff
TIP #348: Substituted errorStack
User & Date: dgp on 2010-04-01 00:48:08
Changes

  1. icomment:
    
    I scanned the Tcl sources for errorinfo/errorInfo
    and only found one thing to mention:
    
    dgpI think we can and should demand that any background error handler wishing to make use of [info errorstack]....
    dgp... must be one created using the [interp bgerror] interface.
    dgpso while we continue to offer legacy support by setting ::errorInfo and ::errorCode before invoking ::bgerror ....
    dgp... we do not go to the trouble of making [info errorstack] follow suit.
    
    Otherwise, most return options relevant code
    in Tcl itseld is using utility routines like
    Tcl_Get|SetReturnOptions() and
    Tcl_Save|RestoreInterpState() so they
    end up working with the new -errorstack
    automatically.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"