gh-111178: remove redundant casts for functions with correct signatures by picnixz · Pull Request #131673 · python/cpython · GitHub
Skip to content

gh-111178: remove redundant casts for functions with correct signatures - #131673

Merged
picnixz merged 24 commits into
python:mainfrom
picnixz:fix/ubsan/casts-111178
Apr 1, 2025
Merged

gh-111178: remove redundant casts for functions with correct signatures#131673
picnixz merged 24 commits into
python:mainfrom
picnixz:fix/ubsan/casts-111178

Conversation

@picnixz

@picnixz picnixz commented Mar 24, 2025

Copy link
Copy Markdown
Member

This is a cleanup PR but it's easier to hunt non-covered possible UBSans

@picnixz

picnixz commented Mar 24, 2025

Copy link
Copy Markdown
Member Author

Comment thread Include/cpython/object.h Outdated
@picnixz

picnixz commented Mar 24, 2025

Copy link
Copy Markdown
Member Author

I think it know what happened! I incorrectly merged main into this branch c:

@picnixz
picnixz marked this pull request as ready for review March 30, 2025 09:07
Comment thread Modules/faulthandler.c Outdated
Comment thread Python/ceval.c Outdated
Comment thread Include/cpython/object.h Outdated
Co-authored-by: Victor Stinner <vstinner@python.org>
Comment thread Include/cpython/object.h Outdated
Comment thread Python/ceval.c Outdated

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@picnixz
picnixz merged commit edbf7fb into python:main Apr 1, 2025
@picnixz
picnixz deleted the fix/ubsan/casts-111178 branch April 1, 2025 15:18
@bedevere-bot

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants