Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8af97a63f9754841608b5c0f85a783c787db315f
Ticket: 1577278fffffffffffffffffffffffffffffffff
always have a valid frame
User & Date: msofer on 2006-10-15 20:37:45
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    The tying-in to TCL_EVAL_INVOKE is just an attempt to
    minimize the scope of the patch to where it is needed for
    enabling 1577492, 1577324 and 1577282. It is trivial to
    avoid tying it in by just using iPtr->lookupNsPtr!=NULL as
    the signal to use this, as long as TCL_EVAL_GLOBAL is not
    passed.
    
    I do not remember what the problem is with the TEI flag. If
    it is just the fact that it is a flag that is publicly
    exposed but not meant to be used outside the core, this also
    would enable its complete removal: again, let
    iPtr->lookupNsPtr!=NULL be the way to signal that the TEI
    behaviour is wanted, with the current behaviour triggered by
    iPtr->lookupNsPtr==iPtr->globalNsPtr
    
    I am somewhat confident that this does not stand in the way
    of a fix of the TEI issue, even without knowing what the
    issue actually is. 
    
    One possible way to explode it: let the current behavior of
    TEI be separated in:
    
    * run in global: set iPtr->lookupNsPtr=iPtr->globalNsPtr
    * do not trace errors: rename TEI to TCL_EVAL_NO_ERROR, and
    let it mean just that
    * do not reset ensemble flags: a new flag value? Or keep it
    tied to the "run in global" behaviour?
    
    Note that TEI is currently exposed in tcl.h but not
    documented in the man pages, so it is a valid question if
    any extension is actually using it.
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"