Py2.3: Feedback on Sets
Andrew Dalke
adalke at mindspring.com
Mon Aug 18 19:37:14 EDT 2003
Bob Gailer:
> You just have to avoid specifying a negative # too large in magnitude,
> or you will get a memory underflow.
Actually, there's a limit in how much negative memory you can get
>>> d*(-sys.maxint-1)
[]
>>> d*(-sys.maxint-2)
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
OverflowError: long int too large to convert to int
>>>
Andrew
dalke at dalkescientific.com
More information about the Python-list
mailing list