diff options
author | Neil Schemenauer <nas-github@arctrix.com> | 2019-09-30 17:06:45 (GMT) |
---|---|---|
committer | Ćukasz Langa <lukasz@langa.pl> | 2019-09-30 17:06:45 (GMT) |
commit | bcda460baf25062ab68622b3f043f52b9db4d21d (patch) | |
tree | 91ef277ecc2096afafd441f2e1e04eef4402e16e /Misc | |
parent | c9a413ede47171a224c72dd34122005170caaad4 (diff) | |
download | cpython-bcda460baf25062ab68622b3f043f52b9db4d21d.zip cpython-bcda460baf25062ab68622b3f043f52b9db4d21d.tar.gz cpython-bcda460baf25062ab68622b3f043f52b9db4d21d.tar.bz2 |
Clear weakrefs in garbage found by the GC (#16495)
Fix a bug due to the interaction of weakrefs and the cyclic garbage
collector. We must clear any weakrefs in garbage in order to prevent
their callbacks from executing and causing a crash.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2019-09-30-09-33-21.bpo-38006.UYlJum.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-09-30-09-33-21.bpo-38006.UYlJum.rst b/Misc/NEWS.d/next/Core and Builtins/2019-09-30-09-33-21.bpo-38006.UYlJum.rst new file mode 100644 index 0000000..c2dafae --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2019-09-30-09-33-21.bpo-38006.UYlJum.rst @@ -0,0 +1,3 @@ +Fix a bug due to the interaction of weakrefs and the cyclic garbage +collector. We must clear any weakrefs in garbage in order to prevent their +callbacks from executing and causing a crash. |