[issue33039] int() and math.trunc don't accept objects that only define __index__

Serhiy Storchaka report at bugs.python.org
Thu Feb 21 05:45:51 EST 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Is not this a duplicate of issue20092?

----------

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


More information about the Python-bugs-list mailing list