cpython/Objects
Thomas Wouters f4d8f39053 Make xrange more Py_ssize_t aware, by assuming a Py_ssize_t is always at
least as big as a long. I believe this to be a safe assumption that is being
made in many parts of CPython, but a check could be added.

len(xrange(sys.maxint)) works now, so fix the testsuite's odd exception for
64-bit platforms too. It also fixes 'zip(xrange(sys.maxint), it)' as a
portable-ish (if expensive) alternative to enumerate(it); since zip() now
calls len(), this was breaking on (real) 64-bit platforms. No additional
test was added for that behaviour.
2006-04-04 17:28:12 +00:00
..
abstract.c Minor bugs in the __index__ code (PEP 357), with tests. 2006-03-30 14:04:02 +00:00
boolobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
bufferobject.c Use proper PyArg_Parse format char for Py_ssize_t, instead of 'l', in 2006-02-16 19:44:46 +00:00
cellobject.c Previously, Python code had no easy way to access the contents of a 2006-03-18 07:59:59 +00:00
classobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
cobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
codeobject.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
complexobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
descrobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
dictnotes.txt Fix typos and add some elaborations 2004-03-15 15:52:22 +00:00
dictobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
enumobject.c Change int to Py_ssize_t in several places. 2006-03-07 12:08:51 +00:00
fileobject.c Bug #1177964: make file iterator raise MemoryError on too big files 2006-03-31 20:31:02 +00:00
floatobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
frameobject.c Use macro versions instead of function versions when we already know the type. 2006-03-20 01:53:23 +00:00
funcobject.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
genobject.c Support throw() of string exceptions. 2006-03-25 00:05:50 +00:00
intobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
iterobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
listobject.c Checking in the code for PEP 357. 2006-03-07 18:50:55 +00:00
listsort.txt The key to the various sort columns got lost. Pulled from 2005-09-23 17:14:22 +00:00
longobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
methodobject.c Use Py_ssize_t for counts and sizes. 2006-02-16 14:32:27 +00:00
moduleobject.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
object.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
obmalloc.c Merge the tim-obmalloc branch to the trunk. 2006-03-16 01:14:46 +00:00
rangeobject.c Make xrange more Py_ssize_t aware, by assuming a Py_ssize_t is always at 2006-04-04 17:28:12 +00:00
setobject.c SF patch #1458476 with modifications based on discussions in python-dev. This 2006-03-30 22:45:35 +00:00
sliceobject.c Allow long integers in PySlice_GetIndices. 2006-04-03 11:38:08 +00:00
stringobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
structseq.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
tupleobject.c Fix some missing checks after PyTuple_New, PyList_New, PyDict_New 2006-03-17 19:03:25 +00:00
typeobject.c Minor bugs in the __index__ code (PEP 357), with tests. 2006-03-30 14:04:02 +00:00
unicodectype.c Enhance the performance of two important Unicode character 2005-10-20 19:06:35 +00:00
unicodeobject.c That one was a mistake. 2006-03-30 12:19:07 +00:00
unicodetype_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
weakrefobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00