Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6835d34647cf3f63dcbb1f3019e4760c3a9708d5
Ticket: 1017299fffffffffffffffffffffffffffffffff
[namespace import] loop not prevented
User & Date: dgp on 2004-09-10 00:02:33
Changes

  1. icomment:
    
    
    File Added - 100907: 1017299.patch
    
    Logged In: YES 
    user_id=80530
    
    having looked into the internals
    quite a bit now, I think I had the
    wrong idea about "snapshot
    semantics".  Appears that phrase
    is only intended to refer to 
    export sets, not to the very definition
    of commands.
    
    Note another bug.  Tcl_Import
    accepts as an argument the
    namespace to import into, and
    if that argument is NULL, uses
    the current namespace of the interp.
    When checking for import loops,
    the current namespace of the interp
    is checked, rather than the namespace
    to import into.
    
    Here's a patch for the bugs.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"