diff options
author | Victor Stinner <vstinner@python.org> | 2022-09-08 10:20:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 10:20:22 (GMT) |
commit | c580a81af91af4b9df85e466f8b48c3c9c86c3df (patch) | |
tree | 01376fd4bec085e1682564ad5a914b0fbe894ecc /Misc | |
parent | 4f523a70543a79a3bbca9bf2ce9abb8fad0aaad2 (diff) | |
download | cpython-c580a81af91af4b9df85e466f8b48c3c9c86c3df.zip cpython-c580a81af91af4b9df85e466f8b48c3c9c86c3df.tar.gz cpython-c580a81af91af4b9df85e466f8b48c3c9c86c3df.tar.bz2 |
gh-96652: Fix faulthandler chained signal without sigaction() (#96666)
Fix the faulthandler implementation of faulthandler.register(signal,
chain=True) if the sigaction() function is not available: don't call
the previous signal handler if it's NULL.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-09-07-22-49-37.gh-issue-96652.YqOKxI.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-09-07-22-49-37.gh-issue-96652.YqOKxI.rst b/Misc/NEWS.d/next/Library/2022-09-07-22-49-37.gh-issue-96652.YqOKxI.rst new file mode 100644 index 0000000..1d04db7 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-09-07-22-49-37.gh-issue-96652.YqOKxI.rst @@ -0,0 +1,3 @@ +Fix the faulthandler implementation of ``faulthandler.register(signal, +chain=True)`` if the ``sigaction()`` function is not available: don't call +the previous signal handler if it's NULL. Patch by Victor Stinner. |