]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Make int("...") return a long if an int would overflow.
authorWalter Dörwald <walter@livinglogic.de>
Wed, 6 Nov 2002 16:15:14 +0000 (16:15 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Wed, 6 Nov 2002 16:15:14 +0000 (16:15 +0000)
commit07e147667cf02cbcb05c84fe03fee31ef61a21c4
treeb190c3881196b25e5588937b3f96a9b421c00c04
parentaca49b065bbe7c27d47798bdb3cb059ef213fc16
Make int("...") return a long if an int would overflow.

Also remove the 512 character limitation for int(u"...") and long(u"...").

This closes SF bug #629989.
Lib/test/test_b1.py
Objects/intobject.c
Objects/longobject.c