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
python-mappings
Makefile -rw-r--r-- 1.7 KB
comparecodecs.py -rwxr-xr-x 1.4 KB
gencjkcodecs.py -rw-r--r-- 2.0 KB
gencodec.py -rw-r--r-- 12.0 KB
genmap_japanese.py -rw-r--r-- 10.1 KB
genmap_korean.py -rw-r--r-- 2.0 KB
genmap_schinese.py -rw-r--r-- 5.1 KB
genmap_support.py -rw-r--r-- 6.1 KB
genwincodec.py -rw-r--r-- 1.7 KB
genwincodecs.bat -rw-r--r-- 201 bytes
listcodecs.py -rw-r--r-- 1021 bytes
makeunicodedata.py -rw-r--r-- 47.5 KB
mkstringprep.py -rw-r--r-- 9.9 KB

back to top