proposed language change to int/int==float (was: PEP0238 lament)

Klaus-G. Meyer klaus-gerd.meyer at de.bosch.com
Tue Jul 24 10:20:44 EDT 2001


> those guys.  It *is* odd to have to do something like:
>   x = float(y)/z
> to get best-possible division in Python.

But what is with the "best possible" multiplication?

99999*99999 -> integer overflow

Why not an long integer result? (or maybe float)

You must explicit type:
99999*99999L  or  99999*99999.

Is that not the same thing as type 1./3  ???

Klaus







More information about the Python-list mailing list