|
2009-03-22
| ||
| 21:47 | • Ticket [2502037fff] NRE-enable namespace unknown dispatch status still Ope... artifact: 08972c95c3 user: msofer | |
|
2009-01-14
| ||
| 06:33 | • Ticket [2502037fff]: 4 changes artifact: 1ebe3f7e40 user: dkf | |
| 03:48 | • Ticket [2502037fff]: 4 changes artifact: 5ffde8ef93 user: dgp | |
|
2009-01-12
| ||
| 18:12 | • New ticket [2502037fff]. artifact: 696f1d1861 user: dgp | |
NRE-enable [namespace unknown] dispatch
Open2502037fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2009-01-12 18:12:11
Appears that when [namespace unknown] handler dispatch is called upon to deal with evaluation of a command that cannot be resolved, a recursive call to Tcl_EvalObjv() is the mechanism, which I believe interrupts the trampoline. Add this to the list of cases where NRE is not yet active.
dgpplain2009-01-14 03:48:13
In particular, I think this will need to be addressed before auto-loaded coroutines function properly.
dkfplain2009-01-14 06:33:33
Initial review indicates that it should be possible to fix; all the code that needs to change is in tclBasic.c, and is in TclNREvalObjv and TEOV_NotFound (which is only called from TclNREvalObjv) and the pattern of usage in the outer function is (effectively) to just return the result of the inner *and* the outer is already in an NRE context, (i.e. using TclNRAddCallback for its primary effect...)
msoferplain2009-03-22 21:47:27
This should be fixed in HEAD. Don: got a test for this?
Log in (anonymous is fine) to add a comment.