Skip to content
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

gh-111178: fix UBSan failures in Modules/_tkinter.c #129795

Merged
merged 10 commits into from
Feb 26, 2025

Conversation

picnixz
Copy link
Member

@picnixz picnixz commented Feb 7, 2025

This PR fixes the UBSan failures and addresses some minor cosmetic changes. PEP-7 changes were not applied since they could scramble the diff but other semantic changes affecting the signature of touched functions may have been done.

@picnixz picnixz marked this pull request as ready for review February 8, 2025 09:37
@picnixz picnixz marked this pull request as draft February 24, 2025 13:14
@picnixz
Copy link
Member Author

picnixz commented Feb 25, 2025

Independently of this PR, but can't we actually transform static types of tkinter into heap types?

@picnixz picnixz marked this pull request as ready for review February 25, 2025 11:32
Copy link
Member

@encukou encukou left a comment

Choose a reason for hiding this comment

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

Looks good! One nitpick left:

@encukou
Copy link
Member

encukou commented Feb 25, 2025

Independently of this PR, but can't we actually transform static types of tkinter into heap types?

See #103092 (comment) & #103108

@encukou encukou merged commit 59d3ad0 into python:main Feb 26, 2025
41 checks passed
@picnixz picnixz deleted the fix/ubsan/tkinter-111178 branch February 28, 2025 13:11
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.

2 participants