summaryrefslogtreecommitdiff
path: root/Modules/itertoolsmodule.c
AgeCommit message (Expand)AuthorLines
2006-09-05Backport fix for SF bug #1550714, itertools.tee raises SystemErrorNeal Norwitz-2/+6
2006-07-23nextlink can be NULL if teedataobject_new fails, so use XINCREF.Neal Norwitz-2/+8
2006-05-27Fix compiler warning (and whitespace) on Mac OS 10.4. (A lot of this code lo...Neal Norwitz-4/+4
2006-05-26use Py_ssize_t in places that may need itJack Diederich-25/+25
2006-04-15Add missing PyObject_GC_Track call, causing *some* itertools.tee objects toThomas Wouters-0/+1
2006-03-27Make itertools.tee and its internal teedataobject participate in GC. ThisThomas Wouters-19/+71
2006-02-27More unconsting.Martin v. Löwis-1/+1
2006-02-16Use Py_ssize_t for counts and sizes.Martin v. Löwis-8/+8
2006-02-11Renamed _length_cue() to __length_hint__(). See:Armin Rigo-2/+2
2006-01-19Check return result from Py_InitModule*(). This API can fail.Neal Norwitz-0/+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-8/+12
2005-08-26Disallow keyword arguments for type constructors that don't use them.Georg Brandl-0/+36
2004-12-05Added optional None arguments to itertools.islice().Raymond Hettinger-14/+16
2004-10-17some platforms still need offsetof() from structmember.hFred Drake-0/+1
2004-10-17Fix and test weak referencing of itertools.tee objects.Raymond Hettinger-1/+6
2004-10-02Replace structure member before decreffing.Raymond Hettinger-1/+3
2004-09-28* Increase test coverage.Raymond Hettinger-5/+9
2004-09-01SF patch #1020188: Use Py_CLEAR where necessary to avoid crashesRaymond Hettinger-2/+1
2004-07-15Exercise Jim's VISIT macro.Raymond Hettinger-129/+24
2004-05-08SF #950057: itertools.chain doesn't "process" exceptions as they occurRaymond Hettinger-0/+12
2004-04-13Change two instance of format strings for PyString_FromFormat() to use %ldBrett Cannon-2/+2
2004-04-08Provide more information representations of repeat() and count().Raymond Hettinger-2/+27
2004-03-17Speedup the inner loops for dropwhile(), islice(), ifilter(), andRaymond Hettinger-9/+17
2004-02-10need to initialize ob_type slot at run-time, at least on cygwinSkip Montanaro-1/+2
2004-02-10Give itertools.repeat() a length method.Raymond Hettinger-1/+14
2003-12-06Implement itertools.groupby()Raymond Hettinger-1/+321
2003-11-12Improve the implementation of itertools.tee().Raymond Hettinger-176/+194
2003-10-28Fix nits in error messages.Raymond Hettinger-4/+4
2003-10-26Minor improvements to itertools.tee():Raymond Hettinger-9/+9
2003-10-25Improvements to coding for itertools.tee():Raymond Hettinger-3/+26
2003-10-24Added itertools.tee()Raymond Hettinger-0/+259
2003-08-30For safety, replace a tuple entry before decreffing it.Raymond Hettinger-1/+3
2003-08-29SF bug #793826: using itertools.izip to mutate tuplesRaymond Hettinger-2/+4
2003-08-08Modified itertools.izip() to match the behavior of __builtin__.zip()Raymond Hettinger-6/+2
2003-07-14SF patch #770521: make itertools type declarations staticRaymond Hettinger-24/+24
2003-06-18Minor updates:Raymond Hettinger-3/+13
2003-06-17Add missing DECREF.Raymond Hettinger-1/+3
2003-05-23PyType_GenericAlloc is inherited from object.Raymond Hettinger-12/+12
2003-05-22Fixed dotted name assertion.Raymond Hettinger-2/+2
2003-05-03* Added a substantial number of edge case and argument tests forRaymond Hettinger-0/+3
2003-05-02The previous made the stop argument optional.Raymond Hettinger-2/+2
2003-05-02SF bug #730685: itertools.islice stop argument is not optionalRaymond Hettinger-13/+33
2003-04-14Fix docstring typoAndrew M. Kuchling-1/+1
2003-03-17Renamed PyObject_GenericGetIter to PyObject_SelfIterRaymond Hettinger-12/+12
2003-03-17Created PyObject_GenericGetIter().Raymond Hettinger-96/+12
2003-03-01Several of the tools can make direct calls the inner iterators.Raymond Hettinger-9/+24
2003-02-23User requested changes to the itertools module.Raymond Hettinger-52/+236
2003-02-09Remove unused variable.Guido van Rossum-1/+1
2003-02-09C Code:Raymond Hettinger-124/+248