proposed language change to int/int==float (was: PEP0238 lament)
Guido van Rossum
guido at python.org
Thu Jul 26 12:31:47 EDT 2001
grante at visi.com (Grant Edwards) writes:
> >The important thing is that i//j will return the same value
> >regardless if i and j ar ints or floats; ditto for the new i/j.
>
> If that's important, why won't the other math operators do it???
Huh? They do (apart from unavoidable round-off errors). 1+2 == 1.0+2.0.
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-list
mailing list