gh-133157: remove usage of _Py_NO_SANITIZE_UNDEFINED in Parser/pegen.c#134048
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 754e7c9) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
|
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 :')) |
…n `Parser/pegen.c` (pythonGH-134048) (cherry picked from commit 754e7c9) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
|
GH-135334 is a backport of this pull request to the 3.13 branch. |
|
GH-135334 is a backport of this pull request to the 3.13 branch. |
|
We remove undefined behaviors by adding more "overloads" functions. I've added some small checks to detect possible future undefined behaviors.