SIGN IN SIGN UP

gh-111178: fix UBSan failures in `Modules/_struct.c` (#129793)

Fix some UBSan failures for `PyStructObject` and `unpackiterobject`.

We also perform some cleanup by suppressing unused return values and renaming the
unused parameter in `METH_NOARGS` and getter methods to `dummy` and `closure`
respectively for semantic purposes.
B
Bénédikt Tran committed
1e4a4344af4f5fdc7157b195c7d333d088540035
Parent: b8c313a
Committed by GitHub <noreply@github.com> on 2/23/2025, 10:34:11 AM