8000 gh-111178: fix UBSan failures in `Objects/exceptions.c` (GH-128154) · python/cpython@7ea8927 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ea8927

Browse files
authored
gh-111178: fix UBSan failures in Objects/exceptions.c (GH-128154)
Fix UBSan failures for `PyBaseExceptionObject`, `PyStopIterationObject`, `PySystemExitObject`, `PyImportErrorObject`, `PyOSErrorObject`, `PyNameErrorObject`, `PyAttributeErrorObject`, `PySyntaxErrorObject`, `KeyError`, `UnicodeError*`, `PyBaseExceptionGroupObject` Remove redundant casts Align the naming convention `Py[...]_CAST(op)` where only an assert-only type check is performed.
1 parent 395335d commit 7ea8927

File tree

1 file changed

+282
-192
lines changed

1 file changed

+282
-192
lines changed

0 commit comments

Comments
 (0)
0