"clock format" doesn't work after Tcl_MakeSafe in 8.5
Closed / Wont Fix1846968fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-12-08 18:55:37
See the attached test case for details. Expected result (linked against Tcl 8.4.7): (0) Sat Dec 08 12:41:47 CST 2007 Actual result (linked against Tcl 8.5b3): (1) invalid command name "file"
conioplain2007-12-09 01:55:37
File Added - 257788: clock.c
dkf Ticket [1846968fff]: 1 change
[History diff]2007-12-09 03:29:16
dgpplain2007-12-19 22:30:42
Logged In: YES user_id=80530 Originator: NO Note the comments in the 2004-08-18 ChangeLog entry: "In addition to the functionality changes called out in the two TIPs, it is worth noting that the [clock] command in a safe slave interpreter is now an alias to the [clock] command in the master, and that [clock] is otherwise not expected to function entirely correctly in safe interps. C code that simply does Tcl_MakeSafe needs to be aware that [clock] may need special handling. (It appears unlikely that such code actually exists.)"
kennykbplain2008-02-06 09:44:17
Logged In: YES user_id=99768 Originator: NO Can you describe your use case for Tcl_MakeSafe (as opposed to Tcl_CreateSlaveInterp)? At the time that the 8.5 [clock] command was first proposed, there were no known extensions that used Tcl_MakeSafe, and in fact, safe interpreters are rather dodgy in other respects unless they have unsafe masters. Consensus seems to be that Tcl_MakeSafe will at some point be deprecated, unless we hear a strong case in its favor. If you do have a strong use case, please change the status of this bug back to "Open" and post a comment indicating what it is you're trying to accomplish.
kennykb Pending ticket [1846968fff].
[History diff]2008-02-06 09:44:18
sf-robotplain2008-02-20 10:20:14
Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.
Attachments:
- clock.c [download] added by conio on 2007-12-09 01:55:37. [details]