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

Skip Montanaro skip at pobox.com
Tue Jul 24 19:08:30 CEST 2001


    Klaus> But what is with the "best possible" multiplication?

    Klaus> 99999*99999 -> integer overflow

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

Read (and comment, if you like) on PEP 237, which proposes to unify Python's
ints and longs:

    http://python.sourceforge.net/peps/pep-0237.html

I believe this PEP is still in need of a patch to the CVS repository to
support it as well.

-- 
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list