summaryrefslogtreecommitdiff
path: root/Objects/iterobject.c
AgeCommit message (Expand)AuthorLines
2010-08-07Fix nit (sentinel on lhs of comparison).Raymond Hettinger-3/+1
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-160/+160
2009-02-02Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson-2/+2
2008-03-13Move itertools izip() code to builtins as zip(). Complete the renaming.Raymond Hettinger-169/+0
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.Christian Heimes-1/+1
2007-12-02Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases i...Christian Heimes-2/+2
2007-11-29Added all PyTypeObjects to the appropriate header files.Christian Heimes-3/+3
2007-11-28Added view and iterator types to collections / _abcollChristian Heimes-1/+1
2007-07-21Merged revisions 56467-56482 via svnmerge fromMartin v. Löwis-7/+4
2007-02-06Remove bogus INCREF of ziptuple: it is aMartin v. Löwis-1/+0
2006-08-26The daily ritual: fix C89 violations.Guido van Rossum-2/+4
2006-08-25SF patch 1546297 (with some tweaks):Guido van Rossum-0/+171
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-9/+5
2006-02-16Use Py_ssize_t for counts and sizes.Martin v. Löwis-1/+1
2006-02-15Merge ssize_t branch.Martin v. Löwis-1/+1
2006-02-11Renamed _length_cue() to __length_hint__(). See:Armin Rigo-2/+2
2005-09-24Convert iterator __len__() methods to a private API.Raymond Hettinger-20/+11
2004-09-01SF patch #1020188: Use Py_CLEAR where necessary to avoid crashesRaymond Hettinger-8/+4
2004-04-12* Add unittests for iterators that report their lengthRaymond Hettinger-2/+10
2004-03-18Make iterators length transparent where possible.Raymond Hettinger-1/+14
2003-06-25Whitespace normalization.Walter Dörwald-3/+3
2003-03-17Renamed PyObject_GenericGetIter to PyObject_SelfIterRaymond Hettinger-2/+2
2003-03-17Created PyObject_GenericGetIter().Raymond Hettinger-9/+2
2002-08-16Squash a few calls to the hideously expensive PyObject_CallObject(o,a)Guido van Rossum-1/+6
2002-08-09Moved special case for tuples from iterobject.c toRaymond Hettinger-24/+11
2002-07-16Make StopIteration a sink state. This is done by clearing out theGuido van Rossum-62/+47
2002-05-31SF 560736. Optimize list iteration by filling the tp_iter slot.Raymond Hettinger-17/+7
2002-05-08Patch #552433: Special-case tuples. Avoid sub-type checking for lists.Martin v. Löwis-2/+18
2002-03-18Re-enable GC of iter objects.Neil Schemenauer-14/+12
2001-08-16Patch #427190: Implement and use METH_NOARGS and METH_O.Martin v. Löwis-2/+2
2001-08-02Merge of descr-branch back into trunk.Tim Peters-16/+18
2001-07-12GC for iterator objects.Neil Schemenauer-6/+29
2001-05-01Discard a misleading comment about iter_iternext().Guido van Rossum-1/+0
2001-04-23Mondo changes to the iterator stuff, without changing how Python codeGuido van Rossum-21/+63
2001-04-20Adding iterobject.[ch], which were accidentally not added. Sorry\!Guido van Rossum-0/+188