[Python-Dev] [python] trunc()
Terry Reedy
tjreedy at udel.edu
Sat Jan 26 08:10:47 CET 2008
""Martin v. Löwis"" <martin at v.loewis.de> wrote in message
news:47992363.3010402 at v.loewis.de...
|> If the ambiguity is that 'int' behaviour is unspecified for floats - is
| > it naive to suggest we specify the behaviour?
|
| The concern is that whatever gets specified is arbitrary. There are many
| ways how an int can be constructed from a float, so why is any such way
| better than the others, and deserves to be the meaning of int()?
Decades of usage, in English, with the meaning it already has in Python.
More information about the Python-Dev
mailing list