Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1650d9935914b4797b3ddb229c0ced71e81bb749
Ticket: 3185407fffffffffffffffffffffffffffffffff
something in cmd name caching is very wrong
User & Date: apnadkarni on 2011-02-18 02:34:01
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    In tclsh 8.6 (close to CVS HEAD)
                   % namespace eval ns {proc foo {} {}}
    % namespace eval ns2 {proc foo {} {}}
    % namespace path {ns ns2}
    % namespace which foo
    ::ns::foo
    % proc foo {} {}
    % namespace which foo
    ::ns::foo
    invoking [foo] does in fact invoke ::foo, not ::ns::foo
    And retrying from scratch, without the first [namespace which foo] returns ::foo
    
                   % namespace eval ns {proc foo {} {}}
    % namespace eval ns2 {proc foo {} {}}
    % namespace path {ns ns2}
    % proc foo {} {}
    % namespace which foo
    ::foo
    
    Sounds like some cache not being invalidated ?
    
    /Ashok
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  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: "apnadkarni"
  10. subsystem changed to: "21. [namespace]"
  11. title changed to: "namespace which command returns wrong result"
  12. type changed to: "Bug"