[Python-Dev] Rounding float to int directly ... (original) (raw)
Christian Tanzer tanzer at swing.co.at
Thu Aug 3 08:34:31 CEST 2006
- Previous message: [Python-Dev] Rounding float to int directly ...
- Next message: [Python-Dev] Rounding float to int directly ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- Previous message: [Python-Dev] Rounding float to int directly ...
- Next message: [Python-Dev] Rounding float to int directly ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]