Skip to content

[3.9] bpo-42218: Correctly handle errors in left-recursive rules (GH-23065) #23066

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

Merged
merged 1 commit into from
Oct 31, 2020

Conversation

lysnikolaou
Copy link
Member

@lysnikolaou lysnikolaou commented Oct 31, 2020

Left-recursive rules need to check for errors explicitly, since
even if the rule returns NULL, the parsing might continue and lead
to long-distance failures.

Co-authored-by: Pablo Galindo [email protected]
(cherry picked from commit 02cdfc9)

https://bugs.python.org/issue42218

Automerge-Triggered-By: GH:lysnikolaou

…honGH-23065)

Left-recursive rules need to check for errors explicitly, since
even if the rule returns NULL, the parsing might continue and lead
to long-distance failures.

Co-authored-by: Pablo Galindo <[email protected]>
(cherry picked from commit 02cdfc9)
@miss-islington
Copy link
Contributor

@lysnikolaou: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit cfcb952 into python:3.9 Oct 31, 2020
@lysnikolaou lysnikolaou deleted the backport-02cdfc9-3.9 branch October 31, 2020 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants