Skip to content

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

Merged
miss-islington merged 1 commit into
python:3.9from
lysnikolaou:backport-02cdfc9-3.9
Oct 31, 2020
Merged

miss-islington merged 1 commit into
python:3.9from
lysnikolaou:backport-02cdfc9-3.9

Conversation

@lysnikolaou

@lysnikolaou lysnikolaou commented Oct 31, 2020 •

Copy link
Copy Markdown
Member

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 Pablogsal@gmail.com
(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 <Pablogsal@gmail.com>
(cherry picked from commit 02cdfc9)
@miss-islington

Copy link
Copy Markdown
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

5 participants