Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5b8e129bb1b2f853fb6dc9e551883f05e5053ab2
Ticket: 2945212fffffffffffffffffffffffffffffffff
namespace inscope magic behaviour missing
User & Date: msofer on 2010-02-03 20:47:13
Changes

  1. icomment:
    Note that [namespace inscope] "... is not expected to be used directly by programmers; calls to it are generated implicitly when applications use namespace code commands to create callback scripts that the applications then register with, e.g., Tk widgets". The manpage only states that
        namespace inscope ::foo $script $x $y $z
    is equivalent to
        namespace eval ::foo [concat $script [list $x $y $z]]
    
    The documented functionality is still present in 8.6, the pair [ns code]/[ns inscope] and the documented equivalence work properly. Or else there really is a bug somewhere: if you have a script where that malfunctions, please attach it here.
    
    The previous (undocumented) magic is gone as of 2008-08-06. If you still need it, see itcl's ticket http://sourceforge.net/tracker/index.php?func=detail&aid=2040295&group_id=13244&atid=313244 for a small script that restores it in your interp.
    
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"