Christian Heimes <li...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue23325>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to