[issue10311] Signal handlers must preserve errno

Antoine Pitrou report at bugs.python.org
Thu Nov 4 15:55:37 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

By the way, I'd like to clear out a potential misunderstanding: the function you are patching doesn't call Python signal handlers in itself (those registered using signal.signal()). It only schedules them for later execution. If you want to save errno around Python signal handlers themselves, PyErr_CheckSignals must be patched as well.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10311>
_______________________________________


More information about the Python-bugs-list mailing list