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.
B
Bénédikt Tran committed
7ea8927ec72e9c4c50dfc922704035a5edb51661
Parent: 395335d
Committed by GitHub <noreply@github.com>
on 2/17/2025, 10:03:16 AM