This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients amaury.forgeotdarc, benjamin.peterson, pitrou, vstinner
Date 2008-08-21.23:54:22
SpamBayes Score 0.00025906897
Marked as misclassified No
Message-id <1219362863.43.0.588033821395.issue3611@psf.upfronthosting.co.za>
In-reply-to
Content
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 ;-))
History
Date User Action Args
2008-08-21 23:54:23vstinnersetrecipients: + vstinner, amaury.forgeotdarc, pitrou, benjamin.peterson
2008-08-21 23:54:23vstinnersetmessageid: <1219362863.43.0.588033821395.issue3611@psf.upfronthosting.co.za>
2008-08-21 23:54:22vstinnerlinkissue3611 messages
2008-08-21 23:54:22vstinnercreate