summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-09-13 17:10:10 (GMT)
committerGitHub <noreply@github.com>2017-09-13 17:10:10 (GMT)
commitacb9fa79fa6453c2bbe3ccfc9cad2837feb90093 (patch)
treebb07e26f46db0c0ab90d9de7fafb04d4ce827b17 /Misc
parentb157ce1e58b03988ce4340a55d0b856125833cc5 (diff)
downloadcpython-acb9fa79fa6453c2bbe3ccfc9cad2837feb90093.zip
cpython-acb9fa79fa6453c2bbe3ccfc9cad2837feb90093.tar.gz
cpython-acb9fa79fa6453c2bbe3ccfc9cad2837feb90093.tar.bz2
bpo-31234, socket.create_connection(): Fix ref cycle (#3546)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2017-09-13-18-05-56.bpo-31234.lGkcPg.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-09-13-18-05-56.bpo-31234.lGkcPg.rst b/Misc/NEWS.d/next/Library/2017-09-13-18-05-56.bpo-31234.lGkcPg.rst
new file mode 100644
index 0000000..e522e8e
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-09-13-18-05-56.bpo-31234.lGkcPg.rst
@@ -0,0 +1,2 @@
+socket.create_connection() now fixes manually a reference cycle: clear the
+variable storing the last exception on success.