summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMario Corchero <mcorcherojim@bloomberg.net>2019-12-06 14:27:38 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-12-06 14:27:38 (GMT)
commitb64334cb93d0ddbb551c8cd712942bab2fc72772 (patch)
tree131741a192a23a07dcd4d7f45aa2a7bd95746238 /Misc
parentefefe25443c56988841ab96cdac01352123ba268 (diff)
downloadcpython-b64334cb93d0ddbb551c8cd712942bab2fc72772.zip
cpython-b64334cb93d0ddbb551c8cd712942bab2fc72772.tar.gz
cpython-b64334cb93d0ddbb551c8cd712942bab2fc72772.tar.bz2
bpo-36820: Break unnecessary cycle in socket.py, codeop.py and dyld.py (GH-13135)
Break cycle generated when saving an exception in socket.py, codeop.py and dyld.py as they keep alive not only the exception but user objects through the ``__traceback__`` attribute. https://bugs.python.org/issue36820 Automerge-Triggered-By: @pablogsal
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-05-06-15-34-17.bpo-36820.Eh5mIB.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-05-06-15-34-17.bpo-36820.Eh5mIB.rst b/Misc/NEWS.d/next/Library/2019-05-06-15-34-17.bpo-36820.Eh5mIB.rst
new file mode 100644
index 0000000..82f6635
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-05-06-15-34-17.bpo-36820.Eh5mIB.rst
@@ -0,0 +1,3 @@
+Break cycle generated when saving an exception in socket.py, codeop.py and
+dyld.py as they keep alive not only the exception but user objects through
+the ``__traceback__`` attribute. Patch by Mario Corchero.