Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1d809d0dba20a89ab71177fbd5ddbda91647305d
Ticket: 1588842fffffffffffffffffffffffffffffffff
TclGetNamespaceFromObj returns TCL_OK when not found
User & Date: dgp on 2007-01-31 02:29:49
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    Originator: YES
    
    
    I think I see where this 
    design comes from.  Most callers
    of TclGetNamespaceFromObj() treat
    the non-existence of the namespace
    as an error.  However, [namespace eval]
    does not.  It creates the missing
    namespace.  The design appears to
    be in place so that when [namespace eval]
    runs, Tcl doesn't generate an error message
    just to throw it away.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"