Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-102856: Update "Formatted string literals" docs section after PEP701#104861

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

lysnikolaou
Copy link
Member

@lysnikolaoulysnikolaou commentedMay 24, 2023
edited by github-actionsbot
Loading

@pablogsal
Copy link
Member

I think we need to fix also the "grammar" that is included here and substitute that for the PEG grammar

Eclips4 reacted with thumbs up emoji

@pablogsal
Copy link
Member

image

I mean this one

@lysnikolaou
Copy link
MemberAuthor

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 withFSTRING_START,FSTRING_END etc.

@pablogsal
Copy link
Member

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

@lysnikolaou
Copy link
MemberAuthor

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.

pablogsal reacted with thumbs up emoji

Copy link
Member

@pablogsalpablogsal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

Great work!

@miss-islington
Copy link
Contributor

Thanks@lysnikolaou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 24, 2023
…r PEP701 (pythonGH-104861)(cherry picked from commit8e5b3b9)Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
@bedevere-bot
Copy link

GH-104865 is a backport of this pull request to the3.12 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.12only security fixes labelMay 24, 2023
lysnikolaou added a commit that referenced this pull requestMay 24, 2023
…er PEP701 (GH-104861) (#104865)(cherry picked from commit8e5b3b9)Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@pablogsalpablogsalpablogsal approved these changes

Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@lysnikolaou@pablogsal@miss-islington@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp