-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-111178: fix UBSan failures in Modules/overlapped.c
#129786
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
Conversation
There seems to be a Windows warning that I didn't see as it was in a non-compiled section for me. |
Yeah, the whole file To get rid of the warnings, I think, all those I assume, there you prefixed with Maybe instead change the return type of |
No, the problem here is that |
Sure! Having another thought, then maybe not change Is this possible? |
No that's the problem of the PR. The signature of the clear function must be |
Yeah, I know. But AFAICT In contrast to e.g. |
OH! There wasn't an issue with the clear! I... missed the comment... oook. I'll improve the comment as well and will shorten the PR. My bad! Thanks for noticing this! |
Oh that looks so much nicer now :) Sorry for expressing myself clumsy in the first place. I am not a native English speaker. Your UBSan fixes are a great work towards a better code base and a lot of effort! Thank you very much for all of them! |
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.