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 ezio.melotti
Recipients brian.curtin, catalin.iacob, ezio.melotti, loewis, sable, skrah, vstinner
Date 2013-03-04.22:34:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362436441.65.0.199084992809.issue11732@psf.upfronthosting.co.za>
In-reply-to
Content
Attached an updated patch:
- renamed the context manager from no_crash_popups to suppress_crash_popup, as suggested by Brian (I also made it singular, because there shouldn't be more than one crash/popup per call);
- used the context manager on all the crashing tests (test_capi and test_faulthandler);
- added documentation;

I tested it on Windows 7 and Linux (where it's a no-op), and according to MSDN it should work even on Windows XP.  If there aren't other comments I'll commit this soon.  If test_capi is also crashing on 2.7/3.2, I will probably backport it there too.
History
Date User Action Args
2013-03-04 22:34:01ezio.melottisetrecipients: + ezio.melotti, loewis, vstinner, sable, brian.curtin, skrah, catalin.iacob
2013-03-04 22:34:01ezio.melottisetmessageid: <1362436441.65.0.199084992809.issue11732@psf.upfronthosting.co.za>
2013-03-04 22:34:01ezio.melottilinkissue11732 messages
2013-03-04 22:34:01ezio.melotticreate