Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a97e892046ae62f109805f8ad3a0747676e964b4
Ticket: 495830ffffffffffffffffffffffffffffffffff
execution in deleted interpreter
User & Date: msofer on 2003-11-16 19:21:23
Changes

  1. assignee changed to: "dgp"
  2. icomment:
    
    
    File Added - 67667: interpDeleted.patch
    
    Logged In: YES 
    user_id=148712
    
    The attached patch solves this particular issue and passes
    the complete testsuite. I am however worried about it being
    too strict: is it true that the only bc instruction to be
    allowed in a deleted interpreter is INST_DONE? In principle,
    invoking new commands is what should be forbidden.
    
    Ie, what should happen with
      tst eval {proc bug {} {catch {suicide} m}
      tst eval bug
    This patch returns an error, which may be right or not ...
    in principle, 'catch' was called before the interp deletion,
    and it is not clear tome if it should run to the end or not.
    Requesting comments.
    
    
  3. login: "msofer"
  4. mimetype: "text/plain"
  5. username: "msofer"