Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2d2752a550a0a28d25eb21addaefe7098a6b9309
Ticket: 1017299fffffffffffffffffffffffffffffffff
[namespace import] loop not prevented
User & Date: dgp on 2004-08-27 00:42:36
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    % namespace eval one {
        namespace export foo
        proc foo {} {}
    }
    % namespace eval two {
        namespace export foo
        namespace import ::one::foo
    }
    % namespace eval three {
        namespace export foo
        namespace import ::two::foo
    }
    % namespace eval two namespace import -force ::three::foo
    % namespace origin two::foo     
    
    ...leaves Tcl hung in an internal
    infinite loop.
    
    The import loop prevention check
    inside Tcl_Import only prevents
    "end-to-end" loops, not lesser
    cycles of reference.
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "21. [namespace]"
  10. title changed to: "[namespace import] loop not prevented"
  11. type changed to: "Bug"