[Python-Dev] Rounding float to int directly ...
Christian Tanzer
tanzer at swing.co.at
Thu Aug 3 08:34:31 CEST 2006
Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> What's the feeling about this? If, e.g. int()
> were changed in Py3k to round instead of truncate,
> would it cause anyone substantial pain?
Gratuitous breakage!
I shudder at the thought of checking hundreds of int-calls to see if
they'd still be correct under such a change.
--
Christian Tanzer http://www.c-tanzer.at/
More information about the Python-Dev
mailing list