Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GH-98363: Fix exception handling in batched() (GH-98523) | Raymond Hettinger | 2022-10-21 | 1 | -0/+15 |
| | |||||
* | GH-98363: Add itertools.batched() (GH-98364) | Raymond Hettinger | 2022-10-17 | 1 | -0/+79 |
| | |||||
* | gh-93814: Add infinite test for itertools.chain.from_iterable (GH-93815) | Jeong YunWon | 2022-06-14 | 1 | -0/+1 |
| | | | | | fix #93814 Automerge-Triggered-By: GH:rhettinger | ||||
* | bpo-40280: Detect missing threading on WASM platforms (GH-32352) | Christian Heimes | 2022-04-07 | 1 | -0/+2 |
| | | | Co-authored-by: Brett Cannon <brett@python.org> | ||||
* | Move doctests to the main docs. Eliminate duplication. Improve coverage. ↵ | Raymond Hettinger | 2022-01-25 | 1 | -393/+0 |
| | | | | (GH-30869) | ||||
* | Improve grouper() recipe to demonstrate all forms of zip() (GH-30837) | Raymond Hettinger | 2022-01-23 | 1 | -6/+29 |
| | |||||
* | bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) | Serhiy Storchaka | 2021-09-20 | 1 | -21/+6 |
| | | | Alo use load_tests() for adding tests. | ||||
* | Docs: Clarify the before_and_after() example (GH-28458) | Raymond Hettinger | 2021-09-20 | 1 | -3/+4 |
| | |||||
* | bpo-43413: Fix handling keyword arguments in subclasses of some buitin ↵ | Serhiy Storchaka | 2021-09-12 | 1 | -10/+51 |
| | | | | | | | | classes (GH-26456) * Constructors of subclasses of some buitin classes (e.g. tuple, list, frozenset) no longer accept arbitrary keyword arguments. * Subclass of set can now define a __new__() method with additional keyword parameters without overriding also __init__(). | ||||
* | Add more itertool recipes (GH-28165) | Raymond Hettinger | 2021-09-07 | 1 | -0/+23 |
| | |||||
* | bpo-44571: Add itertool recipe for a variant of takewhile() (GH-28167) | Raymond Hettinger | 2021-09-05 | 1 | -0/+49 |
| | |||||
* | bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) | Serhiy Storchaka | 2021-08-29 | 1 | -0/+1 |
| | |||||
* | bpo-42536: GC track recycled tuples (GH-23623) | Brandt Bucher | 2020-12-05 | 1 | -0/+47 |
| | | | | | | | | | | | | | | | | Several built-in and standard library types now ensure that their internal result tuples are always tracked by the garbage collector: - collections.OrderedDict.items - dict.items - enumerate - functools.reduce - itertools.combinations - itertools.combinations_with_replacement - itertools.permutations - itertools.product - itertools.zip_longest - zip Previously, they could have become untracked by a prior garbage collection. | ||||
* | bpo-38200: Add itertools.pairwise() (GH-23549) | Raymond Hettinger | 2020-12-01 | 1 | -18/+34 |
| | |||||
* | bpo-42450: Minor updates to the itertools recipes (GH-23555) | Raymond Hettinger | 2020-11-29 | 1 | -2/+2 |
| | |||||
* | bpo-34410: Fix a crash in the tee iterator when re-enter it. (GH-15625) | Serhiy Storchaka | 2019-09-09 | 1 | -0/+37 |
| | | | | RuntimeError is now raised in this case. | ||||
* | bpo-37976: Prevent shadowing of TypeError in zip() (GH-15592) | Sergey Fedoseev | 2019-08-30 | 1 | -0/+12 |
| | |||||
* | bpo-37707: Exclude expensive unit tests from PGO task (GH-15009) | Neil Schemenauer | 2019-07-30 | 1 | -0/+1 |
| | | | | | Mark some individual tests to skip when --pgo is used. The tests marked increase the PGO task time significantly and likely don't help improve optimization of the final executable. | ||||
* | bpo-34659: Adds initial kwarg to itertools.accumulate() (GH-9345) | Lisa Roach | 2018-09-24 | 1 | -0/+6 |
| | |||||
* | Add a prepend() recipe to teach a chain() idiom (GH-6415) | Raymond Hettinger | 2018-04-08 | 1 | -0/+8 |
| | |||||
* | bpo-27212: Modify islice recipe to consume initial values preceding start ↵ | Cheryl Sabella | 2018-03-27 | 1 | -0/+67 |
| | | | | (GH-6195) | ||||
* | Add itertools recipe for directly finding the n-th combination (#5161) | Raymond Hettinger | 2018-01-13 | 1 | -0/+33 |
| | |||||
* | bpo-30347: Stop crashes when concurrently iterate over itertools.groupby() ↵ | Serhiy Storchaka | 2017-09-26 | 1 | -0/+24 |
| | | | | iterators. (#1557) | ||||
* | bpo-30346: An iterator produced by the itertools.groupby() iterator (#1569) | Serhiy Storchaka | 2017-09-24 | 1 | -0/+20 |
| | | | now becames exhausted after advancing the groupby iterator. | ||||
* | bpo-30537: use PyNumber in itertools.islice instead of PyLong (#1918) | Will Roberts | 2017-06-08 | 1 | -0/+13 |
| | | | | | | | | * bpo-30537: use PyNumber in itertools instead of PyLong * bpo-30537: revert changes except to islice_new * bpo-30537: test itertools.islice and add entry to Misc/NEWS | ||||
* | bpo-30534: Fixed error messages when pass keyword arguments (#1901) | Serhiy Storchaka | 2017-06-06 | 1 | -1/+1 |
| | | | | | | | to functions implemented in C that don't support this. Also unified error messages for functions that don't take positional or keyword arguments. | ||||
* | bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#889) | 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. | ||||
* | Issue #28322: Fixed possible crashes when unpickle itertools objects from | Serhiy Storchaka | 2016-10-02 | 1 | -4/+20 |
|\ | | | | | | | incorrect pickle data. Based on patch by John Leitch. | ||||
| * | Issue #28322: Fixed possible crashes when unpickle itertools objects from | Serhiy Storchaka | 2016-10-02 | 1 | -0/+32 |
| | | | | | | | | incorrect pickle data. Based on patch by John Leitch. | ||||
* | | Issue #28019: itertools.count() no longer rounds non-integer step in range | Serhiy Storchaka | 2016-09-10 | 1 | -5/+23 |
|\ \ | |/ | | | | | between 1.0 and 2.0 to 1. | ||||
| * | Issue #28019: itertools.count() no longer rounds non-integer step in range | Serhiy Storchaka | 2016-09-10 | 1 | -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 Panter | 2016-05-26 | 1 | -1/+1 |
| | | |||||
* | | Issue #23277: Remove more unused sys and os imports. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
| | | |||||
* | | Merge | Raymond Hettinger | 2016-03-07 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Document another recipe for itertools: all_equal(). Inspired by David Beazley. | Raymond Hettinger | 2016-03-07 | 1 | -0/+8 |
| | | |||||
* | | Issue #25718: Fixed pickling and copying the accumulate() iterator with ↵ | Serhiy Storchaka | 2016-03-06 | 1 | -0/+10 |
|\ \ | |/ | | | | | total is None. | ||||
| * | Issue #25718: Fixed pickling and copying the accumulate() iterator with ↵ | Serhiy Storchaka | 2016-03-06 | 1 | -0/+10 |
| | | | | | | | | total is None. | ||||
* | | Issue #25021: Merge 3.5 to default | Kristján Valur Jónsson | 2015-09-12 | 1 | -0/+10 |
|\ \ | |/ | |||||
| * | Issue #25021: Merge 3.4 to 3.5 | Kristján Valur Jónsson | 2015-09-12 | 1 | -0/+10 |
| |\ | |||||
| | * | Issue #25021: Merge from 3.3 to 3.4 | Kristján Valur Jónsson | 2015-09-12 | 1 | -0/+10 |
| | |\ | |||||
| | | * | Issue #25021: Correctly make sure that product.__setstate__ does not access | Kristján Valur Jónsson | 2015-09-12 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | invalid memory. | ||||
* | | | | Improve comment | Raymond Hettinger | 2015-08-15 | 1 | -2/+2 |
| | | | | |||||
* | | | | Add more tests for pickling itertools.cycle | Raymond Hettinger | 2015-08-15 | 1 | -0/+17 |
| | | | | |||||
* | | | | Fix crash in itertools.cycle.__setstate__() caused by lack of type checking. | Raymond Hettinger | 2015-08-15 | 1 | -0/+33 |
|/ / / | | | | | | | | | | Will backport after the 3.6 release is done. | ||||
* | | | Make some tests more frienly to MemoryError. | Serhiy Storchaka | 2015-03-28 | 1 | -2/+6 |
|\ \ \ | |/ / | | | | | | | Free memory, unlock hanging threads. | ||||
| * | | Make some tests more frienly to MemoryError. | Serhiy Storchaka | 2015-03-28 | 1 | -2/+6 |
| | | | | | | | | | | | | Free memory, unlock hanging threads. | ||||
* | | | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -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 Storchaka | 2015-03-12 | 1 | -1/+1 |
| | | | | | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. | ||||
* | | | Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests. | Serhiy Storchaka | 2015-02-02 | 1 | -7/+5 |
|\ \ \ | |/ / | | | | | | | Used PyMem_New to check overflow. | ||||
| * | | Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests. | Serhiy Storchaka | 2015-02-02 | 1 | -7/+5 |
| |\ \ | | |/ | | | | | | | Used PyMem_New to check overflow. |