summaryrefslogtreecommitdiff
path: root/Objects/iterobject.c
AgeCommit message (Expand)AuthorLines
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