Staging
v0.5.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
2to3 -rwxr-xr-x 96 bytes
README -rw-r--r-- 4.4 KB
abitype.py -rwxr-xr-x 5.4 KB
analyze_dxp.py -rw-r--r-- 4.1 KB
byext.py -rwxr-xr-x 3.8 KB
byteyears.py -rwxr-xr-x 1.6 KB
checkpip.py -rwxr-xr-x 793 bytes
cleanfuture.py -rwxr-xr-x 8.4 KB
combinerefs.py -rwxr-xr-x 4.3 KB
copytime.py -rwxr-xr-x 663 bytes
crlf.py -rwxr-xr-x 632 bytes
db2pickle.py -rwxr-xr-x 3.5 KB
diff.py -rwxr-xr-x 2.2 KB
dutree.doc -rw-r--r-- 2.2 KB
dutree.py -rwxr-xr-x 1.6 KB
eptags.py -rwxr-xr-x 1.5 KB
find-uname.py -rwxr-xr-x 1.2 KB
find_recursionlimit.py -rwxr-xr-x 3.9 KB
finddiv.py -rwxr-xr-x 2.5 KB
findlinksto.py -rwxr-xr-x 1.0 KB
findnocoding.py -rwxr-xr-x 2.9 KB
fixcid.py -rwxr-xr-x 9.9 KB
fixdiv.py -rwxr-xr-x 13.9 KB
fixheader.py -rwxr-xr-x 1.3 KB
fixnotice.py -rwxr-xr-x 3.0 KB
fixps.py -rwxr-xr-x 892 bytes
generate_opcode_h.py -rw-r--r-- 2.2 KB
generate_token.py -rwxr-xr-x 6.8 KB
get-remote-certificate.py -rwxr-xr-x 2.6 KB
google.py -rwxr-xr-x 501 bytes
gprof2html.py -rwxr-xr-x 2.2 KB
highlight.py -rwxr-xr-x 8.9 KB
idle3 -rwxr-xr-x 96 bytes
ifdef.py -rwxr-xr-x 3.6 KB
import_diagnostics.py -rwxr-xr-x 999 bytes
lfcr.py -rwxr-xr-x 640 bytes
linktree.py -rwxr-xr-x 2.4 KB
lll.py -rwxr-xr-x 748 bytes
mailerdaemon.py -rwxr-xr-x 7.9 KB
make_ctype.py -rwxr-xr-x 2.2 KB
md5sum.py -rwxr-xr-x 2.5 KB
mkreal.py -rwxr-xr-x 1.6 KB
ndiff.py -rwxr-xr-x 3.7 KB
nm2def.py -rwxr-xr-x 2.4 KB
objgraph.py -rwxr-xr-x 5.8 KB
parse_html5_entities.py -rwxr-xr-x 3.9 KB
parseentities.py -rwxr-xr-x 1.7 KB
patchcheck.py -rwxr-xr-x 9.6 KB
pathfix.py -rwxr-xr-x 6.6 KB
pdeps.py -rwxr-xr-x 3.9 KB
pep384_macrocheck.py -rw-r--r-- 4.6 KB
pickle2db.py -rwxr-xr-x 3.9 KB
pindent.py -rwxr-xr-x 16.7 KB
ptags.py -rwxr-xr-x 1.3 KB
pydoc3 -rwxr-xr-x 80 bytes
pysource.py -rwxr-xr-x 3.8 KB
reindent-rst.py -rwxr-xr-x 279 bytes
reindent.py -rwxr-xr-x 11.4 KB
rgrep.py -rwxr-xr-x 1.5 KB
run_tests.py -rw-r--r-- 1.8 KB
serve.py -rwxr-xr-x 1.2 KB
smelly.py -rwxr-xr-x 4.7 KB
stable_abi.py -rwxr-xr-x 7.9 KB
suff.py -rwxr-xr-x 510 bytes
texi2html.py -rwxr-xr-x 68.7 KB
untabify.py -rwxr-xr-x 1.3 KB
update_file.py -rw-r--r-- 762 bytes
var_access_benchmark.py -rw-r--r-- 11.6 KB
which.py -rwxr-xr-x 1.6 KB
win_add2path.py -rw-r--r-- 1.6 KB

README

back to top