[interp create foo -safe] accepted
Open2544673fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2009-01-29 04:56:36
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.
Log in (anonymous is fine) to add a comment.