summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
Commit message (Expand)AuthorAgeFilesLines
* Use Py_ssize_t for counts and sizes.Martin v. Löwis2006-02-161-4/+4
* Revert 42400.Martin v. Löwis2006-02-161-2/+2
* Support %zd in PyErr_Format and PyString_FromFormat.Martin v. Löwis2006-02-161-2/+1
* Get rid of compiler warnings (gcc 3.3.4 on x86)Neal Norwitz2006-02-161-2/+2
* Merge ssize_t branch.Martin v. Löwis2006-02-151-138/+136
* Renamed _length_cue() to __length_hint__(). See:Armin Rigo2006-02-111-3/+3
* Add const to several API functions that take char *.Jeremy Hylton2005-12-101-2/+2
* Convert iterator __len__() methods to a private API.Raymond Hettinger2005-09-241-14/+11
* SF bug #1242657: list(obj) can swallow KeyboardInterruptRaymond Hettinger2005-08-211-0/+5
* Finalize the freelist of list objects.Raymond Hettinger2004-10-071-0/+13
* Checkin Tim's fix to an error discussed on python-dev.Raymond Hettinger2004-09-261-10/+20
* SF #1022910: Conserve memory with list.pop()Raymond Hettinger2004-09-121-8/+11
* Typo fix: 'comparisions' is not a wordAndrew M. Kuchling2004-09-101-1/+1
* SF patch #1005778, Fix seg fault if list object is modified during list.index()Neal Norwitz2004-08-131-3/+1
* Previous commit was viewed as "perverse". Changed to just cast the unusedBrett Cannon2004-08-081-1/+3
* Tweak previous patch to silence a warning about the unused left value in theBrett Cannon2004-08-031-1/+1
* list_ass_slice(): Document the obscure new intent that deleting a sliceTim Peters2004-07-311-8/+16
* list_ass_slice(): The difference between "recycle" and "recycled" wasTim Peters2004-07-311-17/+10
* Armin asked for a list_ass_slice review in his checkin, so here's theTim Peters2004-07-311-26/+44
* This is a reorganization of list_ass_slice(). It should probably be reviewed,Armin Rigo2004-07-301-22/+20
* What if you call lst.__init__() while it is being sorted? :-)Armin Rigo2004-07-301-2/+4
* * Simplify and speed-up list_resize(). Relying on the newly documentedRaymond Hettinger2004-07-291-3/+7
* * drop the unreasonable list invariant that ob_item should never come backArmin Rigo2004-07-291-28/+46
* Minor memory leak.Armin Rigo2004-07-291-0/+2
* Fix obscure breakage (relative to 2.3) in listsort: the test for listTim Peters2004-07-291-26/+12
* Trimmed trailing whitespace.Tim Peters2004-07-291-21/+21
* PyList_New(): we went to all the trouble of computing and bounds-checkingTim Peters2004-07-291-1/+2
* Moved SunPro warning suppression into pyport.h and out of individualNicholas Bastin2004-07-151-4/+0
* Fixed end-of-loop code not reached warning when using SunPro CNicholas Bastin2004-06-171-0/+4
* Nits:Raymond Hettinger2004-05-051-16/+9
* SF patch #947476: Apply freelist technique to listsRaymond Hettinger2004-05-051-4/+17
* Use Py_RETURN_NONE macro where applicable.Raymond Hettinger2004-04-121-14/+8
* Small refactoring saving one function() and eliminating some indirection.Raymond Hettinger2004-04-121-11/+10
* * Specialize ins1() into app1() for appends. Saves several unnecessaryRaymond Hettinger2004-04-121-6/+36
* Get rid of listextend_internal() and explain why the special caseArmin Rigo2004-03-201-51/+25
* Make iterators length transparent where possible.Raymond Hettinger2004-03-181-1/+14
* Revert last change. Found an application that was worse off with resizeRaymond Hettinger2004-03-151-13/+10
* list_resize() now has an "exact" option for bypassing the overallocationRaymond Hettinger2004-03-141-10/+13
* Make PySequence_Fast_ITEMS public. (Thanks Skip.)Raymond Hettinger2004-03-121-3/+3
* * Eliminate duplicate call to PyObject_Size().Raymond Hettinger2004-03-121-3/+3
* Use a new macro, PySequence_Fast_ITEMS to factor out code common toRaymond Hettinger2004-03-121-16/+3
* Now that list.extend() is at the root of many list operations, it becomesRaymond Hettinger2004-03-111-3/+9
* Eliminate a big block of duplicate code in PySequence_List() byRaymond Hettinger2004-03-111-0/+6
* list_inplace_concat() is now expressed in terms of list_extend() whichRaymond Hettinger2004-03-111-14/+13
* Use memcpy() instead of memmove() when the buffers are known to be distinct.Raymond Hettinger2004-03-101-2/+2
* Tidied up the implementations of reversed (including the custom onesRaymond Hettinger2004-03-101-9/+23
* Optimize inner loops for subscript, repeat, and concat.Raymond Hettinger2004-03-091-27/+39
* Optimize slice assignments.Raymond Hettinger2004-03-091-16/+17
* Optimize tuple_slice() and make further improvements to list_slice()Raymond Hettinger2004-03-081-14/+16
* Small optimizations for list_slice() and list_extend_internal().Raymond Hettinger2004-03-081-9/+20