Message253081
OK,
then we should not change numbers.py.
And in fractions.py:
def __floordiv__(a, b):
"""a // b"""
if isinstance(b, numbers.Complex) or hasattr(b, '__rtruediv__'):
fr = a / b
if fr != NotImplemented:
return math.floor(a / b)
else:
return NotImplemented
else:
return NotImplemented |
|
Date |
User |
Action |
Args |
2015-10-16 18:14:07 | ShashkovS | set | recipients:
+ ShashkovS, mark.dickinson, vstinner, oscarbenjamin |
2015-10-16 18:14:07 | ShashkovS | set | messageid: <1445019247.72.0.114955348979.issue25412@psf.upfronthosting.co.za> |
2015-10-16 18:14:07 | ShashkovS | link | issue25412 messages |
2015-10-16 18:14:07 | ShashkovS | create | |
|