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

Rémi Lapeyre report at bugs.python.org
Mon Dec 31 09:52:27 EST 2018


Rémi Lapeyre <remi.lapeyre at henki.fr> added the comment:

>I think we should also consider changing the type creation behaviour in 3.8

@ncoghlan is this what's being done in PyTypeReady?

----------
nosy: +remi.lapeyre

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


More information about the docs mailing list