[issue9324] signal.signal(bogus_signal, handler) segfaults on Windows
report at bugs.python.org
Wed Jul 21 21:39:25 CEST 2010
Tim Lesher <tlesher at gmail.com> added the comment:
This appears to run afoul of Microsoft's "security-enhanced CRT", which aborts a program that calls certain API functions (including signal) with invalid parameters.
PyOS_getsig() has conditionally-compiled code added to deal with this (and handle invalid signal values before passing them to the CRT); PyOS_setsig() should get the same treatment.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list