summaryrefslogtreecommitdiff
path: root/Modules/itertoolsmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #10323: Predictable final state for slice().Raymond Hettinger2010-11-301-3/+4
|
* Remove extra ] from itertools.count docstring.Ezio Melotti2010-06-111-1/+1
|
* Untabify C files. Will watch buildbots.Antoine Pitrou2010-05-091-3042/+3042
|
* Handle step values other than one.Raymond Hettinger2009-11-301-1/+2
|
* Issue 7410: deepcopy of itertools.count resets the countRaymond Hettinger2009-11-301-1/+16
|
* Fix docstrings for itertools combinatoric functions.Raymond Hettinger2009-11-191-4/+4
|
* Fix exception handling in itertools.izip_longest().Raymond Hettinger2009-11-011-35/+37
|
* Issue 6305: Clarify error message for large arguments to itertools.islice().Raymond Hettinger2009-06-231-3/+3
|
* fix compiler warningsBenjamin Peterson2009-02-211-6/+6
|
* Fix keyword arguments for itertools.count().Raymond Hettinger2009-02-211-28/+43
| | | | Step arg without a start arg was ignored.
* Add keyword arg support to itertools.repeat().Raymond Hettinger2009-02-191-7/+6
|
* Add keyword arg support to itertools.compress().Raymond Hettinger2009-02-191-6/+4
|
* PyList_Append() can failBenjamin Peterson2009-02-161-2/+4
|
* fix compiler warningsBenjamin Peterson2009-02-161-5/+5
|
* Add GC support to count() objects. Backport candidate.Raymond Hettinger2009-02-161-4/+14
|
* Add keyword argument support to itertools.count().Raymond Hettinger2009-02-141-6/+5
|
* Fix spaces/tabs in example.Raymond Hettinger2009-02-121-4/+3
|
* Issue 5032: added a step argument to itertools.count() and allowed ↵Raymond Hettinger2009-02-121-33/+86
| | | | non-integer arguments.
* Issue 5171: itertools.product docstring missing 'repeat' argumentRaymond Hettinger2009-02-091-0/+3
|
* Fix typo.Raymond Hettinger2009-01-291-1/+1
|
* Update itertools.__doc__ to include all tools.Raymond Hettinger2009-01-291-5/+12
|
* Promote combinations_with_replacement() from a recipe to a regular itertool.Raymond Hettinger2009-01-271-2/+251
|
* Promote compress() from a recipe to being a regular itertool.Raymond Hettinger2009-01-251-0/+157
|
* #3720: Interpreter crashes when an evil iterator removes its own next function.Amaury Forgeot d'Arc2009-01-121-11/+0
| | | | | | Now the slot is filled with a function that always raises. Will not backport: extensions compiled with 2.6.x would not run on 2.6.0.
* Forward port r68394 for issue 4816.Raymond Hettinger2009-01-081-10/+2
|
* #2536: fix itertools.permutations and itertools.combinations docstrings.Georg Brandl2008-06-101-3/+3
|
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-091-6/+6
| | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
* Renamed PyString to PyBytesChristian Heimes2008-05-261-6/+6
|
* Remove itertools warnings I had added before the 2-to-3 handled the migration.Raymond Hettinger2008-03-191-25/+0
|
* The filter() function does support a None argument in Py3.0.Raymond Hettinger2008-03-191-9/+0
|
* Added zip, map, filter to future_bultins (#2171)David Wolever2008-03-191-2/+11
|
* Consistent tense.Raymond Hettinger2008-03-131-1/+1
|
* Add 2-to-3 support for the itertools moved to builtins or renamed.Raymond Hettinger2008-03-131-0/+25
|
* Issue 2246: itertools grouper object did not participate in GC (should be ↵Raymond Hettinger2008-03-061-5/+15
| | | | backported).
* Small code cleanup.Raymond Hettinger2008-03-051-4/+2
|
* C implementation of itertools.permutations().Raymond Hettinger2008-03-051-0/+274
|
* Fix refleak in chain().Raymond Hettinger2008-03-041-1/+1
|
* Beef-up docs and tests for itertools. Fix-up end-case for product().Raymond Hettinger2008-03-041-4/+1
|
* Handle 0-tuples which can be singletons.Raymond Hettinger2008-03-021-1/+1
|
* Simplify code for itertools.product().Raymond Hettinger2008-03-021-13/+2
|
* Handle the repeat keyword argument for itertools.product().Raymond Hettinger2008-02-291-5/+27
|
* Add alternate constructor for itertools.chain().Raymond Hettinger2008-02-281-1/+25
|
* Have itertools.chain() consume its inputs lazily instead of building a tuple ↵Raymond Hettinger2008-02-281-51/+51
| | | | of iterators at the outset.
* The empty tuple is usually a singleton with a much higher refcnt than 1Christian Heimes2008-02-281-2/+5
|
* One too many decrefs.Raymond Hettinger2008-02-271-3/+1
|
* Add itertools.combinations().Raymond Hettinger2008-02-261-1/+225
|
* Coerced PyBool_Type to be able to compare it.Facundo Batista2008-02-251-2/+2
|
* Make sure the itertools filter functions give the same performance for ↵Raymond Hettinger2008-02-251-2/+2
| | | | func=bool as func=None.
* Add more commentsRaymond Hettinger2008-02-231-4/+4
|
* Improve the implementation of itertools.product()Raymond Hettinger2008-02-231-12/+43
| | | | | | | | * Fix-up issues pointed-out by Neal Norwitz. * Add extensive comments. * The lz->result variable is now a tuple instead of a list. * Use fast macro getitem/setitem calls so most code is in-line. * Re-use the result tuple if available (modify in-place instead of copy).