Ticket UUID: | 218605 | |||
Title: | List of commands in safe interpreter is wrong | |||
Type: | Bug | Version: | obsolete: 8.3.3 | |
Submitter: | nobody | Created on: | 2000-10-26 01:03:00 | |
Subsystem: | 20. [interp] | Assigned To: | hobbs | |
Priority: | 2 | Severity: | ||
Status: | Closed | Last Modified: | 2001-06-28 03:56:12 | |
Resolution: | Fixed | Closed By: | hobbs | |
Closed on: | 2001-06-27 20:56:12 | |||
Description: |
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 - | |||
User Comments: |
hobbs added on 2001-06-28 03:56:12:
Logged In: YES user_id=72656 patched into 8.4a3cvs. dgp added on 2001-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? dgp added on 2001-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 |
Attachments:
- safe.patch [download] added by dgp on 2001-04-28 02:33:04. [details]