Uh oh!
There was an error while loading. Please reload this page.
gh-111178: fix UBSan failures in Modules/overlapped.c - #129786
Conversation
picnixz
commented
Feb 7, 2025
There seems to be a Windows warning that I didn't see as it was in a non-compiled section for me. |
chris-eibl
commented
Feb 8, 2025
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 |
picnixz
commented
Feb 8, 2025
No, the problem here is that |
chris-eibl
commented
Feb 8, 2025
Sure! Having another thought, then maybe not change Is this possible? |
picnixz
commented
Feb 8, 2025
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. |
picnixz
commented
Feb 8, 2025
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! |
chris-eibl
commented
Feb 8, 2025
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.