[issue18869] test suite: faulthandler signal handler is lost

Charles-François Natali report at bugs.python.org
Wed Aug 28 20:24:40 CEST 2013


Charles-François Natali added the comment:

> Or perhaps we could enhance the signal module so that getsignal() return something (i.e. a specific object) which can restore the C signal handler. That would be better than special-casing faulthandler, IMHO.

Yes, I thought about that, see http://bugs.python.org/msg146560
The only problem I saw at that time is that we must make sure that the
object is indeed valid, otherwise the signal handler can jump to an
invalid address, and boom.

----------

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


More information about the Python-bugs-list mailing list