Skip to content

bpo-46936: Update grammar_grapher with the new forced (&&) directive #31704

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
Mar 6, 2022

Conversation

lucach
Copy link
Contributor

@lucach lucach commented Mar 6, 2022

The grammar_grapher.pyutility has not been updated after the introduction of the new "forced" directive ('&&') in the grammar (see #24292) and fails to visualize the current Python grammar.

https://bugs.python.org/issue46936

Automerge-Triggered-By: GH:pablogsal

@pablogsal
Copy link
Member

@lucach Can you submit also a PR against the pegen repo?

That's in https://github.com/we-like-parsers/pegen

@miss-islington
Copy link
Contributor

Thanks @lucach for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry @lucach and @pablogsal, I had trouble checking out the 3.10 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 7f07b5ee9c2d17f837c44440bf066c73f92dac14 3.10

@pablogsal
Copy link
Member

Sorry @lucach and @pablogsal, I had trouble checking out the 3.10 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 7f07b5ee9c2d17f837c44440bf066c73f92dac14 3.10

@lucach could you make the backport following these instructions, please? Thanks!

lucach added a commit to lucach/cpython that referenced this pull request Mar 7, 2022
…honGH-31704)

(cherry picked from commit 7f07b5e)

Co-authored-by: Luca Chiodini <luca@chiodini.org>
@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Mar 7, 2022
@bedevere-bot
Copy link

GH-31719 is a backport of this pull request to the 3.10 branch.

@lucach
Copy link
Contributor Author

lucach commented Mar 7, 2022

Done (both on pegen and on the 3.10 branch)... hopefully without too many mistakes. Thanks @pablogsal!

@pablogsal
Copy link
Member

Thanks @lucach

pablogsal pushed a commit that referenced this pull request Mar 7, 2022
…31704) (GH-31719)

(cherry picked from commit 7f07b5e)

Co-authored-by: Luca Chiodini <luca@chiodini.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants