Skip to content

gh-111178: fix UBSan failures for Modules/_testcapimodule.c #131614

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 24, 2025

Conversation

picnixz
Copy link
Member

@picnixz picnixz commented Mar 23, 2025

@picnixz picnixz self-assigned this Mar 24, 2025
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@picnixz picnixz enabled auto-merge (squash) March 24, 2025 09:51
@picnixz picnixz merged commit af29d5c into python:main Mar 24, 2025
41 checks passed
@picnixz picnixz deleted the fix/ubsan/testcapimodule-111178 branch March 24, 2025 10:26
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
…ython#131614)

Fix UBSan failures for various classes in `Modules/_testcapimodule.c`,
remove some redundant casts and add some `Py_UNUSED()` usages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants