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.
V
Victor Stinner committed
a85a1d337d26a65036e427341d15e3979f7e9ced
Parent: 51ddab8
Committed by GitHub <noreply@github.com>
on 5/28/2019, 2:01:17 PM