Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6d01cb3014a850ff4652c127fbd4b07dc6843b58
Ticket: 1354540fffffffffffffffffffffffffffffffff
visibility of dying NS in path
User & Date: msofer on 2005-11-12 19:40:26
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    Donal explains in the chat:
    - I don't know the exact point at which delete traces are called
    - If they are called when the command is still resolvable,
    the result should be 2 {} {2 3 2 1}
    - If they are called when the command is NOT resolvable, the
    result should be 2 {} {2 3 1 1}
    - Want an explanation?
    - First 2 coes from the leading [foo] call
    - Then we go into the complicated bit 
    - We start deleting the namespace which means deleting the
    command which triggers the call of ::test_ns_3::foo
    - that appends the 3, nukes itself (no traces) and calls bar
    - bar *should* now be in a namespace where the path is
    effectively {::test_ns_2 ::test_ns_1}
    - (I think, depending on when path invalidation happends
    w.r.t. namespace becoming unresolvable)
    - the first foo in bar should then be resolved to 2::foo or
    1::foo (this is the bit I'm not sure about; it's a timing issue)
    - then the [namespace delete] should *fail* with an error
    - after all, that namespace has already been deleted
    - and that should bounce us back out to the trace which
    throws away the error
    - finally, the last foo in bar gets run, and that should
    resolve to 1::foo
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"