Message134935
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. |
|
Date |
User |
Action |
Args |
2011-05-01 22:25:12 | vstinner | set | recipients:
+ vstinner, gregory.p.smith, brian.curtin, iigor |
2011-05-01 22:25:12 | vstinner | set | messageid: <1304288712.34.0.715231280759.issue11361@psf.upfronthosting.co.za> |
2011-05-01 22:25:10 | vstinner | link | issue11361 messages |
2011-05-01 22:25:10 | vstinner | create | |
|