mishok laptop doc python trunk python2 Python 6b2 unknown Jul 24 2008

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
mishok@laptop:~/doc/python/trunk$ python2.6
Python 2.6b2+ (unknown, Jul 24 2008, 12:13:34)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> x = xrange(sys.maxsize)
>>> x = xrange(sys.maxsize+1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: long int too large to convert to int