cpython/Objects
Brandt Bucher 60463e8e4f
bpo-42536: GC track recycled tuples (GH-23623) (GH-23651)
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 226a012d1c)
2020-12-07 20:07:48 +00:00
..
clinic bpo-39939: Add str.removeprefix and str.removesuffix (GH-18939) 2020-04-22 23:05:48 +02:00
stringlib bpo-40302: UTF-32 encoder SWAB4() macro use a|b rather than a+b (GH-19572) 2020-04-17 19:13:34 +02:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
abstract.c [3.9] bpo-41909: Enable previously disabled recursion checks. (GH-22536) (GH-22550) 2020-10-05 01:27:38 +03:00
accu.c bpo-35081: Move accu.h to Include/internal/pycore_accu.h (GH-10271) 2018-11-01 02:30:36 +01:00
boolobject.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
bytearrayobject.c bpo-41175: Guard against a NULL pointer dereference within bytearrayobject (GH-21240) 2020-07-10 03:18:45 -07:00
bytes_methods.c bpo-40170: Add _PyIndex_Check() internal function (GH-19426) 2020-04-08 02:01:56 +02:00
bytesobject.c bpo-39939: Add str.removeprefix and str.removesuffix (GH-18939) 2020-04-22 23:05:48 +02:00
call.c bpo-40268: Remove a few pycore_pystate.h includes (GH-19510) 2020-04-14 17:52:15 +02:00
capsule.c bpo-40170: PyObject_NEW() becomes an alias to PyObject_New() (GH-19379) 2020-04-08 00:38:15 +02:00
cellobject.c bpo-40268: Remove unused pycore_pymem.h includes (GH-19531) 2020-04-15 02:57:50 +02:00
classobject.c bpo-40268: Remove unused pycore_pymem.h includes (GH-19531) 2020-04-15 02:57:50 +02:00
codeobject.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
complexobject.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
descrobject.c Remove spurious NULL in descrobject.c (GH-20344) 2020-05-23 22:24:56 -07:00
dict-common.h bpo-33312: Fix clang ubsan out of bounds warnings in dict. (GH-6537) 2018-04-19 22:41:19 -07:00
dictnotes.txt Issue #15055: update dictnotes.txt. Patch by Mark Shannon. 2012-06-24 21:03:45 +02:00
dictobject.c bpo-42536: GC track recycled tuples (GH-23623) (GH-23651) 2020-12-07 20:07:48 +00:00
enumobject.c bpo-42536: GC track recycled tuples (GH-23623) (GH-23651) 2020-12-07 20:07:48 +00:00
exceptions.c [3.9] bpo-41654: Fix deallocator of MemoryError to account for subclasses (GH-22020) (GH-22045) 2020-09-01 21:40:57 +01:00
fileobject.c bpo-40268: Remove a few pycore_pystate.h includes (GH-19510) 2020-04-14 17:52:15 +02:00
floatobject.c bpo-37986: Improve perfomance of PyLong_FromDouble() (GH-15611) 2020-05-10 10:15:57 +01:00
frameobject.c [3.9] bpo-40514: Remove --with-experimental-isolated-subinterpreters in 3.9 (GH-20228) 2020-05-20 00:27:46 +02:00
funcobject.c bpo-42143: Ensure PyFunction_NewWithQualName() can't fail after creating the func object (GH-22953) (GH-23021) 2020-10-29 13:02:50 +02:00
genericaliasobject.c bpo-42576: Raise TypeError when passing in keyword arguments to GenericAlias (GH-23656) 2020-12-05 08:24:38 -08:00
genobject.c bpo-29590: fix stack trace for gen.throw() with yield from (GH-19896) 2020-09-04 16:07:18 -07:00
interpreteridobject.c bpo-40302: Replace PY_INT64_T with int64_t (GH-19573) 2020-04-17 19:13:06 +02:00
iterobject.c bpo-40268: Remove unused pycore_pymem.h includes (GH-19531) 2020-04-15 02:57:50 +02:00
listobject.c [3.9] bpo-40514: Remove --with-experimental-isolated-subinterpreters in 3.9 (GH-20228) 2020-05-20 00:27:46 +02:00
listsort.txt Fixes in sorting descriptions (GH-18317) 2020-02-03 08:47:20 -08:00
lnotab_notes.txt bpo-38115: Deal with invalid bytecode offsets in lnotab (GH-16079) 2019-09-28 07:49:15 -07:00
longobject.c bpo-37986: Improve perfomance of PyLong_FromDouble() (GH-15611) 2020-05-10 10:15:57 +01:00
memoryobject.c bpo-40268: Remove unused pycore_pymem.h includes (GH-19531) 2020-04-15 02:57:50 +02:00
methodobject.c bpo-42015: Reorder dereferencing calls in meth_dealloc, to make sure m_self is kept alive long enough (GH-22670) 2020-10-12 14:29:01 -07:00
moduleobject.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
namespaceobject.c bpo-39075: types.SimpleNamespace no longer sorts attributes in its repr (GH-19430) 2020-05-15 18:27:54 -07:00
object.c bpo-38787: C API for module state access from extension methods (PEP 573) (GH-19936) 2020-05-07 15:39:59 +02:00
obmalloc.c bpo-40268: Remove unused pycore_pymem.h includes (GH-19531) 2020-04-15 02:57:50 +02:00
odictobject.c bpo-42536: GC track recycled tuples (GH-23623) (GH-23651) 2020-12-07 20:07:48 +00:00
picklebufobject.c bpo-36785: PEP 574 implementation (GH-7076) 2019-05-26 17:10:09 +02:00
rangeobject.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
setobject.c Improve code clarity for the set lookup logic (GH-20028) 2020-05-10 14:53:29 -07:00
sliceobject.c bpo-40268: Remove unused pycore_pymem.h includes (GH-19531) 2020-04-15 02:57:50 +02:00
structseq.c bpo-40217: Ensure Py_VISIT(Py_TYPE(self)) is always called for PyType_FromSpec types (reverts GH-19414) (GH-20264) 2020-05-28 08:12:23 -07:00
tupleobject.c [3.9] bpo-40514: Remove --with-experimental-isolated-subinterpreters in 3.9 (GH-20228) 2020-05-20 00:27:46 +02:00
typeobject.c bpo-42412: Fix possible leaks and check arguments in PyType_FromModuleAndSpec() (GH-23410) 2020-11-21 03:09:40 -08:00
typeslots.inc bpo-40724: Support setting buffer slots from type specs (GH-20648) (GH-20683) 2020-06-07 09:06:40 +02:00
typeslots.py Issue #26662: Set PYTHON_FOR_GEN in configure 2016-07-26 12:48:08 +02:00
unicodectype.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
unicodeobject.c bpo-40998: Address compiler warnings found by ubsan (GH-20929) 2020-11-18 08:01:48 -08:00
unicodetype_db.h closes bpo-39926: Update Unicode to 13.0.0. (GH-18910) 2020-03-10 20:41:34 -07:00
weakrefobject.c bpo-40523: Add pass-throughs for hash() and reversed() to weakref.proxy objects (GH-19946) 2020-05-05 22:58:19 +01:00

README

Source files for various builtin objects