Staging
v0.8.1
https://github.com/python/cpython
Revision 226a012d1cd61f42ecd3056c554922f359a1a35d authored by Brandt Bucher on 05 December 2020, 03:45:57 UTC, committed by GitHub on 05 December 2020, 03:45:57 UTC
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.
1 parent 2de5097
History
Tip revision: 226a012d1cd61f42ecd3056c554922f359a1a35d authored by Brandt Bucher on 05 December 2020, 03:45:57 UTC
bpo-42536: GC track recycled tuples (GH-23623)
Tip revision: 226a012
File Mode Size
clinic
cache.c -rw-r--r-- 7.8 KB
cache.h -rw-r--r-- 2.3 KB
connection.c -rw-r--r-- 54.3 KB
connection.h -rw-r--r-- 4.6 KB
cursor.c -rw-r--r-- 27.4 KB
cursor.h -rw-r--r-- 2.4 KB
microprotocols.c -rw-r--r-- 4.3 KB
microprotocols.h -rw-r--r-- 1.8 KB
module.c -rw-r--r-- 14.3 KB
module.h -rw-r--r-- 1.9 KB
prepare_protocol.c -rw-r--r-- 2.0 KB
prepare_protocol.h -rw-r--r-- 1.5 KB
row.c -rw-r--r-- 6.7 KB
row.h -rw-r--r-- 1.3 KB
statement.c -rw-r--r-- 14.5 KB
statement.h -rw-r--r-- 2.0 KB
util.c -rw-r--r-- 4.0 KB
util.h -rw-r--r-- 1.6 KB

back to top