| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-12-07 | bpo-42536: GC track recycled tuples (GH-23623) (GH-23652) | Brandt Bucher | -0/+26 | |
| 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. (cherry picked from commit 226a012d1cd61f42ecd3056c554922f359a1a35d) | ||||
| 2019-09-09 | bpo-34410: Fix a crash in the tee iterator when re-enter it. (GH-15625) | Miss Islington (bot) | -0/+9 | |
| RuntimeError is now raised in this case. (cherry picked from commit 526a01467b3277f9fcf7f91e66c23321caa1245d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
| 2019-08-29 | bpo-37976: Prevent shadowing of TypeError in zip() (GH-15592) (GH-15608) | Miss Islington (bot) | -4/+0 | |
| (cherry picked from commit 6a650aaf7735e30636db2721247f317064c2cfd4) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> | ||||
| 2019-05-30 | bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async ↵ | Jeroen Demeyer | -40/+40 | |
| (GH-13464) Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async | ||||
| 2019-03-26 | bpo-36430: Fix a possible reference leak in itertools.count(). (GH-12551) | Zackery Spytz | -0/+1 | |
| 2019-02-25 | bpo-36030: Add _PyTuple_FromArray() function (GH-11954) | Sergey Fedoseev | -24/+5 | |
| 2019-02-25 | bpo-35459: Use PyDict_GetItemWithError() instead of PyDict_GetItem(). (GH-11112) | Serhiy Storchaka | -4/+10 | |
| 2018-12-11 | bpo-35444: Unify and optimize the helper for getting a builtin object. ↵ | Serhiy Storchaka | -1/+2 | |
| (GH-11047) This speeds up pickling of some iterators. This fixes also error handling in pickling methods when fail to look up builtin "getattr". | ||||
| 2018-09-23 | bpo-34659: Adds initial kwarg to itertools.accumulate() (GH-9345) | Lisa Roach | -3/+29 | |
| 2018-09-11 | bpo-20180: convert most of itertoolsmodule.c to use Argument Clinic (GH-9164) | Tal Einat | -218/+245 | |
| 2018-09-10 | bpo-20180: itertools.groupby Argument Clinic conversion (GH-4170) | Tal Einat | -23/+41 | |
| 2018-04-29 | bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. ↵ | Siddhesh Poyarekar | -23/+23 | |
| (GH-6030) METH_NOARGS functions need only a single argument but they are cast into a PyCFunction, which takes two arguments. This triggers an invalid function cast warning in gcc8 due to the argument mismatch. Fix this by adding a dummy unused argument. | ||||
| 2018-02-02 | bpo-32747: Remove trailing spaces in docstrings. (GH-5491) | oldk | -5/+5 | |
| 2018-01-25 | bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code ↵ | Serhiy Storchaka | -6/+4 | |
| (GH-5222) Add two new private APIs: _PyObject_LookupAttr() and _PyObject_LookupAttrId() | ||||
| 2017-11-11 | bpo-31572: Silence only AttributeError when get the __copy__ attribute in ↵ | Serhiy Storchaka | -7/+25 | |
| itertools.tee(). (#3724) | ||||
| 2017-09-26 | bpo-30347: Stop crashes when concurrently iterate over itertools.groupby() ↵ | Serhiy Storchaka | -36/+31 | |
| iterators. (#1557) | ||||
| 2017-09-25 | bpo-27385: Clarify docstring for groupby() (#3738) | Raymond Hettinger | -2/+3 | |
| 2017-09-24 | bpo-30346: An iterator produced by the itertools.groupby() iterator (#1569) | Serhiy Storchaka | -0/+8 | |
| now becames exhausted after advancing the groupby iterator. | ||||
| 2017-09-21 | bpo-27541: Reprs of subclasses of some classes now contain actual type name. ↵ | Serhiy Storchaka | -6/+13 | |
| (#3631) Affected classes are bytearray, array, deque, defaultdict, count and repeat. | ||||
| 2017-09-17 | bpo-31497: Add private helper _PyType_Name(). (#3630) | Serhiy Storchaka | -4/+3 | |
| This function returns the last component of tp_name after a dot. Returns tp_name itself if it doesn't contain a dot. | ||||
| 2017-06-08 | bpo-30592: Fixed error messages for some builtins. (#1996) | Serhiy Storchaka | -7/+7 | |
| Error messages when pass keyword arguments to some builtins that don't support keyword arguments contained double parenthesis: "()()". The regression was introduced by bpo-30534. | ||||
| 2017-06-07 | bpo-30537: use PyNumber in itertools.islice instead of PyLong (#1918) | Will Roberts | -4/+4 | |
| * 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 | ||||
| 2017-04-19 | bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (#1096) | Serhiy Storchaka | -1/+2 | |
| raised an error. Replace them with using concrete types API that never fails if appropriate. | ||||
| 2017-03-30 | bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#889) | T. Wouters | -24/+28 | |
| 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. | ||||
| 2017-03-30 | bpo-29878: Add global instances of int for 0 and 1. (#852) | Serhiy Storchaka | -13/+5 | |
| 2017-03-21 | bpo-29865: Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types. ↵ | Serhiy Storchaka | -2/+2 | |
| (#748) | ||||
| 2016-12-16 | Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of ↵ | Serhiy Storchaka | -3/+3 | |
| dict. | ||||
| 2016-12-04 | Backed out changeset b9c9691c72c5 | Victor Stinner | -5/+5 | |
| Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like _PyObject_CallArg1() uses more stack memory than PyObject_CallFunctionObjArgs(). | ||||
| 2016-12-01 | Replace PyObject_CallFunctionObjArgs() with fastcall | Victor Stinner | -5/+5 | |
| * PyObject_CallFunctionObjArgs(func, NULL) => _PyObject_CallNoArg(func) * PyObject_CallFunctionObjArgs(func, arg, NULL) => _PyObject_CallArg1(func, arg) PyObject_CallFunctionObjArgs() allocates 40 bytes on the C stack and requires extra work to "parse" C arguments to build a C array of PyObject*. _PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate memory on the C stack. This change is part of the fastcall project. The change on listsort() is related to the issue #23507. | ||||
| 2016-10-02 | Issue #28322: Fixed possible crashes when unpickle itertools objects from | Serhiy Storchaka | -6/+34 | |
| incorrect pickle data. Based on patch by John Leitch. | ||||
| 2016-10-02 | Issue #28322: Fixed possible crashes when unpickle itertools objects from | Serhiy Storchaka | -5/+35 | |
| incorrect pickle data. Based on patch by John Leitch. | ||||
| 2016-09-10 | Issue #28019: itertools.count() no longer rounds non-integer step in range | Serhiy Storchaka | -16/+29 | |
| between 1.0 and 2.0 to 1. | ||||
| 2016-09-10 | Issue #28019: itertools.count() no longer rounds non-integer step in range | Serhiy Storchaka | -16/+29 | |
| between 1.0 and 2.0 to 1. | ||||
| 2016-07-28 | Issue #27626: Merge spelling fixes from 3.5 | Martin Panter | -1/+1 | |
| 2016-07-28 | Issue #27626: Spelling fixes in docs, comments and internal names | Martin Panter | -1/+1 | |
| Based on patch by Ville Skyttä. | ||||
| 2016-04-17 | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error | Serhiy Storchaka | -1/+1 | |
| messages. | ||||
| 2016-04-17 | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | -1/+1 | |
| 2016-04-10 | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | -2/+2 | |
| in places where Py_DECREF was used. | ||||
| 2016-04-10 | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | -1/+1 | |
| in places where Py_DECREF was used. | ||||
| 2016-04-06 | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | -18/+18 | |
| 2016-04-06 | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | -14/+14 | |
| 2016-03-06 | Issue #25718: Fixed pickling and copying the accumulate() iterator with ↵ | Serhiy Storchaka | -0/+17 | |
| total is None. | ||||
| 2016-03-06 | Issue #25718: Fixed pickling and copying the accumulate() iterator with ↵ | Serhiy Storchaka | -0/+17 | |
| total is None. | ||||
| 2016-01-01 | merge 3.5 | Benjamin Peterson | -2/+0 | |
| 2016-01-01 | merge 3.4 | Benjamin Peterson | -2/+0 | |
| 2016-01-01 | merge 3.3 | Benjamin Peterson | -2/+0 | |
| 2016-01-01 | remove some copyright notices supserseded by the toplevel ones | Benjamin Peterson | -2/+0 | |
| 2015-12-27 | Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR. | Serhiy Storchaka | -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. | ||||
| 2015-12-27 | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | -34/+21 | |
| The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
| 2015-12-27 | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | -35/+22 | |
| The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
