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

Paul Moore p.f.moore at gmail.com
Fri Jan 25 15:10:45 CET 2008


On 25/01/2008, Facundo Batista <facundobatista at gmail.com> wrote:

> - make int(float) an error

-0 (you should be able to convert between builtin datatypes without the use of a module).

Good point.

+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.

Sonds good. Paul



More information about the Python-Dev mailing list