[issue46465] Regression caused by CALL_FUNCTION specialization for C function calls

STINNER Victor report at bugs.python.org
Sun Jan 23 08:49:53 EST 2022


STINNER Victor <vstinner at python.org> added the comment:

It's also interesting to note that the implementation of os.kill() and signal.raise_signal() do *not* call PyErr_CheckSignal().

The following signal functions *do* call call PyErr_CheckSignal():

* signal.signal()
* signal.pause()
* signal.pthread_kill()
* signal.pthread_sigmask()

Some other signal functions call PyErr_CheckSignal() if a syscall fails with EINTR (PEP 475).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46465>
_______________________________________


More information about the Python-bugs-list mailing list