Message183504
| 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. |
|