summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-02-23 16:11:01 +0000
committerGuido van Rossum <guido@python.org>1999-02-23 16:11:01 +0000
commit124eff022578980310f47a351525b4b6cd5f7b27 (patch)
tree57e8406671462d20e4d4e217de053bed21e88d62 /Python/pythonrun.c
parent717d1fdf2acbef5e6b47d9b4dcf48ef1829be685 (diff)
downloadcpython-git-124eff022578980310f47a351525b4b6cd5f7b27.tar.gz
Patch by Tim Peters to improve the range checks for range() and
xrange(), especially for platforms where int and long are different sizes (so sys.maxint isn't actually the theoretical limit for the length of a list, but the largest C int is -- sys.maxint is the largest Python int, which is actually a C long).
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions