summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_itertools.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #28019: itertools.count() no longer rounds non-integer step in rangeSerhiy Storchaka2016-09-101-5/+23
|\ | | | | | | between 1.0 and 2.0 to 1.
| * Issue #28019: itertools.count() no longer rounds non-integer step in rangeSerhiy Storchaka2016-09-101-5/+23
| | | | | | | | between 1.0 and 2.0 to 1.
* | Issue #27076: More doc and comment spelling fixes for 3.6, by Ville SkyttäMartin Panter2016-05-261-1/+1
| |
* | Issue #23277: Remove more unused sys and os imports.Serhiy Storchaka2016-04-241-1/+0
| |
* | MergeRaymond Hettinger2016-03-071-0/+8
|\ \ | |/
| * Document another recipe for itertools: all_equal(). Inspired by David Beazley.Raymond Hettinger2016-03-071-0/+8
| |
* | Issue #25718: Fixed pickling and copying the accumulate() iterator with ↵Serhiy Storchaka2016-03-061-0/+10
|\ \ | |/ | | | | total is None.
| * Issue #25718: Fixed pickling and copying the accumulate() iterator with ↵Serhiy Storchaka2016-03-061-0/+10
| | | | | | | | total is None.
* | Issue #25021: Merge 3.5 to defaultKristján Valur Jónsson2015-09-121-0/+10
|\ \ | |/
| * Issue #25021: Merge 3.4 to 3.5Kristján Valur Jónsson2015-09-121-0/+10
| |\
| | * Issue #25021: Merge from 3.3 to 3.4Kristján Valur Jónsson2015-09-121-0/+10
| | |\
| | | * Issue #25021: Correctly make sure that product.__setstate__ does not accessKristján Valur Jónsson2015-09-121-0/+10
| | | | | | | | | | | | | | | | invalid memory.
* | | | Improve commentRaymond Hettinger2015-08-151-2/+2
| | | |
* | | | Add more tests for pickling itertools.cycleRaymond Hettinger2015-08-151-0/+17
| | | |
* | | | Fix crash in itertools.cycle.__setstate__() caused by lack of type checking.Raymond Hettinger2015-08-151-0/+33
|/ / / | | | | | | | | | Will backport after the 3.6 release is done.
* | | Make some tests more frienly to MemoryError.Serhiy Storchaka2015-03-281-2/+6
|\ \ \ | |/ / | | | | | | Free memory, unlock hanging threads.
| * | Make some tests more frienly to MemoryError.Serhiy Storchaka2015-03-281-2/+6
| | | | | | | | | | | | Free memory, unlock hanging threads.
* | | Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-1/+1
|\ \ \ | |/ / | | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__.
| * | Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-1/+1
| | | | | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB.
* | | Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.Serhiy Storchaka2015-02-021-7/+5
|\ \ \ | |/ / | | | | | | Used PyMem_New to check overflow.
| * | Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.Serhiy Storchaka2015-02-021-7/+5
| |\ \ | | |/ | | | | | | Used PyMem_New to check overflow.
| | * Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.Serhiy Storchaka2015-02-021-7/+5
| | | | | | | | | | | | Used PyMem_New to check overflow.
* | | merge 3.4 (#23364, #23363)Benjamin Peterson2015-02-021-0/+12
|\ \ \ | |/ /
| * | merge 3.3 (#23364, #23363)Benjamin Peterson2015-02-021-0/+12
| |\ \ | | |/
| | * check for overflows in permutations() and product() (closes #23363, closes ↵Benjamin Peterson2015-02-021-0/+12
| | | | | | | | | | | | #23364)
* | | merge 3.4 (#23365)Benjamin Peterson2015-02-021-1/+5
|\ \ \ | |/ /
| * | merge 3.3 (#23365)Benjamin Peterson2015-02-021-1/+5
| |\ \ | | |/
| | * check for overflow in combinations_with_replacement (closes #23365)Benjamin Peterson2015-02-021-1/+5
| | |
* | | merge 3.4 (#23366)Benjamin Peterson2015-02-021-0/+5
|\ \ \ | |/ /
| * | merge 3.3 (#23366)Benjamin Peterson2015-02-021-0/+5
| |\ \ | | |/
| | * detect overflow in combinations (closes #23366)Benjamin Peterson2015-02-021-0/+5
| | |
* | | Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-68/+102
|\ \ \ | |/ /
| * | Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-68/+102
| | |
* | | PEP 479: Use the return-keyword instead of raising StopIteration inside a ↵Raymond Hettinger2014-11-231-2/+0
|/ / | | | | | | generators.
* | allow test to work on implementations not using ref-counting (closes #22265)Benjamin Peterson2014-08-241-0/+1
| |
* | Issue #19145: Fix handling of negative values for a "times" keyword ↵Raymond Hettinger2014-06-251-0/+13
| | | | | | | | | | | | argument to itertools.repeat()> (Patch contributed by Vajrasky Kok.)
* | Issue #21321: itertools.islice() now releases the reference to the source ↵Antoine Pitrou2014-04-291-2/+11
| | | | | | | | | | | | iterator when the slice is exhausted. Patch by Anton Afanasyev.
* | Issue #21346: Fix typo, make message consistent in test_itertools.Zachary Ware2014-04-241-1/+1
| | | | | | | | Pointed out by Brian Kearns.
* | Issue #18652: Add an itertools recipe for first_true()Raymond Hettinger2014-04-021-0/+16
| |
* | Issue #15475: Add __sizeof__ implementations for itertools objects.Serhiy Storchaka2013-12-091-1/+42
| |
* | Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-7/+7
|\ \ | |/ | | | | error messages and comments.
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-7/+7
| | | | | | | | error messages and comments.
* | Revert a premature patch for issue #14010 (changeset 846bd418aee5).Serhiy Storchaka2013-04-061-116/+1
|\ \ | |/
| * Revert a premature patch for issue #14010 (changeset aaaf36026511).Serhiy Storchaka2013-04-061-116/+1
| |
* | Issue #14010: Fix a crash when iterating or deleting deeply nested filtersSerhiy Storchaka2013-04-061-1/+116
|\ \ | |/ | | | | (builting and in itertools module, i.e. map(), itertools.chain(), etc).
| * Issue #14010: Fix a crash when iterating or deleting deeply nested filtersSerhiy Storchaka2013-04-061-1/+116
| | | | | | | | (builting and in itertools module, i.e. map(), itertools.chain(), etc).
* | Optimize the test for issue #13454.Serhiy Storchaka2013-01-261-4/+2
|\ \ | |/ | | | | Now it requires almost 4x less memory and is almost 2x faster.
| * Optimize the test for issue #13454.Serhiy Storchaka2013-01-261-4/+2
| |\ | | | | | | | | | Now it requires almost 4x less memory and is almost 2x faster.
| | * Optimize the test for issue #13454.Serhiy Storchaka2013-01-261-4/+2
| | | | | | | | | | | | Now it requires almost 4x less memory and is almost 2x faster.
* | | Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()Serhiy Storchaka2013-01-251-0/+8
|\ \ \ | |/ / | | | | | | if all other iterators were very advanced before.