Raymond Hettinger added the comment:

I think you're misreading the PEP.   Floor division is defined to return a 
value *equal* to floor(x/y) but the type is unrestricted.  That let's us 
correctly implement floor division for a variety of types including ints, 
floats, decimals, and fractions.

----------
nosy: +rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22444>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to