[Stackless-checkins] CVS: slpdev/src/2.3/dev/Python ceval.c, 1.89, 1.90
Christian Tismer
tismer at centera.de
Sat Jul 10 03:07:14 CEST 2004
Update of /home/cvs/slpdev/src/2.3/dev/Python
In directory centera.de:/tmp/cvs-serv24408/Python
Modified Files:
ceval.c
Log Message:
some changes seem to have vanished from cvs...
Index: ceval.c
===================================================================
RCS file: /home/cvs/slpdev/src/2.3/dev/Python/ceval.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -C2 -d -r1.89 -r1.90
*** ceval.c 8 Jul 2004 18:30:28 -0000 1.89
--- ceval.c 10 Jul 2004 01:07:10 -0000 1.90
***************
*** 908,911 ****
--- 908,920 ----
JUMPBY(oparg);
}
+ else if (PyErr_ExceptionMatches(PyExc_StopIteration)) {
+ /* this can happen from external re-entry */
+ PyErr_Clear();
+ /* iterator ended normally */
+ retval = POP();
+ Py_DECREF(retval);
+ /* perform the delayed block jump */
+ JUMPBY(oparg);
+ }
}
else {
_______________________________________________
Stackless-checkins mailing list
Stackless-checkins at stackless.com
http://www.stackless.com/mailman/listinfo/stackless-checkins
More information about the Stackless-checkins
mailing list