Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 34356cb4f50e8b68a386c809b9984ffebf96a055
Ticket: 1017004fffffffffffffffffffffffffffffffff
[namespace import] / alias foil each others loop prevention
User & Date: dgp on 2004-08-27 07:33:33
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    BTW, I think it's fair to claim that
    neither of these issues is really a
    bug.  Tcl certainly allows other
    ways to set up infinite loops:
    
    proc foo {} foo; foo
    
    and the recursion limit is the
    only protection.
    
    I raise these points only because
    loops made purely of aliases, or
    purely of imports, are detected
    and prevented at creation time.
    
    The pure import loops must be
    prevented to avoid loss of the
    base Tcl_Command, but any
    loop that includes an alias
    could reasonably be allowed
    to be caught at runtime.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"