Message71704
Ok, it was not enough: exc_{type,value,traceback} have to be
saved/restored. So here is a new patch. I doesn't change Python
behaviour for previous pitrou snippet (msg71658): it doesn't crash
here and display two errors.
I think that this issue mix differents bugs:
(1) lostcontext.py fixed by « if (why == WHY_EXCEPTION
&& !throwflag) »
(2) pitrou snippet
(3) PyErr_SetObject() is no re-entrant: not fixed yet (please review
my new patch attached to this comment ;-)) |
|
Date |
User |
Action |
Args |
2008-08-21 23:54:23 | vstinner | set | recipients:
+ vstinner, amaury.forgeotdarc, pitrou, benjamin.peterson |
2008-08-21 23:54:23 | vstinner | set | messageid: <1219362863.43.0.588033821395.issue3611@psf.upfronthosting.co.za> |
2008-08-21 23:54:22 | vstinner | link | issue3611 messages |
2008-08-21 23:54:22 | vstinner | create | |
|