[issue22444] Floor divide should return int
Antoine Pitrou
report at bugs.python.org
Sat Sep 20 19:49:47 CEST 2014
Antoine Pitrou added the comment:
> What are the use-cases for float // float where integer result is not acceptable?
I can't think of any. I was mostly making the case for conservatism here.
The indexing use case is interesting, although I suppose enumerate() should eliminate most instances of it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22444>
_______________________________________
More information about the Python-bugs-list
mailing list