Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 78cfc1754d33611d9cde3e44bce464cd9148852b
Ticket: 582506ffffffffffffffffffffffffffffffffff
imported cmds do not fire exec traces
User & Date: dgp on 2002-07-17 04:47:46
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    The inverse is also a problem:
    
    % namespace eval export {
    namespace export foo
    proc foo {} {}
    } 
    % namespace eval import namespace import ::export::foo
    % trace add execution import::foo enter {put FOO ;#}
    % import::foo
    FOO
    % export::foo
    % 
    
    
    As discussed on TCLCORE, execution traces should
    attach to the command procedure (or equivalently,
    the original name ([namespace origin]) of a command),
    while rename and delete traces attach to the name only.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"