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
_iomodule.c -rw-r--r-- 24.0 KB
_iomodule.h -rw-r--r-- 6.4 KB
bufferedio.c -rw-r--r-- 80.6 KB
bytesio.c -rw-r--r-- 32.4 KB
fileio.c -rw-r--r-- 32.5 KB
iobase.c -rw-r--r-- 30.0 KB
stringio.c -rw-r--r-- 29.8 KB
textio.c -rw-r--r-- 98.3 KB
winconsoleio.c -rw-r--r-- 31.8 KB

back to top