summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_itertools.py
Commit message (Collapse)AuthorAgeFilesLines
* #7092: Silence more py3k warnings. Patch by Florent Xicluna.Ezio Melotti2010-02-031-9/+14
|
* use assert[Not]In where appropriateEzio Melotti2010-01-231-1/+1
|
* Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran2010-01-081-12/+9
| | | | mistake. ( It may come in for sure tough)
* Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵Senthil Kumaran2010-01-081-9/+12
| | | | Patch by flox
* Issue 7410: deepcopy of itertools.count resets the countRaymond Hettinger2009-11-301-0/+9
|
* Fix exception handling in itertools.izip_longest().Raymond Hettinger2009-11-011-0/+40
|
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-7/+7
|
* Fix keyword arguments for itertools.count().Raymond Hettinger2009-02-211-0/+2
| | | | Step arg without a start arg was ignored.
* Add some cross-references to the docs. Simplify the python code equivalent ↵Raymond Hettinger2009-02-191-3/+3
| | | | for izip(). Supply an optional argument for the nth() recipe.
* Add keyword arg support to itertools.repeat().Raymond Hettinger2009-02-191-0/+1
|
* Add keyword arg support to itertools.compress().Raymond Hettinger2009-02-191-0/+1
|
* Add GC support to count() objects. Backport candidate.Raymond Hettinger2009-02-161-0/+5
|
* Add keyword argument support to itertools.count().Raymond Hettinger2009-02-141-0/+2
|
* One more test.Raymond Hettinger2009-02-121-0/+3
|
* Add an extra testcase.Raymond Hettinger2009-02-121-0/+3
|
* Issue 5032: added a step argument to itertools.count() and allowed ↵Raymond Hettinger2009-02-121-1/+36
| | | | non-integer arguments.
* Minor doc fixups.Raymond Hettinger2009-02-041-3/+6
|
* Add more tests for the powerset() recipe.Raymond Hettinger2009-01-271-0/+6
|
* More exhaustive combinatoric checks.Raymond Hettinger2009-01-271-16/+28
|
* Stronger tests for combinatoric relationships.Raymond Hettinger2009-01-271-1/+5
|
* Add tests to verify combinatoric relationships.Raymond Hettinger2009-01-271-0/+26
|
* Promote combinations_with_replacement() from a recipe to a regular itertool.Raymond Hettinger2009-01-271-38/+78
|
* Improved itertools recipe for generating powerset().Raymond Hettinger2009-01-251-7/+5
|
* Promote compress() from a recipe to being a regular itertool.Raymond Hettinger2009-01-251-8/+32
|
* Forward port r68394 for issue 4816.Raymond Hettinger2009-01-081-9/+33
|
* Issue #4615. Document how to use itertools for de-duping.Raymond Hettinger2009-01-021-0/+36
|
* Alter recipe to show how to call izip_longest() withRaymond Hettinger2008-07-311-2/+1
| | | | both a keyword argument and star arguments.
* Neaten-up the itertools recipes.Raymond Hettinger2008-07-301-6/+4
|
* Clean-up itertools docs and recipes.Raymond Hettinger2008-07-191-55/+17
|
* Fix compress() recipe in docs to use itertools.Raymond Hettinger2008-07-191-3/+3
|
* Add recipe to the itertools docs.Raymond Hettinger2008-07-191-0/+18
|
* Simplify demo code.Raymond Hettinger2008-03-231-1/+1
|
* Add recipe to docs.Raymond Hettinger2008-03-111-0/+9
|
* Tweak recipes and testsRaymond Hettinger2008-03-071-7/+30
|
* Issue 2246: itertools grouper object did not participate in GC (should be ↵Raymond Hettinger2008-03-061-0/+7
| | | | backported).
* More tests.Raymond Hettinger2008-03-061-6/+144
|
* C implementation of itertools.permutations().Raymond Hettinger2008-03-051-13/+18
|
* Beef-up docs and tests for itertools. Fix-up end-case for product().Raymond Hettinger2008-03-041-6/+112
|
* Handle the repeat keyword argument for itertools.product().Raymond Hettinger2008-02-291-0/+3
|
* Add alternate constructor for itertools.chain().Raymond Hettinger2008-02-281-0/+7
|
* Have itertools.chain() consume its inputs lazily instead of building a tuple ↵Raymond Hettinger2008-02-281-2/+2
| | | | of iterators at the outset.
* Larger test rangeRaymond Hettinger2008-02-271-1/+1
|
* Add itertools.combinations().Raymond Hettinger2008-02-261-0/+24
|
* Make sure the itertools filter functions give the same performance for ↵Raymond Hettinger2008-02-251-0/+2
| | | | func=bool as func=None.
* Improve the implementation of itertools.product()Raymond Hettinger2008-02-231-0/+3
| | | | | | | | * 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).
* First draft for itertools.product(). Docs and other updates forthcoming.Raymond Hettinger2008-02-221-0/+28
|
* Make starmap() match its pure python definition and accept any itertable ↵Raymond Hettinger2008-01-171-1/+2
| | | | input (not just tuples).
* Fix test of count.__repr__() to ignore the 'L' if the count is a longRaymond Hettinger2007-10-121-1/+4
|
* itertools.count() no longer limited to sys.maxint.Raymond Hettinger2007-10-041-1/+6
|
* Fix those parts in the testsuite that assumed that sys.maxint would cause ↵Kristján Valur Jónsson2007-05-031-2/+4
| | | | overflow on x64. Now the testsuite is well behaved on that platform.