]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111178: fix UBSan failures in `Modules/_functoolsmodule.c` (GH-129778)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Fri, 21 Feb 2025 14:08:56 +0000 (15:08 +0100)
committerGitHub <noreply@github.com>
Fri, 21 Feb 2025 14:08:56 +0000 (15:08 +0100)
commit4f07fd59cbd2656ae31e164098b8d10c5b7e51f0
treef4a74ff21bfd9220be7b737e473f65fda0837acf
parentf1b81c408fb83beeee519ae4fb9d3a36dd4522b3
gh-111178: fix UBSan failures in `Modules/_functoolsmodule.c` (GH-129778)

Fix UBSan failures for `keyobject`, `lru_list_elem`, `lru_cache_object`.
Suppress unused return values.
Change `_PyPartialObject_CAST` (from #124733) to `partialobject_CAST`
for consistency with the current style for these macros
Modules/_functoolsmodule.c