STINNER Victor <victor.stin...@haypocalc.com> added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11361> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com