Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d5eb788a9b64b0793c5ee0b026f036e0b7a8ac2a
Ticket: 2978770fffffffffffffffffffffffffffffffff
invokehidden -namespace|global: no [info level]
User & Date: dgp on 2010-03-29 19:20:08
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    proc stack {} {
        set l [info level]
        incr l -1
        set s $l:
        while {$l} {
            append s \n\t$l: [info level $l]
            incr l -1
        }
        return $s
    }
    proc hideme {} {
        puts [stack]
    }
    hideme
    interp hide {} hideme
    interp invokehidden {} hideme
    interp invokehidden {} -namespace {} hideme
    
    OUTPUT:
    1:
            1:hideme
    1:
            1:hideme
    2:
            2:hideme
            1:
    
    There's an extra CallFrame to provide the
    context switch forced by -namespace, which
    creates another [info level], but that frame
    holds an empty objv.
    
    Not sure what, if anything ought to be there.
    
    The same absence of data will show up in 
    the proposed -errorstack.
    
    
  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: "dgp"
  10. subsystem changed to: "20. [interp]"
  11. title changed to: "invokehidden -namespace|global: no [info level]"
  12. type changed to: "Bug"