summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2020-10-26-23-29-16.bpo-42157.4wuwTe.rst
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-11-02 22:17:46 (GMT)
committerGitHub <noreply@github.com>2020-11-02 22:17:46 (GMT)
commit45df61fd2d58e8db33179f3b5d00e53fe6a7e592 (patch)
treea673a8e89a1c79eab6e9a583c5f221b323e57d2f /Misc/NEWS.d/next/Library/2020-10-26-23-29-16.bpo-42157.4wuwTe.rst
parent5cf4782a2630629d0978bf4cf6b6340365f449b2 (diff)
downloadcpython-45df61fd2d58e8db33179f3b5d00e53fe6a7e592.zip
cpython-45df61fd2d58e8db33179f3b5d00e53fe6a7e592.tar.gz
cpython-45df61fd2d58e8db33179f3b5d00e53fe6a7e592.tar.bz2
bpo-26789: Fix logging.FileHandler._open() at exit (GH-23053)
The logging.FileHandler class now keeps a reference to the builtin open() function to be able to open or reopen the file during Python finalization. Fix errors like: Exception ignored in: (...) Traceback (most recent call last): (...) File ".../logging/__init__.py", line 1463, in error File ".../logging/__init__.py", line 1577, in _log File ".../logging/__init__.py", line 1587, in handle File ".../logging/__init__.py", line 1649, in callHandlers File ".../logging/__init__.py", line 948, in handle File ".../logging/__init__.py", line 1182, in emit File ".../logging/__init__.py", line 1171, in _open NameError: name 'open' is not defined
Diffstat (limited to 'Misc/NEWS.d/next/Library/2020-10-26-23-29-16.bpo-42157.4wuwTe.rst')
0 files changed, 0 insertions, 0 deletions