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 neologix, pitrou, r.david.murray, vstinner
Date 2013-08-28.19:46:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377719218.1.0.755359429815.issue18869@psf.upfronthosting.co.za>
In-reply-to
Content
"One way to fix this would be to add a WithSignalHandler(signal, handler) context manager to test.support that would replace the signal handler upon entry, and re-register faulthandler's handler upon exit."

faulthandler.dump_traceback_later() is registered before each test, in test.regrtest.runtest().

You may reinstall signal handlers before each test, or fix signal.getsignal() and signal.signal(). I don't have a preference.
History
Date User Action Args
2013-08-28 19:46:58vstinnersetrecipients: + vstinner, pitrou, r.david.murray, neologix
2013-08-28 19:46:58vstinnersetmessageid: <1377719218.1.0.755359429815.issue18869@psf.upfronthosting.co.za>
2013-08-28 19:46:58vstinnerlinkissue18869 messages
2013-08-28 19:46:58vstinnercreate