Message71589
Can you try with the following patch,
"throwflag" is specific to a generator being deleted.
Index: Python/ceval.c
===================================================================
--- Python/ceval.c (revision 65919)
+++ Python/ceval.c (working copy)
@@ -2453,7 +2453,7 @@
if (b->b_type == EXCEPT_HANDLER) {
UNWIND_EXCEPT_HANDLER(b);
- if (why == WHY_EXCEPTION) {
+ if (why == WHY_EXCEPTION && !throwflag) {
Py_CLEAR(tstate->exc_type);
Py_CLEAR(tstate->exc_value);
Py_CLEAR(tstate->exc_traceback); |
|
Date |
User |
Action |
Args |
2008-08-20 22:59:49 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, pitrou, vstinner, benjamin.peterson |
2008-08-20 22:59:49 | amaury.forgeotdarc | set | messageid: <1219273189.92.0.828938557533.issue3611@psf.upfronthosting.co.za> |
2008-08-20 22:59:49 | amaury.forgeotdarc | link | issue3611 messages |
2008-08-20 22:59:49 | amaury.forgeotdarc | create | |
|