Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-09-18
09:11 • Ticket [1669392fff] TIP 280 difference status still Open with 4 other change... artifact: 84fe99cd11 user: jenglish
2007-02-26
19:35 • New ticket [1669392fff]. artifact: dac2bbfac0 user: dgp

TIP 280 difference

Open1669392fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 19 years ago
Descriptionplain2007-02-26 19:35:46
As discussed on TCLCORE, the
results of

  Tcl_Eval(Tcl_CreateInterp(), "info frame 0");

and

  Tcl_EvalObjv(Tcl_CreateInterp(), 3, objv 0);

where objv holds "info" "frame" "0" are not
in agreement.  This is at least surprising.
jenglishplain2007-09-18 09:11:38
Logged In: YES 
user_id=68433
Originator: NO

FWIW, that the two calls produce different results is not surprising to me at all; in fact I'd be surprised if they _did_ return the same thing.

Tcl_Eval() evaluates a script; Tcl_EvalObjv() does not.  Quoth TFM: "Tcl_EvalObjv executes a single pre-parsed command *instead of a script.*" (emphasis added).
Log in (anonymous is fine) to add a comment.