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

Terry Reedy tjreedy at udel.edu
Sat Jan 26 08:03:40 CET 2008


"Guido van Rossum" <guido at python.org> wrote in message news:ca471dc20801251132j7a758bc5uc076e859dd9f84b0 at mail.gmail.com... | Does no-one thinks it means round(f) either?

Not me. Int should truncate, so trunc() not needed unless is does something different.

And I would prefer the float-input-only converters be in math. There is nothing second-class, really, about functions in modules. Just more specific.

tjr



More information about the Python-Dev mailing list