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 brian.curtin, gregory.p.smith, iigor, vstinner
Date 2011-05-01.22:25:10
SpamBayes Score 0.00043437548
Marked as misclassified No
Message-id <1304288712.34.0.715231280759.issue11361@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, if the process is able to handle CTRL+c on Windows, it means that faulthandler.register() could be used on Windows. While developing the faulthandler module, I tried all signals but I was only able to handle SIGSEGV, SIGABRT, SIGBUS and SIGILL on Windows. And all of these signals are reserved to faulthandler.enable() function. So faulthandler.register() is just not compiled on Windows.

If SetConsoleCtrlHandler() is really useful, we should maybe add something to the signal module to give access to this function.
History
Date User Action Args
2011-05-01 22:25:12vstinnersetrecipients: + vstinner, gregory.p.smith, brian.curtin, iigor
2011-05-01 22:25:12vstinnersetmessageid: <1304288712.34.0.715231280759.issue11361@psf.upfronthosting.co.za>
2011-05-01 22:25:10vstinnerlinkissue11361 messages
2011-05-01 22:25:10vstinnercreate