[issue36048] Deprecate implicit truncating when convert Python numbers to C integers: use __index__, not __int__

Mark Dickinson report at bugs.python.org
Thu Dec 9 04:46:50 EST 2021


Mark Dickinson <dickinsm at gmail.com> added the comment:

For the record, #37999 is the issue that turned the deprecation warnings into errors for Python 3.10. (But as Serhiy says, please open a new issue, or start a discussion on one of the mailing lists.)

----------

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


More information about the Python-bugs-list mailing list