summaryrefslogtreecommitdiff
path: root/Objects/tupleobject.c
AgeCommit message (Expand)AuthorLines
2018-02-02[2.7] bpo-32137: The repr of deeply nested dict now raises a RuntimeError (GH...Serhiy Storchaka-3/+0
2017-04-15bpo-30074: Fix compile warnings of _PySlice_Unpack and convert missed (#1154)Serhiy Storchaka-1/+1
2017-04-08bpo-27867: Expand the PySlice_GetIndicesEx macro. (#1023) (#1046)Serhiy Storchaka-3/+3
2017-03-30bpo-29935: Fixed error messages in the index() method of tuple and list (#887...Serhiy Storchaka-2/+2
2016-03-30Issue #26494: Fixed crash on iterating exhausting iterators.Serhiy Storchaka-1/+1
2015-03-10Issue #23629: Fix the default __sizeof__ implementation for variable-sized ob...Antoine Pitrou-12/+0
2014-02-09Issue #20437: Fixed 43 potential bugs when deleting objects references.Serhiy Storchaka-4/+2
2012-09-10PyTuple_Pack() was missing va_end() in its error branch which lead to a resou...Christian Heimes-1/+3
2011-11-06Revert "Accept None as start and stop parameters for list.index() and tuple.i...Petri Lehtinen-11/+4
2011-11-05Accept None as start and stop parameters for list.index() and tuple.index()Petri Lehtinen-4/+11
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-722/+722
2010-05-05Remove an unneeded variable assignment.Brett Cannon-2/+1
2010-02-28#8030: more docstring fix for builtin types.Ezio Melotti-4/+4
2009-12-12Issue #7466: segmentation fault when the garbage collector is calledAntoine Pitrou-1/+2
2009-03-23The tracking statistics were actually too pessimisticAntoine Pitrou-3/+3
2009-03-23Issue #4688: Add a heuristic so that tuples and dicts containing onlyAntoine Pitrou-0/+54
2009-03-15fix tuple.index() error message #5495Benjamin Peterson-1/+1
2009-01-07Issue #4850: Change COUNT_ALLOCS variables to Py_ssize_t.Martin v. Löwis-2/+2
2008-10-04Docstring change: Specify exception raisedAndrew M. Kuchling-1/+3
2008-07-31Security patches from Apple: prevent int overflow when allocating memoryNeal Norwitz-2/+3
2008-06-13Fixed: sys.getsizeof does not take the actual length of the tuples into account.Robert Schuppenies-0/+12
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-8/+8
2008-05-26Renamed PyString to PyBytesChristian Heimes-8/+8
2008-02-14Implemented Martin's suggestion to clear the free lists during the garbage co...Christian Heimes-6/+19
2008-02-07Return ints instead of longs for tuple.count() and tuple.index().Raymond Hettinger-2/+2
2008-02-07Issue 2025: Add tuple.count() and tuple.index() to follow the ABC in collect...Raymond Hettinger-0/+54
2008-02-06Unified naming convention for free lists and their limits. All free listsChristian Heimes-29/+29
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-36/+36
2007-09-30Fix error introduced by r58288; if a tuple is length 0 return its repr andBrett Cannon-4/+4
2007-09-30tuple.__repr__ did not consider a reference loop as it is not possible fromBrett Cannon-0/+13
2007-09-17Add a bunch of GIL release/acquire points in tp_print implementations and forBrett Cannon-2/+10
2007-08-28Improve extended slicing support in builtin types and classes. Specifically:Thomas Wouters-0/+6
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-40/+38
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-2/+3
2006-08-12Patch #1538606, Patch to fix __index__() clipping.Neal Norwitz-5/+2
2006-04-15Use Py_VISIT in all tp_traverse methods, instead of traversing manually orThomas Wouters-12/+4
2006-04-11Remove "static forward" declaration. Move constructorsMartin v. Löwis-21/+19
2006-04-11More low-hanging fruit. Still need to re-arrange some code (or find a betterAnthony Baxter-5/+5
2006-03-17Fix some missing checks after PyTuple_New, PyList_New, PyDict_NewGeorg Brandl-0/+1
2006-03-07Checking in the code for PEP 357.Guido van Rossum-2/+5
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-1/+1
2006-02-16Use Py_ssize_t for counts and sizes.Martin v. Löwis-3/+4
2006-02-15Merge ssize_t branch.Martin v. Löwis-48/+44
2006-02-11Renamed _length_cue() to __length_hint__(). See:Armin Rigo-2/+2
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-1/+1
2005-09-24Convert iterator __len__() methods to a private API.Raymond Hettinger-7/+12
2004-06-10Add a final permutation step to the tuple hash function.Raymond Hettinger-0/+1
2004-06-04Replaced arbitrary addend in tuple_hash with one that is known to generateRaymond Hettinger-1/+9
2004-06-01SF bug #942952: Weakness in tuple hashRaymond Hettinger-2/+3