summaryrefslogtreecommitdiff
path: root/Modules/itertoolsmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #28322: Fixed possible crashes when unpickle itertools objects fromSerhiy Storchaka2016-10-021-6/+34
|\ | | | | | | incorrect pickle data. Based on patch by John Leitch.
| * Issue #28322: Fixed possible crashes when unpickle itertools objects fromSerhiy Storchaka2016-10-021-5/+35
| | | | | | | | incorrect pickle data. Based on patch by John Leitch.
* | Issue #28019: itertools.count() no longer rounds non-integer step in rangeSerhiy Storchaka2016-09-101-16/+29
|\ \ | |/ | | | | between 1.0 and 2.0 to 1.
| * Issue #28019: itertools.count() no longer rounds non-integer step in rangeSerhiy Storchaka2016-09-101-16/+29
| | | | | | | | between 1.0 and 2.0 to 1.
* | Issue #27626: Merge spelling fixes from 3.5Martin Panter2016-07-281-1/+1
|\ \ | |/
| * Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-281-1/+1
| | | | | | | | Based on patch by Ville Skyttä.
* | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and errorSerhiy Storchaka2016-04-171-1/+1
|\ \ | |/ | | | | messages.
| * Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
| |
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka2016-04-101-2/+2
|\ \ | |/ | | | | in places where Py_DECREF was used.
| * Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka2016-04-101-1/+1
| | | | | | | | in places where Py_DECREF was used.
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-18/+18
|\ \ | |/
| * Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-14/+14
| |
* | Issue #25718: Fixed pickling and copying the accumulate() iterator with ↵Serhiy Storchaka2016-03-061-0/+17
|\ \ | |/ | | | | total is None.
| * Issue #25718: Fixed pickling and copying the accumulate() iterator with ↵Serhiy Storchaka2016-03-061-0/+17
| | | | | | | | total is None.
* | merge 3.5Benjamin Peterson2016-01-011-2/+0
|\ \ | |/
| * merge 3.4Benjamin Peterson2016-01-011-2/+0
| |\
| | * merge 3.3Benjamin Peterson2016-01-011-2/+0
| | |\
| | | * remove some copyright notices supserseded by the toplevel onesBenjamin Peterson2016-01-011-2/+0
| | | |
* | | | Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR.Serhiy Storchaka2015-12-271-16/+6
| | | | | | | | | | | | | | | | | | | | Old code is correct, but with Py_SETREF and Py_CLEAR it can be cleaner. This patch doesn't fix bugs and hence there is no need to backport it.
* | | | Issue #20440: Applied yet one patch for using Py_SETREF.Serhiy Storchaka2015-12-271-34/+21
|\ \ \ \ | |/ / / | | | | | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR.
| * | | Issue #20440: Applied yet one patch for using Py_SETREF.Serhiy Storchaka2015-12-271-35/+22
| | | | | | | | | | | | | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR.
* | | | Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka2015-12-241-2/+1
|\ \ \ \ | |/ / / | | | | | | | | macro Py_SETREF.
| * | | Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka2015-12-241-2/+1
| | | | | | | | | | | | | | | | macro Py_SETREF.
* | | | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-191-4/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
| * | | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-191-4/+4
| | | | | | | | | | | | | | | | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
* | | | Issue #25523: Merge a-to-an corrections from 3.5.Serhiy Storchaka2015-11-021-1/+1
|\ \ \ \ | |/ / /
| * | | Issue #25523: Merge a-to-an corrections from 3.4.Serhiy Storchaka2015-11-021-1/+1
| |\ \ \ | | |/ /
| | * | Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-021-1/+1
| | | |
* | | | Issue #25021: Merge 3.5 to defaultKristján Valur Jónsson2015-09-121-2/+10
|\ \ \ \ | |/ / /
| * | | Issue #25021: Merge 3.4 to 3.5Kristján Valur Jónsson2015-09-121-2/+10
| |\ \ \ | | |/ /
| | * | Issue #25021: Merge from 3.3 to 3.4Kristján Valur Jónsson2015-09-121-2/+10
| | |\ \ | | | |/
| | | * Issue #25021: Correctly make sure that product.__setstate__ does not accessKristján Valur Jónsson2015-09-121-2/+10
| | | | | | | | | | | | | | | | invalid memory.
* | | | Minor cleanupsRaymond Hettinger2015-08-171-82/+74
| | | |
* | | | Issue #24874: Speed-up itertools and make it pickles more compact.Raymond Hettinger2015-08-161-21/+41
| | | |
* | | | Neaten-up whitespace, vertical alignment, and line-wrapping.Raymond Hettinger2015-08-161-15/+17
| | | |
* | | | Inline PyIter_Next() matching what was done for other itertools.Raymond Hettinger2015-08-161-2/+2
| | | |
* | | | Fix oddly placed whitespaceRaymond Hettinger2015-08-151-1/+1
| | | |
* | | | Remove dead code (unreachable)Raymond Hettinger2015-08-151-5/+2
| | | |
* | | | Fix crash in itertools.cycle.__setstate__() caused by lack of type checking.Raymond Hettinger2015-08-151-1/+1
| | | | | | | | | | | | | | | | Will backport after the 3.6 release is done.
* | | | Neaten-up vertical alignment of commentsRaymond Hettinger2015-08-141-62/+62
|/ / /
* | | mergeRaymond Hettinger2015-07-281-5/+7
|\ \ \ | |/ /
| * | Issue #24735: Fix invalid memory access in combinations_with_replacement()Raymond Hettinger2015-07-281-5/+7
| | |
* | | Fixed indentation of Python examples in C comments.Serhiy Storchaka2015-06-111-11/+11
|\ \ \ | |/ /
| * | Fixed indentation of Python examples in C comments.Serhiy Storchaka2015-06-111-11/+11
| | |
* | | Issue #22883: Got rid of outdated references to PyInt and PyString in comments.Serhiy Storchaka2015-02-171-1/+1
|/ /
* | Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.Serhiy Storchaka2015-02-031-20/+6
|\ \ | |/ | | | | Used PyMem_New to check overflow.
| * Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.Serhiy Storchaka2015-02-031-20/+6
| | | | | | | | Used PyMem_New to check overflow.
* | merge 3.3 (#23364, #23363)Benjamin Peterson2015-02-011-2/+16
|\ \ | |/
| * check for overflows in permutations() and product() (closes #23363, closes ↵Benjamin Peterson2015-02-011-2/+16
| | | | | | | | #23364)
* | merge 3.3 (#23365)Benjamin Peterson2015-02-011-0/+4
|\ \ | |/