errorInfo no longer exists in 8.5 interp init
Closed / Fixed1693252fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-04-02 21:53:49
Create a slave interp and you find that 'errorInfo' is no longer there by default: interp create a a eval info exists errorInfo This is a regression from previous versions of Tcl. The docs don't stipulate that it will exist, but it always has before. I think defaulting it to "" may be worthwhile.
dgpplain2007-04-03 20:10:31
Logged In: YES user_id=80530 Originator: NO In 8.5, the typical case is for a value of ::errorInfo to get set via a read trace -- an "on demand" availability of the value. However... % [interp create] eval set errorInfo can't read "errorInfo": no such variable So clearly something's not right in the current HEAD. Thanks for the report; will check into it.
dgpplain2007-04-03 20:13:21
Logged In: YES user_id=80530 Originator: NO While folks are thinking about ::errorInfo legacy compat matters, have look at 1649062 and comment on the importance of that compat issue as well. Thanks.
dgpplain2007-04-03 22:04:04
Logged In: YES user_id=80530 Originator: NO Fix committed.
Log in (anonymous is fine) to add a comment.