[Python-checkins] CVS: python/dist/src/Python bltinmodule.c

Guido van Rossum guido@cnri.reston.va.us
Tue, 23 Feb 1999 11:11:03 -0500 (EST)

Update of /projects/cvsroot/python/dist/src/Python
In directory eric:/projects/python/develop/guido/src/Python

Modified Files:
Log Message:
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).