gh-112388: Fix an error that was causing the parser to try to overwrite tokenizer errors#112410
gh-112388: Fix an error that was causing the parser to try to overwrite tokenizer errors#112410pablogsal merged 1 commit intopython:mainfrom
Conversation
…verwrite tokenizer errors Signed-off-by: Pablo Galindo <[email protected]>
|
Maybe scope creep, but is there an opportunity for an improvement here?
|
|
🤖 New build scheduled with the buildbot fleet by @sunmy2019 for commit cef5ae9 🤖 If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
We need a placeholder here. If you track the caller, it's like void *a;
if (all_good)
a = ...;
else
a = _PyPegen_raise_error(...); |
Most of the time we assign the return value of |
|
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
…verwrite tokenizer errors (pythonGH-112410) (cherry picked from commit 2c8b191) Co-authored-by: Pablo Galindo Salgado <[email protected]> Signed-off-by: Pablo Galindo <[email protected]>
|
GH-112466 is a backport of this pull request to the 3.12 branch. |
…verwrite tokenizer errors (pythonGH-112410) (cherry picked from commit 2c8b191) Co-authored-by: Pablo Galindo Salgado <[email protected]> Signed-off-by: Pablo Galindo <[email protected]>
|
GH-112467 is a backport of this pull request to the 3.11 branch. |
…overwrite tokenizer errors (GH-112410) (#112467) gh-112388: Fix an error that was causing the parser to try to overwrite tokenizer errors (GH-112410) (cherry picked from commit 2c8b191) Signed-off-by: Pablo Galindo <[email protected]> Co-authored-by: Pablo Galindo Salgado <[email protected]>
…overwrite tokenizer errors (GH-112410) (#112466) gh-112388: Fix an error that was causing the parser to try to overwrite tokenizer errors (GH-112410) (cherry picked from commit 2c8b191) Signed-off-by: Pablo Galindo <[email protected]> Co-authored-by: Pablo Galindo Salgado <[email protected]>
…verwrite tokenizer errors (python#112410) Signed-off-by: Pablo Galindo <[email protected]>
…verwrite tokenizer errors (python#112410) Signed-off-by: Pablo Galindo <[email protected]>
Objects/call.c:342:!_PyErr_Occurred(tstate)failed #112388