Sorry, something went wrong.
|
I think we need to fix also the "grammar" that is included here and substitute that for the PEG grammar |
Sorry, something went wrong.
Sorry, something went wrong.
|
I think we need to fix also the "grammar" that is included here and substitute that for the PEG grammar Not sure about that. The existing grammar feels easier to read. Since the purpose of this is to give an overview of what can go into an f-string, I don't think we should over-complicate stuff with FSTRING_START, FSTRING_END etc. |
Sorry, something went wrong.
|
Hummmm IIRC that grammar is slightly incorrect or it was missing some details. Check it out and if you are happy with it then let's keep it |
Sorry, something went wrong.
|
I briefly compared it with our version in the PEG and it seems okay to me. If you're also okay with it, we can merge. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Great work!
Sorry, something went wrong.
|
Thanks @lysnikolaou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, something went wrong.
|
GH-104865 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
📚 Documentation preview 📚: https://cpython-previews--104861.org.readthedocs.build/