summaryrefslogtreecommitdiff
path: root/Objects/tupleobject.c
AgeCommit message (Expand)AuthorLines
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-696/+696
2010-03-01Merged revisions 78515-78516,78522 via svnmerge fromEzio Melotti-4/+4
2008-10-04Merged revisions 66766-66767,66771-66772,66774,66776,66783-66787,66790,66793,...Benjamin Peterson-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
2004-03-21Restored revision 2.87.Armin Rigo-12/+5
2004-03-21PyTuple_New(): vrbl i no longer referenced, so removed it (which killsTim Peters-1/+1
2004-03-21This is the fastest I could get on Intel GCC. I kept the memset() in to clearArmin Rigo-4/+11
2004-03-20memset() hunt continuing. This is a net win.Armin Rigo-1/+3
2004-03-18Make iterators length transparent where possible.Raymond Hettinger-1/+14
2004-03-15Eliminate an unnecessary test on a common code path.Raymond Hettinger-3/+1
2004-03-09Optimize inner loops for subscript, repeat, and concat.Raymond Hettinger-9/+20
2004-03-08Optimize tuple_slice() and make further improvements to list_slice()Raymond Hettinger-4/+9
2003-10-12Extended tuple's C API to include a new function, PyTuple_Pack() that isRaymond Hettinger-0/+22
2003-05-07SF bug #730296: Unexpected Changes in list IteratorRaymond Hettinger-2/+0
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-03-17Renamed PyObject_GenericGetIter to PyObject_SelfIterRaymond Hettinger-1/+1
2003-03-17Created PyObject_GenericGetIter().Raymond Hettinger-9/+1
2003-01-29Implement appropriate __getnewargs__ for all immutable subclassable builtinGuido van Rossum-1/+13
2002-10-11Add checks for size overflow on list*n, list+list, tuple+tuple.Guido van Rossum-0/+2