summaryrefslogtreecommitdiff
path: root/Objects/listobject.c
AgeCommit message (Expand)AuthorLines
2009-11-02grant list.index() a more informative error message #7252Benjamin Peterson-2/+16
2009-11-02prevent a rather unlikely segfaultBenjamin Peterson-2/+8
2009-10-11Issue #7084: Fix a (very unlikely) crash when printing a list from oneAntoine Pitrou-1/+6
2009-02-02Issue 1242657: list(obj) can swallow KeyboardInterrupt.Raymond Hettinger-0/+4
2008-12-03Backport r67478Raymond Hettinger-8/+9
2008-10-04Docstring changes: Specify exceptions raisedAndrew M. Kuchling-3/+6
2008-07-15Issue 2235: __hash__ is once again inherited by default, but inheritance can ...Nick Coghlan-1/+1
2008-06-11Merge in release25-maint r60793:Gregory P. Smith-3/+19
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-10/+10
2008-06-01Some style nits. Also clarify in the docstrings what __sizeof__ does.Georg Brandl-1/+1
2008-06-01Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes.Robert Schuppenies-0/+12
2008-05-26Renamed PyString to PyBytesChristian Heimes-10/+10
2008-04-27A little reformating of Py3k warningsBenjamin Peterson-1/+1
2008-04-27Use PyErr_WarnPy3k throughoutBenjamin Peterson-3/+1
2008-03-25Make Py3k warnings consistent w.r.t. punctuation; also respect theGeorg Brandl-1/+1
2008-03-19Issue 2354: Fix-up compare warning. Patch contributed by Jeff Balogh.Raymond Hettinger-1/+1
2008-03-18Issue: 2354: Add 3K warning for the cmp argument to list.sort() and sorted().Raymond Hettinger-0/+5
2008-02-24Use PY_FORMAT_SIZE_T instead of z for string formatting. Thanks Neal.Christian Heimes-2/+4
2008-02-08Use prefix decrementChristian Heimes-2/+1
2008-02-07Added some statistics code to dict and list object code. I wanted to test how...Christian Heimes-0/+29
2008-02-06Unified naming convention for free lists and their limits. All free listsChristian Heimes-11/+13
2008-01-25Use the right (portable) definition of the max of a Py_ssize_t.Thomas Wouters-1/+1
2008-01-25Rewrite the list_inline_repeat overflow check slightly differently.Guido van Rossum-6/+7
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-83/+83
2007-12-15Optimize PyList_AsTuple(). Improve cache performance by doing theRaymond Hettinger-5/+5
2007-12-06Fix Issue 1045.Raymond Hettinger-11/+1
2007-12-05merge -r59315:59316 from py3k: Fix issue #1553: An errornous __length_hint__ ...Christian Heimes-2/+3
2007-11-22Backport of _abccoll.py by Benjamin Arangueren, issue 1383.Guido van Rossum-9/+1
2007-10-17Fix the overflow checking of list_repeat.Armin Rigo-4/+7
2007-09-17Add a bunch of GIL release/acquire points in tp_print implementations and forBrett Cannon-1/+10
2007-09-10Fix a possible segfault from recursing too deep to get the repr of a list.Brett Cannon-0/+3
2007-08-28Improve extended slicing support in builtin types and classes. Specifically:Thomas Wouters-13/+30
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-92/+87
2007-02-25Variation of patch # 1624059 to speed up checking if an object is a subclassNeal Norwitz-1/+1
2006-11-19Patch [ 1586791 ] better error msgs for some TypeErrorsGeorg Brandl-6/+9
2006-10-28Prevent crash if alloc of garbage fails. Found by Typo.pl.Neal Norwitz-0/+5
2006-10-04Forward-port of r52136,52138: a review of overflow-detecting code.Armin Rigo-8/+3
2006-08-19Move initialization to after the asserts for non-NULL values.Neal Norwitz-2/+4
2006-08-12Patch #1538606, Patch to fix __index__() clipping.Neal Norwitz-7/+5
2006-08-12Check return of PyMem_MALLOC (garbage) is non-NULL.Neal Norwitz-2/+6
2006-06-12Don't leak the list object if there's an error allocating the item storage. ...Neal Norwitz-1/+3
2006-04-15Remove now-unused variables from tp_traverse and tp_clear methods.Tim Peters-1/+0
2006-04-15Use Py_VISIT in all tp_traverse methods, instead of traversing manually orThomas Wouters-14/+6
2006-04-13Replace INT_MAX with PY_SSIZE_T_MAX.Martin v. Löwis-2/+2
2006-04-11More C++-compliance. Note especially listobject.c - to get C++ to accept theAnthony Baxter-81/+93
2006-03-07Checking in the code for PEP 357.Guido van Rossum-10/+8
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-2/+2
2006-02-16Use Py_ssize_t for counts and sizes.Martin v. Löwis-4/+4
2006-02-16Revert 42400.Martin v. Löwis-2/+2
2006-02-16Support %zd in PyErr_Format and PyString_FromFormat.Martin v. Löwis-2/+1