diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-05-23 01:45:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-23 01:45:09 (GMT) |
commit | bc2aa816620c5e02ad8e94d8514b7e8f3f551ca1 (patch) | |
tree | bf5c847dda365eab94373bc06262d2092dd9077e /Programs | |
parent | 0a8e57248b913851640c64375600f05157c997df (diff) | |
download | cpython-bc2aa816620c5e02ad8e94d8514b7e8f3f551ca1.zip cpython-bc2aa816620c5e02ad8e94d8514b7e8f3f551ca1.tar.gz cpython-bc2aa816620c5e02ad8e94d8514b7e8f3f551ca1.tar.bz2 |
bpo-18748: _pyio.IOBase emits unraisable exception (GH-13512)
In development (-X dev) mode and in a debug build, IOBase finalizer
of the _pyio module now logs the exception if the close() method
fails. The exception is ignored silently by default in release build.
test_io: test_error_through_destructor() now uses
support.catch_unraisable_exception() rather than capturing stderr.
Diffstat (limited to 'Programs')
0 files changed, 0 insertions, 0 deletions