|
2001-06-28
| ||
| 03:56 | • Closed ticket [218605ffff]: List of commands in safe interpreter is wrong pl... artifact: 8744250c94 user: hobbs | |
|
2001-04-28
| ||
| 02:33 | • Add attachment safe.patch to ticket [218605ffff] artifact: 5386c42967 user: dgp | |
| 02:33 | • Ticket [218605ffff] List of commands in safe interpreter is wrong status sti... artifact: 76a9effc75 user: dgp | |
|
2001-04-17
| ||
| 05:17 | • Open ticket [218605ffff]. artifact: 1c08227600 user: dgp | |
|
2000-10-26
| ||
| 08:25 | • Closed ticket [218605ffff]. artifact: 744c9a0150 user: welch | |
| 01:03 | • New ticket [218605ffff]. artifact: 12d8ca74dc user: nobody | |
List of commands in safe interpreter is wrong
Closed / Fixed218605ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 01:03:00
OriginalBugID: 1423 Bug
Version: 8.1b1
SubmitDate: '1999-03-03'
LastModified: '1999-09-13'
Severity: SER
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: Windows 98
Machine: X86
FixedDate: '1999-09-13'
FixedInVersion: 8.3b1
ClosedDate: '2000-10-25'
Name:
Christopher Nelson
ReproducibleScript:
interp create -safe
interp0 eval {info commands}
ObservedBehavior:
The on-line help is missing a bunch of newer commands like binary,
package, and namespace.
DesiredBehavior:
The correct list of commands available in a safe interpreter is:
after append array binary break case catch clock close concat continue
encoding
eof error eval expr fblocked fcopy fileevent flush for foreach format
gets global if incr info interp join lappend lindex linsert list llength
lrange lreplace lsearch lsort namespace package pid proc puts read
regexp regsub rename return scan seek set split string subst switch tell
time trace unset update uplevel upvar variable vwait while
Also, vwait is listed as hidden, it's not.
Evaluate if commands should be safe, make them safe if needed, then update docs. 03/23/1999 18:51 - surles -
welch Closed ticket [218605ffff].
[History diff]2000-10-26 08:25:10
dgpplain2001-04-17 05:17:43
Logged In: YES user_id=80530 Re-opened. The list of commands documented as present in a safe interp is wrong again. Claimed present, but not:history Claimed hidden, but not:vwait Present, but not listed:time Hidden, but not listed:encoding Not in safe interp at all (doc this?): auto_execok, auto_import, auto_load, auto_load_index, auto_qualify, tclLog, unknown
dgpplain2001-04-28 02:33:04
File Added - 5782: safe.patch Logged In: YES user_id=80530 Here's a patch bringing the docs up to date, and adding some discussion of autoloading and package loading in safe interps. Assigning to maintainer for review. BTW, Why is safe(n) referred to as both "Safe Tcl" and "Safe Base"? Can't we pick just one name for this mechanism?
hobbsplain2001-06-28 03:56:12
Logged In: YES user_id=72656 patched into 8.4a3cvs.
Log in (anonymous is fine) to add a comment.
Attachments:
- safe.patch [download] added by dgp on 2001-04-28 02:33:04. [details]