Overview
| Artifact ID: | 7d1e300ddeebe282b4f119a8aca212dee597ca5f |
|---|---|
| Ticket: | 1578235fffffffffffffffffffffffffffffffff
kill [namespace inscope] |
| User & Date: | msofer on 2006-10-16 14:45:38 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
According to the docs "This command 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 ..." With 8.5 features it is possible to implement [namespace code] directly (up-to inclusion in the namespace ensemble) as proc nscode script { set ns [uplevel 1 [list namespace current]] set body "$script \{expand\}\$args" return [list ::apply [list args $body $ns]] } so that namespace code ns script ?arg ...? becomes ::apply [list args "$script \{expand\}\$args" ns] ?arg ...? Note that it is trivial to implement this in C and include it in the ensemble: the proc above is an illustration, not an actual implementation suggestion. This would also allow us to retire crazy aunt Tillie from her duties in ::unknown :) - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "msofer"
- subsystem changed to: "21. [namespace]"
- title changed to: "kill [namespace inscope]"
- type changed to: "RFE"