gh-111178: fix UBSan failures in `Modules/_tkinter.c` by picnixz · Pull Request #129795 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Merged
Merged
Conversation
Member
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 added 4 commits
picnixz
added
the
skip news
label
bedevere-app
Bot
mentioned this pull request
picnixz added 2 commits
picnixz
marked this pull request as ready for review
bedevere-app
Bot
added
the
awaiting core review
label
encukou
reviewed
picnixz
marked this pull request as draft
bedevere-app
Bot
removed
the
awaiting core review
label
picnixz
commented
Feb 25, 2025
picnixz commented
Member Author
Independently of this PR, but can't we actually transform static types of tkinter into heap types?
picnixz
marked this pull request as ready for review
bedevere-app
Bot
added
the
awaiting core review
label
encukou
approved these changes
encukou
left a comment
encukou
left a comment
Member
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:
Modules/_tkinter.c Outdated
bedevere-app
Bot
added
awaiting merge
and removed
awaiting core review
labels
encukou
commented
Feb 25, 2025
encukou commented
Member
Independently of this PR, but can't we actually transform static types of tkinter into heap types?
See #103092 (comment) & #103108
encukou
merged commit
59d3ad0
into
python:main
bedevere-app
Bot
removed
the
awaiting merge
label
picnixz
deleted the
fix/ubsan/tkinter-111178
branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment