[Python-Dev] trunc()

Christian Heimes lists at cheimes.de
Sun Jan 27 14:51:55 CET 2008


Raymond Hettinger wrote:
> The idea that programmers are confused by int(3.7)-->3 may not be nuts, but it doesn't match any experience I've had with any 
> programmer, ever.

You haven't been doing newbie support in #python lately. Statements like
Python is rounding wrong are common. ;) It's astonishing how many major
 rounding and division bugs are found by newbies.

Christian



More information about the Python-Dev mailing list