Overview
| Artifact ID: | c265562be4429b1564156683e3ca75370ed55539 |
|---|---|
| Ticket: | 981735ffffffffffffffffffffffffffffffffff
::safe::interpCreate confused by global vars... |
| User & Date: | mistachkin on 2004-06-29 03:51:37 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
The following script does NOT work in both the Tcl 8.4.x branch and HEAD release: set temp(0) "testing" ::safe::interpCreate "myNewInt" The safe base appears to be using global variables in the master interpreter. This behavior does not appear to be documented anywhere. ------------------------- The error is: can't set "temp": variable is array while executing "set temp [::tcl::OptKeyRegister { {-accessPath -list {} "access path for the slave"} {-noStatics "prevent loading of statically linked pkgs"} {-sta..." (in namespace eval "::safe" script line 13) invoked from within "namespace eval ::safe { # Exported API: namespace export interpCreate interpInit interpConfigure interpDelete \ interpAddToAccessPath in..." (file "tcl/library/safe.tcl" line 28) invoked from within "source tcl/library/safe.tcl" (in namespace eval "::" script line 1) invoked from within "namespace eval :: $auto_index($name)" (procedure "auto_load" line 13) invoked from within "auto_load $name [uplevel 1 {::namespace current}]" (autoloading "::safe::interpCreate") invoked from within "::safe::interpCreate "myNewInt"" - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mistachkin"
- subsystem changed to: "33. Safe Base"
- title changed to: "::safe::interpCreate confused by global vars..."
- type changed to: "Bug"