summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2023-05-30-18-45-02.gh-issue-62948.1-5wMR.rst
blob: d6ba989329bce06d3b31c3498551a396f8a27dd2 (plain)
1
2
3
4
The :class:`io.IOBase` finalizer now logs the ``close()`` method errors with
:data:`sys.unraisablehook`. Previously, errors were ignored silently by default,
and only logged in :ref:`Python Development Mode <devmode>` or on
:ref:`Python built on debug mode <debug-build>`.  Patch by Victor Stinner.