A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-August/067915.html below:

[Python-Dev] Rounding float to int directly ...

[Python-Dev] Rounding float to int directly ... [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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4