]> granicus.if.org Git - python/commit
bpo-18748: Fix _pyio.IOBase destructor (closed case) (GH-13952)
authorVictor Stinner <vstinner@redhat.com>
Tue, 11 Jun 2019 00:49:06 +0000 (02:49 +0200)
committerGitHub <noreply@github.com>
Tue, 11 Jun 2019 00:49:06 +0000 (02:49 +0200)
commit4f6f7c5a611905fb6b81671547f268c226bc646a
treed5c62b12768c6450f7537fb28a9b87e1bee6f9ea
parent8a8b59c9794674b50b2242698c29038034f4864c
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.
Lib/_pyio.py
Misc/NEWS.d/next/Library/2019-06-11-01-54-19.bpo-18748.ADqCkq.rst [new file with mode: 0644]