[Zope-Coders] int() returns long in Py2.3.2?
Fred L. Drake, Jr.
fred at zope.com
Tue Nov 4 17:33:09 EST 2003
Chris McDonough writes:
> I'm not sure if this is a bug or a feature in Python 2.3.2, but code
> that calls int() with an argument that is a number > sys.maxint no
> longer throws an OverflowError as it did in 2.1, 2.2, et. al.
This is not a bug. Think "integer", not "N-bits", and it makes sense
that they're all one big happy family.
-Fred
--
Fred L. Drake, Jr. <fred at zope.com>
PythonLabs at Zope Corporation
More information about the Zope-Coders
mailing list