[issue36048] Deprecate implicit truncating when convert Python numbers to C integers: use __index__, not __int__
Oleg Iarygin
report at bugs.python.org
Wed Dec 8 18:21:54 EST 2021
Oleg Iarygin <oleg at arhadthedev.net> added the comment:
Here is a report that this change breaks PyQt5 on Fedora:
<https://github.com/python/cpython/pull/11952#issuecomment-989298404>
> [...]
>
> Why do I care? This breaks tons of existing PyQt5 code out there, for example. I wasn't aware of this change to the language until Fedora shipped Python 3.10 and everything broke. So much stuff that uses PyQt5 is broken now. Good job guys!!
>
> [...]
Even though the rest of comment is emotional, we need to check if the problem really has place and the PR needs to be retracted until PyQt5 is ported to newer Python C API.
----------
nosy: +arhadthedev
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36048>
_______________________________________
More information about the Python-bugs-list
mailing list