[issue25412] __floordiv__ in module fraction fails with TypeError instead of returning NotImplemented

Oscar Benjamin report at bugs.python.org
Fri Oct 16 13:16:27 EDT 2015


Oscar Benjamin added the comment:

You should test the change with number types that don't use the number tower e.g. Decimal, sympy, gmpy2, mpf, numpy arrays etc. Few non stdlib types use the number ABCs so testing against numbers.Complex may cause a change in behaviour.

----------
nosy: +oscarbenjamin

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25412>
_______________________________________


More information about the Python-bugs-list mailing list