Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [2.7] bpo-34410: Fix a crash in the tee iterator when re-enter it. ↵ | Serhiy Storchaka | 2019-09-09 | 1 | -0/+41 |
| | | | | | | | (GH-15625) (GH-15740) RuntimeError is now raised in this case. (cherry picked from commit 526a01467b3277f9fcf7f91e66c23321caa1245d) | ||||
* | [2.7] bpo-27212: Modify islice recipe to consume initial values preceding ↵ | Cheryl Sabella | 2018-04-02 | 1 | -1/+68 |
| | | | | | start (GH-6195) (GH-6339) (cherry picked from commit da1734c58d2f97387ccc9676074717d38b044128) | ||||
* | Fix DeprecationWarning in tests (#4345) | Victor Stinner | 2017-11-08 | 1 | -0/+2 |
| | | | | | | Define __hash__() in test_functools and test_itertools to fix the following warning: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x | ||||
* | [2.7] bpo-30347: Stop crashes when concurrently iterate over ↵ | Serhiy Storchaka | 2017-09-26 | 1 | -0/+23 |
| | | | | | itertools.groupby() iterators. (GH-1557). (#3772) (cherry picked from commit c740e4fe8a9bc5815dc18c38d7f7600b128c3c51) | ||||
* | bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#913) | T. Wouters | 2017-03-30 | 1 | -0/+8 |
| | | | | | | Fix the use of recursion in itertools.chain.from_iterable. Using recursion is unnecessary, and can easily cause stack overflows, especially when building in low optimization modes or with Py_DEBUG enabled. (cherry picked from commit 5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14) | ||||
* | Issue #28019: Backported additional tests for itertools.count(). | Serhiy Storchaka | 2016-09-10 | 1 | -3/+26 |
| | |||||
* | Document another recipe for itertools: all_equal(). Inspired by David Beazley. | Raymond Hettinger | 2016-03-07 | 1 | -0/+8 |
| | |||||
* | Make some tests more frienly to MemoryError. | Serhiy Storchaka | 2015-03-28 | 1 | -2/+6 |
| | | | | Free memory, unlock hanging threads. | ||||
* | Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests. | Serhiy Storchaka | 2015-02-02 | 1 | -7/+5 |
| | | | | Used PyMem_New to check overflow. | ||||
* | check for overflows in permutations() and product() (closes #23363, closes ↵ | Benjamin Peterson | 2015-02-02 | 1 | -0/+12 |
| | | | | #23364) | ||||
* | check for overflow in combinations_with_replacement (closes #23365) | Benjamin Peterson | 2015-02-02 | 1 | -0/+5 |
| | |||||
* | detect overflow in combinations (closes #23366) | Benjamin Peterson | 2015-02-02 | 1 | -0/+5 |
| | |||||
* | Issue #22777: Test pickling with all protocols. | Serhiy Storchaka | 2014-12-15 | 1 | -1/+2 |
| | |||||
* | allow test to work on implementations not using ref-counting (closes #22265) | Benjamin Peterson | 2014-08-24 | 1 | -0/+1 |
| | |||||
* | Issue #19145: Fix handling of negative values for a "times" keyword ↵ | Raymond Hettinger | 2014-06-25 | 1 | -0/+9 |
| | | | | | | argument to itertools.repeat()> (Patch contributed by Vajrasky Kok.) | ||||
* | Issue #21321: itertools.islice() now releases the reference to the source ↵ | Antoine Pitrou | 2014-04-29 | 1 | -2/+11 |
| | | | | | | iterator when the slice is exhausted. Patch by Anton Afanasyev. | ||||
* | Issue #21346: Fix typos in test_itertools. Patch by Brian Kearns. | Zachary Ware | 2014-04-24 | 1 | -2/+2 |
| | |||||
* | Revert a premature patch for issue #14010 (changeset d17d10c84d27). | Serhiy Storchaka | 2013-04-06 | 1 | -134/+1 |
| | |||||
* | Issue #14010: Fix a crash when iterating or deleting deeply nested filters | Serhiy Storchaka | 2013-04-06 | 1 | -1/+134 |
| | | | | in itertools module (i.e. itertools.izip(), itertools.chain(), etc). | ||||
* | Optimize the test for issue #13454. | Serhiy Storchaka | 2013-01-26 | 1 | -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 Storchaka | 2013-01-25 | 1 | -0/+8 |
| | | | | if all other iterators were very advanced before. | ||||
* | Backport 2eb8789e30e7. | Alex Gaynor | 2011-07-17 | 1 | -6/+15 |
| | |||||
* | #11565: Fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
| | |||||
* | Issue #10323: Predictable final state for slice(). | Raymond Hettinger | 2010-11-30 | 1 | -0/+5 |
| | |||||
* | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 1 | -11/+11 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
* | #7092: Silence more py3k warnings. Patch by Florent Xicluna. | Ezio Melotti | 2010-02-03 | 1 | -9/+14 |
| | |||||
* | use assert[Not]In where appropriate | Ezio Melotti | 2010-01-23 | 1 | -1/+1 |
| | |||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -12/+9 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -9/+12 |
| | | | | Patch by flox | ||||
* | Issue 7410: deepcopy of itertools.count resets the count | Raymond Hettinger | 2009-11-30 | 1 | -0/+9 |
| | |||||
* | Fix exception handling in itertools.izip_longest(). | Raymond Hettinger | 2009-11-01 | 1 | -0/+40 |
| | |||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -7/+7 |
| | |||||
* | Fix keyword arguments for itertools.count(). | Raymond Hettinger | 2009-02-21 | 1 | -0/+2 |
| | | | | Step arg without a start arg was ignored. | ||||
* | Add some cross-references to the docs. Simplify the python code equivalent ↵ | Raymond Hettinger | 2009-02-19 | 1 | -3/+3 |
| | | | | for izip(). Supply an optional argument for the nth() recipe. | ||||
* | Add keyword arg support to itertools.repeat(). | Raymond Hettinger | 2009-02-19 | 1 | -0/+1 |
| | |||||
* | Add keyword arg support to itertools.compress(). | Raymond Hettinger | 2009-02-19 | 1 | -0/+1 |
| | |||||
* | Add GC support to count() objects. Backport candidate. | Raymond Hettinger | 2009-02-16 | 1 | -0/+5 |
| | |||||
* | Add keyword argument support to itertools.count(). | Raymond Hettinger | 2009-02-14 | 1 | -0/+2 |
| | |||||
* | One more test. | Raymond Hettinger | 2009-02-12 | 1 | -0/+3 |
| | |||||
* | Add an extra testcase. | Raymond Hettinger | 2009-02-12 | 1 | -0/+3 |
| | |||||
* | Issue 5032: added a step argument to itertools.count() and allowed ↵ | Raymond Hettinger | 2009-02-12 | 1 | -1/+36 |
| | | | | non-integer arguments. | ||||
* | Minor doc fixups. | Raymond Hettinger | 2009-02-04 | 1 | -3/+6 |
| | |||||
* | Add more tests for the powerset() recipe. | Raymond Hettinger | 2009-01-27 | 1 | -0/+6 |
| | |||||
* | More exhaustive combinatoric checks. | Raymond Hettinger | 2009-01-27 | 1 | -16/+28 |
| | |||||
* | Stronger tests for combinatoric relationships. | Raymond Hettinger | 2009-01-27 | 1 | -1/+5 |
| | |||||
* | Add tests to verify combinatoric relationships. | Raymond Hettinger | 2009-01-27 | 1 | -0/+26 |
| | |||||
* | Promote combinations_with_replacement() from a recipe to a regular itertool. | Raymond Hettinger | 2009-01-27 | 1 | -38/+78 |
| | |||||
* | Improved itertools recipe for generating powerset(). | Raymond Hettinger | 2009-01-25 | 1 | -7/+5 |
| | |||||
* | Promote compress() from a recipe to being a regular itertool. | Raymond Hettinger | 2009-01-25 | 1 | -8/+32 |
| | |||||
* | Forward port r68394 for issue 4816. | Raymond Hettinger | 2009-01-08 | 1 | -9/+33 |
| |