summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-05-07 13:23:18 +0000
committerMark Dickinson <dickinsm@gmail.com>2010-05-07 13:23:18 +0000
commite02c9d22f6d0c1cbe5a65096cd454c4c0b36304c (patch)
tree1a973790ee5844a5259813c075dac4dc13af3a19 /Python/pythonrun.c
parentcdf48a8ec24a121ae8e17f63d08a6955f8f4ed0d (diff)
downloadcpython-git-e02c9d22f6d0c1cbe5a65096cd454c4c0b36304c.tar.gz
Merged revisions 80758 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r80758 | mark.dickinson | 2010-05-04 17:18:25 +0100 (Tue, 04 May 2010) | 9 lines Issue #1533: fix inconsistency in range function argument processing: any non-float non-integer argument is now converted to an integer (if possible) using its __int__ method. Previously, only small arguments were treated this way; larger arguments (those whose __int__ was outside the range of a C long) would produce a TypeError. Patch by Alexander Belopolsky (with minor modifications). ........
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions