|
2001-09-13
| ||
| 18:59 | • Closed ticket [455151ffff]: eval returns wrong exception code plus 7 other... artifact: 4775e7c8c2 user: msofer | |
| 15:43 | • Ticket [455151ffff]: 5 changes artifact: e14e14ceba user: dkf | |
| 01:21 | • Ticket [455151ffff]: 5 changes artifact: 05fc62b52e user: msofer | |
| 01:21 | • Add attachment patch455151.txt to ticket [455151ffff] artifact: da6813daeb user: msofer | |
|
2001-08-28
| ||
| 18:42 | • Add attachment parse.bench to ticket [455151ffff] artifact: 823d99c2b5 user: msofer | |
| 18:42 | • Ticket [455151ffff] eval returns wrong exception code status still Open wi... artifact: baa4b9a372 user: msofer | |
| 18:39 | • Ticket [455151ffff]: 4 changes artifact: fb2a1dc051 user: msofer | |
| 18:39 | • Add attachment patch455151.txt to ticket [455151ffff] artifact: f6c9c21f6c user: msofer | |
|
2001-08-25
| ||
| 07:06 | • Ticket [455151ffff] eval returns wrong exception code status still Open wi... artifact: 3c6203e0f3 user: msofer | |
| 06:54 | • Ticket [455151ffff]: 4 changes artifact: 3d9c7eb432 user: msofer | |
|
2001-08-24
| ||
| 23:54 | • New ticket [455151ffff]. artifact: 64eb749ff3 user: msofer | |
[eval] returns wrong exception code
Closed / Fixed455151ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-08-24 23:54:19
Exceptions encountered during substitutions during
direct evaluation (as done by [eval]) are always
converted to errors:
[mig@mini generic]$ tclsh8.0
% info patch
8.0.5
% catch {w[continue]}
4
% catch {eval {w[continue]}}
4
[mig@mini generic]$ ../unix/tclsh
% info patch
8.4a4
% catch {w[continue]}
4
% catch {eval {w[continue]}}
1
This is probably the cause of bugs #219181 and #219384.
The enclosed patch is *incomplete* - missing function
declarations in the stub tables. It does fix this bug.
msoferplain2001-08-25 06:54:19
File Added - 9961: parse.patch
msoferplain2001-08-25 07:06:59
Logged In: YES user_id=148712 The patch fixes bug #219384, but not #219181.
msoferplain2001-08-28 18:39:27
File Deleted - 9961: File Added - 10087: patch455151.txt Logged In: YES user_id=148712 Enclosed is a complete patch. A TIP will be submitted, as the patch involves the definition of a new public function.
msoferplain2001-08-28 18:42:27
File Added - 10088: parse.bench Logged In: YES user_id=148712 The patch has just about no effect on execution speed - a difference is only seen when [eval]ing mixed lists.
msoferplain2001-09-13 01:21:47
File Added - 10708: patch455151.txt Logged In: YES user_id=148712 Patch is updated - the previous slot in the stubs table was used in the meantime. Donal: could you please review the modification to tclCmdMZ (Tcl_SubstObjCmd)?
dkfplain2001-09-13 15:43:38
Logged In: YES user_id=79902 If evaluating the tokens resulting from a variable substitution can never produce an error code other than TCL_OK or TCL_ERROR (and you get clean compilation and the test suite works, of course, but those are aspects you don't need me to check for you) then it looks OK to me. The basic principle of the changes in my area is certainly a good'un. (Noting that TIP#56 http://purl.org/tcl/tip/56 has been accepted.)
msoferplain2001-09-13 18:59:28
Logged In: YES user_id=148712 TIP 56 is approved; patch is committed.
Log in (anonymous is fine) to add a comment.
Attachments:
- patch455151.txt [download] added by msofer on 2001-09-13 01:21:47. [details]
- parse.bench [download] added by msofer on 2001-08-28 18:42:27. [details]