diff options
author | Guido van Rossum <guido@python.org> | 1999-02-23 16:11:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-02-23 16:11:01 (GMT) |
commit | 124eff022578980310f47a351525b4b6cd5f7b27 (patch) | |
tree | 57e8406671462d20e4d4e217de053bed21e88d62 /Doc/ref | |
parent | 717d1fdf2acbef5e6b47d9b4dcf48ef1829be685 (diff) | |
download | cpython-124eff022578980310f47a351525b4b6cd5f7b27.zip cpython-124eff022578980310f47a351525b4b6cd5f7b27.tar.gz cpython-124eff022578980310f47a351525b4b6cd5f7b27.tar.bz2 |
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 'Doc/ref')
0 files changed, 0 insertions, 0 deletions