summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-06-11 00:49:06 (GMT)
committerGitHub <noreply@github.com>2019-06-11 00:49:06 (GMT)
commit4f6f7c5a611905fb6b81671547f268c226bc646a (patch)
treed5c62b12768c6450f7537fb28a9b87e1bee6f9ea /Misc
parent8a8b59c9794674b50b2242698c29038034f4864c (diff)
downloadcpython-4f6f7c5a611905fb6b81671547f268c226bc646a.zip
cpython-4f6f7c5a611905fb6b81671547f268c226bc646a.tar.gz
cpython-4f6f7c5a611905fb6b81671547f268c226bc646a.tar.bz2
bpo-18748: Fix _pyio.IOBase destructor (closed case) (GH-13952)
_pyio.IOBase destructor now does nothing if getting the closed attribute fails to better mimick _io.IOBase finalizer.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-06-11-01-54-19.bpo-18748.ADqCkq.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-06-11-01-54-19.bpo-18748.ADqCkq.rst b/Misc/NEWS.d/next/Library/2019-06-11-01-54-19.bpo-18748.ADqCkq.rst
new file mode 100644
index 0000000..295ddeb
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-06-11-01-54-19.bpo-18748.ADqCkq.rst
@@ -0,0 +1,2 @@
+:class:`_pyio.IOBase` destructor now does nothing if getting the ``closed``
+attribute fails to better mimick :class:`_io.IOBase` finalizer.