[Python-Dev] trunc() (original) (raw)

Raymond Hettinger python at rcn.com
Sat Jan 26 23:53:49 CET 2008


I've been advocating trunc() under the assumption that int(float) would be deprecated and eliminated as soon as practical

And how much code would break for basically zero benefit?

This position is totally nuts.

There is nothing wrong with int() as it stands now. Nobody has problems with it. The tools is ubiquitous in other languages, spreadsheets, and calculators.

Raymond



More information about the Python-Dev mailing list