| Ticket UUID: | 2544673 | ||
| Title: | [interp create foo -safe] accepted | ||
| Type: | Bug | Created on: | 2009-01-29 04:56:36 |
| Submitter: | dgp | Assigned to: | dgp |
| Subsystem: | 20. [interp] | Severity: | |
| Priority: | 5 Medium | Last modified: | 2009-01-29 04:56:36 |
| Status: | Open | Closed by: | |
| Resolution: | None | Closed on: | |
| Version: | obsolete: 8.6b1.1 | ||
| Description: | ||||
A bug in the parsing of arguments to
[interp create] in Tcl 7 was preserved
instead of fixed, along with the comment:
/*
* Weird historical rules: "-safe" is accepted at the end, too.
*/
This is stupid.
Tcl 7 also botched parsing by accepting
[interp create foo bar baz]
and creating only the "baz" slave interp,
with no syntax error thrown,
and the Tcl 8.* developers had enough sense
to fix that.
Can't wait to find the test that fails
when I remove this nonsense.
| ||||
