[Python-Dev] trunc()

Facundo Batista facundobatista at gmail.com
Fri Jan 25 15:09:13 CET 2008


2008/1/25, Paul Moore <p.f.moore at gmail.com>:

> - int() has to stay in builtins for obvious reasons.

+1


> - put *all* of trunc, ceil, floor, round into math.

+1


> - make int(float) an error

-0 (you should be able to convert between builtin datatypes without
the use of a module). +1 to keep it and define exactly the behaviour,
and point to math module in the documentation if you want better
control over the conversion.

Regards,

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/


More information about the Python-Dev mailing list