summaryrefslogtreecommitdiff
path: root/Objects/listobject.c
AgeCommit message (Expand)AuthorLines
2003-08-15Backport my fix to my fix:Michael W. Hudson-1/+1
2003-08-14And backport-2-3-4:Michael W. Hudson-9/+9
2003-06-17Use _PyEval_SliceIndex to handle list.index() calls withWalter Dörwald-1/+3
2003-06-17Fix sloppy index() implementation:Guido van Rossum-2/+12
2003-06-17SF #754014: list.index() should accept optional start, end argumentsRaymond Hettinger-5/+10
2003-05-21SF bug #604716: faster [None]*n or []*nRaymond Hettinger-0/+12
2003-05-07SF bug #730296: Unexpected Changes in list IteratorRaymond Hettinger-2/+0
2003-05-03Patch #708604: Check more function results. Will backport to 2.2.Martin v. Löwis-1/+8
2003-04-24Squashed new compiler wngs about trying to compare pointers toTim Peters-1/+1
2003-04-24SF bug 665835: filter() treatment of str and tuple inconsistentRaymond Hettinger-0/+2
2003-04-14- list.insert(i, x) now interprets negative i as it would beGuido van Rossum-2/+5
2003-03-17Renamed PyObject_GenericGetIter to PyObject_SelfIterRaymond Hettinger-1/+1
2003-03-17Created PyObject_GenericGetIter().Raymond Hettinger-9/+1
2003-01-02Allow list sort's comparison function to explicitly be None. See SF patchSkip Montanaro-1/+4
2002-12-29SF patch #659536: Use PyArg_UnpackTuple where possible.Raymond Hettinger-1/+1
2002-12-29SF Bug 645777: list.extend() works with any iterable and is no longerRaymond Hettinger-1/+1
2002-12-05The final tweaks before closingMichael W. Hudson-20/+23
2002-11-12SF patch 637176: list.sort crasherTim Peters-96/+29
2002-11-05Use PyOS_snprintf() instead of sprintf and wrap the long lineNeal Norwitz-2/+4
2002-11-05This is Alex Martelli's patchMichael W. Hudson-9/+12
2002-10-11Darn! Don't divide by zero. Bad fix. :-)Guido van Rossum-1/+1
2002-10-11Add checks for size overflow on list*n, list+list, tuple+tuple.Guido van Rossum-0/+4
2002-09-05PyObject_RichCompareBool() already returns -1, 0, or 1, so return its valueNeal Norwitz-5/+1
2002-09-05Micro-optimization for list_contains. Factored double if testRaymond Hettinger-8/+7
2002-08-101. Combined the base and length arrays into a single array of structs.Tim Peters-30/+54
2002-08-08PyList_Reverse(): This was leaking a reference to Py_None on every call.Tim Peters-1/+4
2002-08-04Sped the usual case for sorting by calling PyObject_RichCompareBoolTim Peters-10/+18
2002-08-03SF bug 590366: Small typo in listsort:ParseTupleTim Peters-1/+1
2002-08-01Replaced samplesort with a stable, adaptive mergesort.Tim Peters-392/+758
2002-07-29Fix forMichael W. Hudson-3/+8
2002-07-28Patch #574867: Correct list.extend docstring.Martin v. Löwis-1/+1
2002-07-19More sort cleanup: Moved the special cases from samplesortslice intoTim Peters-65/+73
2002-07-19binarysort() cleanup: Documented the key invariants, explained why theyTim Peters-2/+13
2002-07-19listreverse(): Don't call the new reverse_slice unless the listTim Peters-1/+2
2002-07-19Cleanup yielding a small speed boost: before rich comparisons wereTim Peters-50/+32
2002-07-19Trimmed trailing whitespace.Tim Peters-22/+22
2002-07-19Cleanup: Define one internal utility for reversing a list slice, andTim Peters-28/+20
2002-07-17staticforward bites the dust.Jeremy Hylton-1/+1
2002-07-16Whitespace normalization.Guido van Rossum-65/+65
2002-07-16Make StopIteration a sink state. This is done by clearing out theGuido van Rossum-11/+10
2002-07-16Make list_iter() really static.Guido van Rossum-1/+1
2002-07-15docompare(): Another reasonable optimization from Jonathan Hogg for theTim Peters-1/+1
2002-07-13Don't declare a function with staticforward.Jeremy Hylton-2/+2
2002-07-11docompare(): Use PyTuple_New instead of Py_BuildValue to build compare'sTim Peters-2/+7
2002-06-19Fix the bug described inMichael W. Hudson-5/+9
2002-06-14Missed one use of new PyDoc_STRVAR macroNeal Norwitz-2/+2
2002-06-13SF #561244 Micro optimizationsNeal Norwitz-5/+2
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-18/+18
2002-06-11Fold remaining long lines.Guido van Rossum-2/+6
2002-06-11This is my nearly two year old patchMichael W. Hudson-1/+187