summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
Commit message (Expand)AuthorAgeFilesLines
* Keep the list.pop() optimization while restoring the many possibilityRaymond Hettinger2004-02-191-4/+2
* Double the speed of list.pop() which was spending most of its time parsingRaymond Hettinger2004-02-171-2/+11
* Refactor list_extend() and list_fill() for gains in code size, memoryRaymond Hettinger2004-02-151-84/+71
* Fine tune the speed/space trade-off for overallocating small lists.Raymond Hettinger2004-02-141-8/+3
* Fix missing return value. Spotted by Neal NorwitzRaymond Hettinger2004-02-141-0/+1
* Optimize list.pop() for the common special case of popping off the end.Raymond Hettinger2004-02-131-0/+5
* * Optimized list appends and pops by making fewer calls the underlying systemRaymond Hettinger2004-02-131-89/+68
* Revert change accidentally checked in as part of a whitespace normalizationTim Peters2004-01-181-9/+5
* Whitespace normalization.Tim Peters2004-01-181-5/+9
* Apply tuple/list pre-sizing optimization to a broader class of objects.Raymond Hettinger2004-01-041-8/+4
* complete backout of listobject.c v2.171Andrew MacIntyre2003-12-281-4/+0
* Revert previous two checkins to repair test failure.Jeremy Hylton2003-12-261-24/+6
* use the correct macro to access list sizeAndrew MacIntyre2003-12-261-1/+1
* Performance of list([]) in 2.3 came up in a thread on comp.lang.python,Andrew MacIntyre2003-12-251-6/+28
* Guido grants a Christmas wish:Raymond Hettinger2003-12-171-37/+0
* * Added a new method flag, METH_COEXIST.Raymond Hettinger2003-12-131-0/+5
* Fix memory error treatment correctly. Going to dsu_fail causesHye-Shik Chang2003-12-101-1/+1
* Fixes and tests for various "holding pointers when arbitrary Python codeMichael W. Hudson2003-12-041-35/+46
* Make sure the list.sort's decorate step unwinds itself before returningRaymond Hettinger2003-11-281-2/+9
* Improve the reverse list iterator to free memory as soon as the iteratorRaymond Hettinger2003-11-081-1/+4
* Minor code fixup. Make sure that len reflects the current list size.Raymond Hettinger2003-11-081-0/+1
* Optimize reversed(list) using a custom iterator.Raymond Hettinger2003-11-071-2/+96
* Fix compiler warning about possible use of n without assignment.Jeremy Hylton2003-11-031-5/+6
* Add list.sorted() classmethod.Raymond Hettinger2003-10-291-0/+37
* Fix typo found by Neal Norwitz.Raymond Hettinger2003-10-161-1/+1
* * list.sort() now supports three keyword arguments: cmp, key, and reverse.Raymond Hettinger2003-10-161-5/+228
* My last fix left n used unitialized in tha a==b case.Michael W. Hudson2003-08-151-1/+1
* Fix reference leak noted in test_types:Michael W. Hudson2003-08-141-9/+9
* Use _PyEval_SliceIndex to handle list.index() calls withWalter Dörwald2003-06-171-1/+3
* Fix sloppy index() implementation:Guido van Rossum2003-06-171-2/+12
* SF #754014: list.index() should accept optional start, end argumentsRaymond Hettinger2003-06-171-5/+10
* SF bug #604716: faster [None]*n or []*nRaymond Hettinger2003-05-211-0/+12
* SF bug #730296: Unexpected Changes in list IteratorRaymond Hettinger2003-05-071-2/+0
* Patch #708604: Check more function results. Will backport to 2.2.Martin v. Löwis2003-05-031-1/+8
* Squashed new compiler wngs about trying to compare pointers toTim Peters2003-04-241-1/+1
* SF bug 665835: filter() treatment of str and tuple inconsistentRaymond Hettinger2003-04-241-0/+2
* - list.insert(i, x) now interprets negative i as it would beGuido van Rossum2003-04-141-2/+5
* Renamed PyObject_GenericGetIter to PyObject_SelfIterRaymond Hettinger2003-03-171-1/+1
* Created PyObject_GenericGetIter().Raymond Hettinger2003-03-171-9/+1
* Allow list sort's comparison function to explicitly be None. See SF patchSkip Montanaro2003-01-021-1/+4
* SF patch #659536: Use PyArg_UnpackTuple where possible.Raymond Hettinger2002-12-291-1/+1
* SF Bug 645777: list.extend() works with any iterable and is no longerRaymond Hettinger2002-12-291-1/+1
* The final tweaks before closingMichael W. Hudson2002-12-051-20/+23
* SF patch 637176: list.sort crasherTim Peters2002-11-121-96/+29
* Use PyOS_snprintf() instead of sprintf and wrap the long lineNeal Norwitz2002-11-051-2/+4
* This is Alex Martelli's patchMichael W. Hudson2002-11-051-9/+12
* Darn! Don't divide by zero. Bad fix. :-)Guido van Rossum2002-10-111-1/+1
* Add checks for size overflow on list*n, list+list, tuple+tuple.Guido van Rossum2002-10-111-0/+4
* PyObject_RichCompareBool() already returns -1, 0, or 1, so return its valueNeal Norwitz2002-09-051-5/+1
* Micro-optimization for list_contains. Factored double if testRaymond Hettinger2002-09-051-8/+7