]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111178: fix UBSan failures in `Objects/typeobject.c` (#129799)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Tue, 25 Feb 2025 10:44:59 +0000 (11:44 +0100)
committerGitHub <noreply@github.com>
Tue, 25 Feb 2025 10:44:59 +0000 (10:44 +0000)
commit3d40317ed24d03e9511ee96316bd204a8f041746
tree2224b2e3def8f40c83ca0eb1489f17557f22d7b4
parent44213bc57c0a4b674463e170ad9d80896d866a64
gh-111178: fix UBSan failures in `Objects/typeobject.c` (#129799)

Fix UBSan failures for `PyTypeObject`.
Introduce a macro cast for `superobject` and remove redundant casts.
Rename the unused parameter in getter/setter methods  to `closure`
for semantic purposes.
Objects/typeobject.c