[issue23325] Turn SIG_DFL and SIG_IGN into functions

Christian Heimes report at bugs.python.org
Tue Mar 8 05:39:45 EST 2022


Christian Heimes <lists at cheimes.de> added the comment:

My PR 31759 removes the assumption of small int singletons and replaces C comparison with PyObject_RichCompareBool() Py_EQ calls.

I still prefer Serhiy's solution, but it may cause backwards incompatible breakage. My fix can be backported to 3.9 and 3.10 without breakage. It resolves my failing tests on Emscripten, too.

----------

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


More information about the Python-bugs-list mailing list