Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 50ae5d3786036ce5202f5e541e1d1e57745ce3eb
Ticket: 1655294fffffffffffffffffffffffffffffffff
command found in deleted namespace
User & Date: dgp on 2007-02-08 15:17:51
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    I don't like the looks of this:
    
    % namespace eval x {
        proc die {} {namespace delete [namespace current]}
        proc test {} {
            set self [namespace which [lindex [info level 0] 0]]
            set ns [namespace qualifiers $self]
            puts "I am $self in namespace $ns which exists? [namespace exists $ns]"
        }
    }
    % namespace eval x {
        die
        test
    }
    I am ::x::test in namespace ::x which exists? 0
    
    Once a namespace is deleted, I'd expect us
    not to find the commands in it anymore.
    
  4. foundin changed to: "obsolete: 8.4.15"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "21. [namespace]"
  11. title changed to: "command found in deleted namespace"
  12. type changed to: "Bug"