summaryrefslogtreecommitdiff
path: root/Objects/tupleobject.c
AgeCommit message (Expand)AuthorLines
2008-07-31Security patches from Apple: prevent int overflow when allocating memoryNeal Norwitz-2/+3
2006-03-17Backport: Fix missing NULL checks after PyTuple_New, PyList_New, PyDict_NewGeorg Brandl-0/+1
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
2002-09-05PyObject_RichCompareBool() already returns -1, 0, or 1, so return its valueNeal Norwitz-5/+1
2002-09-05Micro-optimization for list_contains. Factored double if testRaymond Hettinger-7/+6
2002-08-19Call me anal, but there was a particular phrase that was speading toGuido van Rossum-1/+1
2002-08-09Moved special case for tuples from iterobject.c toRaymond Hettinger-1/+112
2002-07-17staticforward bites the dust.Jeremy Hylton-1/+1
2002-07-11object.h special-build macro minefield: renamed all the new lexicalTim Peters-3/+1
2002-06-20Fix for SF bug 571885Jeremy Hylton-2/+2
2002-06-13SF #561244 Micro optimizationsNeal Norwitz-5/+4
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-2/+2
2002-06-11This is my nearly two year old patchMichael W. Hudson-1/+58
2002-04-12PyObject_GC_Del can now be used as a function designator.Neil Schemenauer-1/+1
2002-03-28This is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction).Guido van Rossum-1/+1
2001-12-07_PyTuple_Resize(): this dumped core on tuple(globals()) for me. TurnsGuido van Rossum-6/+8
2001-10-05Enable GC for new-style instances. This touches lots of files, sinceGuido van Rossum-1/+2
2001-09-11The endless 460020 bug.Tim Peters-6/+9
2001-09-02Rewrite the tuple() docstring to parallel the list() docstring.Tim Peters-4/+4
2001-09-02Repair apparent cut'n'pasteo in tuple() docstring.Tim Peters-1/+1
2001-08-30More stuff discovered while writing the simplest of testcases:Guido van Rossum-2/+5
2001-08-30Make str and tuple types subclassable.Guido van Rossum-2/+30
2001-08-29Use new GC API.Neil Schemenauer-26/+13
2001-08-02Merge of descr-branch back into trunk.Tim Peters-2/+38
2001-06-16SF bug 433228: repr(list) woes when len(list) big.Tim Peters-13/+49
2001-05-29_PyTuple_Resize: guard against PyTuple_New() returning NULL, using Tim'sThomas Wouters-1/+1
2001-05-28Cruft cleanup: Removed the unused last_is_sticky argument from the internalTim Peters-4/+3
2001-05-28_PyTuple_Resize: take into account the empty tuple. There can be only one.Thomas Wouters-2/+11
2001-05-15Speed tuple comparisons in two ways:Tim Peters-21/+22
2001-01-18Same treatment as listobject.c:Guido van Rossum-43/+104
2000-10-05Simplify _PyTuple_Resize by not using the tuple free list and droppingNeil Schemenauer-86/+24
2000-09-15Correctly cast the return value of realloc.Martin v. Löwis-1/+1