diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-05-28 16:01:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-28 16:01:17 +0200 |
commit | a85a1d337d26a65036e427341d15e3979f7e9ced (patch) | |
tree | b355ad22fb8ca020f6572c48519e2fdf641db47a /Python/pystrcmp.c | |
parent | 51ddab8dae056867f3595ab3400bffc93f67c8d4 (diff) | |
download | cpython-git-a85a1d337d26a65036e427341d15e3979f7e9ced.tar.gz |
bpo-36829: sys.excepthook and sys.unraisablehook flush (GH-13620)
sys.excepthook() and sys.unraisablehook() now explicitly flush the
file (usually sys.stderr).
If file.flush() fails, sys.excepthook() silently ignores the error,
whereas sys.unraisablehook() logs the new exception.
Diffstat (limited to 'Python/pystrcmp.c')
0 files changed, 0 insertions, 0 deletions