]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
signalmodule.c uses _PyErr_WriteUnraisableMsg() (#98217)
authorVictor Stinner <vstinner@python.org>
Wed, 12 Oct 2022 15:26:58 +0000 (17:26 +0200)
committerGitHub <noreply@github.com>
Wed, 12 Oct 2022 15:26:58 +0000 (17:26 +0200)
commit342b1151ae7e6ae849c1ed7c8a2cbfdb4edcf51c
treeecbfbb2aa4d5223ecbaaebd223dc23e397b89e5b
parenta8c8526fd8ce2f3f50837bbbb820741e54b58512
signalmodule.c uses _PyErr_WriteUnraisableMsg() (#98217)

Signal wakeup fd errors are now logged with
_PyErr_WriteUnraisableMsg(), rather than PySys_WriteStderr() and
PyErr_WriteUnraisable(), to pass the error message to
sys.unraisablehook. By default, it's still written into stderr (unless
sys.unraisablehook is overriden).
Modules/signalmodule.c