diff options
author | Victor Stinner <vstinner@python.org> | 2022-03-04 01:12:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 01:12:06 +0100 |
commit | 7b5b429adab4fe0fe81858fe3831f06adc2e2141 (patch) | |
tree | bc9db05408a18ddf2552c9ca66cef862ccd8ba87 /Lib/argparse.py | |
parent | 9d9dc59d07d51d73e5af7dd506d0da63aa336995 (diff) | |
download | cpython-git-7b5b429adab4fe0fe81858fe3831f06adc2e2141.tar.gz |
[3.10] bpo-46913: Fix test_ctypes, test_hashlib, test_faulthandler on UBSan (GH-31675)
* bpo-46913: Fix test_faulthandler.test_sigfpe() on UBSAN (GH-31662)
Disable undefined behavior sanitizer (UBSAN) on
faulthandler_sigfpe().
(cherry picked from commit 4173d677a1d7c72bb32d292fbff1b4cf073d615c)
* bpo-46913: Fix test_faulthandler.test_read_null() on UBSan (GH31672)
Disable undefined behavior sanitizer (UBSan) on
faulthandler._read_null().
(cherry picked from commit 65b92ccdec2ee4a99e54aaf7ae2d9bbc2ebfe549)
* bpo-46913: test_hashlib skips _sha3 tests on UBSan (GH-31673)
If Python is built with UBSan, test_hashlib skips tests on the _sha3
extension which currently has undefined behaviors.
This change allows to run test_hashlib to check for new UBSan regression,
but the known _sha3 undefined behavior must be fixed.
(cherry picked from commit 6d0d7d2b8c1e04fd51c6cb29cc09a41b60b97b7b)
* bpo-46913: Skip test_ctypes.test_shorts() on UBSan (GH-31674)
If Python is built with UBSan, test_ctypes now skips test_shorts().
This change allows to run test_ctypes to check for new UBSan regression,
but the known test_shorts() undefined behavior must be fixed.
(cherry picked from commit ad1b04451d3aca2c6fa6dbe2891676a4e0baac49)
Diffstat (limited to 'Lib/argparse.py')
0 files changed, 0 insertions, 0 deletions