]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Change int() so that passing a string, unicode, float or long argument
authorWalter Dörwald <walter@livinglogic.de>
Tue, 19 Nov 2002 20:49:15 +0000 (20:49 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Tue, 19 Nov 2002 20:49:15 +0000 (20:49 +0000)
commitf171540ab8d816a996c34db3f6aa4bf9cf147fba
tree001d1ff0bdea449058218d2debf6d6f8dbbcb220
parent7a3bae410df3dd0032509b97077d0c4d98276fdd
Change int() so that passing a string, unicode, float or long argument
that is outside the integer range no longer raises OverflowError, but
returns a long object instead.

This fixes SF bug http://www.python.org/sf/635115
Doc/api/abstract.tex
Doc/lib/libfuncs.tex
Lib/test/test_b1.py
Lib/test/test_long.py
Lib/test/test_types.py
Misc/NEWS
Objects/floatobject.c
Objects/intobject.c
Objects/longobject.c