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

Appearance settings

bpo-23894: make lib2to3 recognize f-strings#1733

Merged
ambv merged 1 commit into
python:masterpython/cpython:masterfrom
ambv:bpo-23894ambv/cpython:bpo-23894Copy head branch name to clipboard
May 22, 2017
Merged

bpo-23894: make lib2to3 recognize f-strings#1733
ambv merged 1 commit into
python:masterpython/cpython:masterfrom
ambv:bpo-23894ambv/cpython:bpo-23894Copy head branch name to clipboard

Conversation

@ambv

@ambv ambv commented May 22, 2017

Copy link
Copy Markdown
Contributor

Note: this doesn't unpack f-strings into the underlying JoinedStr AST.

Ideally we'd fully implement JoinedStr here but given its additional
complexity, I think this is worth bandaiding as is. This unblocks tools like
https://github.com/google/yapf to format 3.6 syntax using f-strings.

Note: this doesn't unpack f-strings into the underlying JoinedStr AST.

Ideally we'd fully implement JoinedStr here but given its additional
complexity, I think this is worth bandaiding as is. This unblocks tools like
https://github.com/google/yapf to format 3.6 syntax using f-strings.
@ambv ambv requested review from ericvsmith and gvanrossum May 22, 2017 23:16
@mention-bot

Copy link
Copy Markdown

@ambv, thanks for your PR! By analyzing the history of the files in this pull request, we identified @benjaminp, @loewis and @1st1 to be potential reviewers.

@ambv ambv merged commit 1b9530c into python:master May 22, 2017
ambv added a commit to ambv/cpython that referenced this pull request May 22, 2017
Note: this doesn't unpack f-strings into the underlying JoinedStr AST.

Ideally we'd fully implement JoinedStr here but given its additional
complexity, I think this is worth bandaiding as is. This unblocks tools like
https://github.com/google/yapf to format 3.6 syntax using f-strings.
(cherry picked from commit 1b9530c)
ambv added a commit that referenced this pull request May 23, 2017
Note: this doesn't unpack f-strings into the underlying JoinedStr AST.

Ideally we'd fully implement JoinedStr here but given its additional
complexity, I think this is worth bandaiding as is. This unblocks tools like
https://github.com/google/yapf to format 3.6 syntax using f-strings.
(cherry picked from commit 1b9530c)
@ambv ambv deleted the bpo-23894 branch July 12, 2021 11:22
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.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.