Commit Graph

91 Commits

Author SHA1 Message Date
Benjamin Peterson
5c8da86f3a convert usage of fail* to assert* 2009-06-30 22:57:08 +00:00
Raymond Hettinger
aa681c7b99 Fix keyword arguments for itertools.count().
Step arg without a start arg was ignored.
2009-02-21 07:17:22 +00:00
Raymond Hettinger
f9bce83e71 Add some cross-references to the docs. Simplify the python code equivalent for izip(). Supply an optional argument for the nth() recipe. 2009-02-19 05:34:35 +00:00
Raymond Hettinger
182edaefb5 Add keyword arg support to itertools.repeat(). 2009-02-19 02:38:25 +00:00
Raymond Hettinger
2e2909f584 Add keyword arg support to itertools.compress(). 2009-02-19 02:15:14 +00:00
Raymond Hettinger
b21d8109af Add GC support to count() objects. Backport candidate. 2009-02-16 20:39:12 +00:00
Raymond Hettinger
a4038038c6 Add keyword argument support to itertools.count(). 2009-02-14 00:25:51 +00:00
Raymond Hettinger
dbe3bfbb30 One more test. 2009-02-12 12:43:01 +00:00
Raymond Hettinger
aa04461260 Add an extra testcase. 2009-02-12 12:04:26 +00:00
Raymond Hettinger
31c769ca89 Issue 5032: added a step argument to itertools.count() and allowed non-integer arguments. 2009-02-12 05:39:46 +00:00
Raymond Hettinger
d507afdc81 Minor doc fixups. 2009-02-04 10:52:32 +00:00
Raymond Hettinger
560f9a8a90 Add more tests for the powerset() recipe. 2009-01-27 13:26:35 +00:00
Raymond Hettinger
2f6c2e03a8 More exhaustive combinatoric checks. 2009-01-27 10:36:14 +00:00
Raymond Hettinger
f93f3032c6 Stronger tests for combinatoric relationships. 2009-01-27 09:52:35 +00:00
Raymond Hettinger
2976aaa396 Add tests to verify combinatoric relationships. 2009-01-27 09:33:06 +00:00
Raymond Hettinger
d081abc8be Promote combinations_with_replacement() from a recipe to a regular itertool. 2009-01-27 02:58:49 +00:00
Raymond Hettinger
68d919e4d6 Improved itertools recipe for generating powerset(). 2009-01-25 21:31:47 +00:00
Raymond Hettinger
2bcb8e9b0d Promote compress() from a recipe to being a regular itertool. 2009-01-25 21:04:14 +00:00
Raymond Hettinger
5b913e31a1 Forward port r68394 for issue 4816. 2009-01-08 06:39:04 +00:00
Raymond Hettinger
44e1581df3 Issue #4615. Document how to use itertools for de-duping. 2009-01-02 21:26:45 +00:00
Raymond Hettinger
f080e6d7e0 Alter recipe to show how to call izip_longest() with
both a keyword argument and star arguments.
2008-07-31 01:19:50 +00:00
Raymond Hettinger
efdf706a9f Neaten-up the itertools recipes. 2008-07-30 07:27:30 +00:00
Raymond Hettinger
f1f46f0350 Clean-up itertools docs and recipes. 2008-07-19 23:58:47 +00:00
Raymond Hettinger
39e0eb766f Fix compress() recipe in docs to use itertools. 2008-07-19 23:21:57 +00:00
Raymond Hettinger
3369167089 Add recipe to the itertools docs. 2008-07-19 00:43:00 +00:00