diff options
author | Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | 2025-05-18 10:16:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-18 10:16:10 +0200 |
commit | 0a160bf14c4848f50539e52e2de486c641d122a2 (patch) | |
tree | facc4d6de43171cc317a12bea9168bcf07054dad /Lib/pydoc.py | |
parent | 22e4a40d9089dde2f1578c4b320f27b20e2e125b (diff) | |
download | cpython-0a160bf14c4848f50539e52e2de486c641d122a2.tar.gz cpython-0a160bf14c4848f50539e52e2de486c641d122a2.zip |
gh-133157: remove usage of `_Py_NO_SANITIZE_UNDEFINED` in `faulthandler` (#134047)
In `faulthandler_sigfpe()`, instead of using 1/0 arithmetic, we explicitly raise SIGFPE.
We also remove `faulthandler._read_null()` since reading from NULL is an undefined
behavior and `faulthandler` should not check for low-level C undefined behaviors.
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions