-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-133157: remove usage of _Py_NO_SANITIZE_UNDEFINED
in Parser/pegen.c
#134048
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
@pablogsal friendly ping |
LGTM. Great work on factoring this into a macro and the check in the generator 👌 |
Thanks @picnixz for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…er/pegen.c` (pythonGH-134048) (cherry picked from commit 754e7c9b5187fcad22acf7555479603f173a4a09) Co-authored-by: Bénédikt Tran <[email protected]>
Sorry, @picnixz and @pablogsal, I could not cleanly backport this to
|
GH-135320 is a backport of this pull request to the 3.14 branch. |
Can you do the backport to 3.13? |
I'll do the backport tomorrow! (I'm going to sleep in a few minutes :')) |
We remove undefined behaviors by adding more "overloads" functions. I've added some small checks to detect possible future undefined behaviors.