summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_itertools.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | 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.
| * | 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.
| | * 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.
* | | Issue #16148: implemented PEP 424Armin Ronacher2012-10-061-3/+2
|/ /
* | Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson2012-04-031-28/+358
| |
* | Mark itertools tests of tuple reuse as being specific to CPython.Alex Gaynor2011-07-171-6/+15
| |
* | Merge 3.2Kristjan Valur Jonsson2011-03-301-0/+5
|\ \ | |/
| * Merge 3.1Kristjan Valur Jonsson2011-03-301-0/+5
| |\
| | * Bugfix: Properly test for errors from PyLong_AsLong() in itertools.cycle.Kristjan Valur Jonsson2011-03-301-0/+5
| | | | | | | | | | | | | | | ti can raise an exception even if PyLong_Check() has succeeded.
* | | Add optional *func* argument to itertools.accumulate().Raymond Hettinger2011-03-281-1/+11
|/ /
* | #11565: Merge with 3.1.Ezio Melotti2011-03-161-1/+1
|\ \ | |/
| * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
| |
| * Issue #10323: Predictable final state for slice().Raymond Hettinger2010-11-301-0/+5
| |