Skip to content

Strip pointless f-string#3082

Closed
KAction wants to merge 1 commit into
psf:mainfrom
KAction:fsting
Closed

Strip pointless f-string#3082
KAction wants to merge 1 commit into
psf:mainfrom
KAction:fsting

Conversation

@KAction
Copy link
Copy Markdown

@KAction KAction commented May 21, 2022

Description

As promised, I came with patch that mostly does what is discussed in #3081.
Code quality is back-of-envelope, and not all tests are converted. I will fix
it once we decide what to do with the most major issue:

Black produced code that is not equivalent to the source

I can't argue that it is very good and valuable sanity check, and just turning
it off seems reckless. Ideas?

@KAction
Copy link
Copy Markdown
Author

KAction commented May 21, 2022

Oh, clearly I based on old revision of master. Not really relevant at this point.

@JelleZijlstra
Copy link
Copy Markdown
Collaborator

Thanks for your PR @KAction! Are you still interested in improving this?

Per our stability policy, the feature should initially be enabled only in --preview mode.

@ichard26 ichard26 added S: awaiting response Waiting for futher information from OP F: strings Related to our handling of strings S: up for grabs (PR only) Available for anyone to work on as the PR author is busy or unreachable. labels Aug 5, 2022
@KAction
Copy link
Copy Markdown
Author

KAction commented Aug 29, 2022

Sorry, I feel this change is bigger and requires more resources than I have right now.

@KAction KAction closed this Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

F: strings Related to our handling of strings S: awaiting response Waiting for futher information from OP S: up for grabs (PR only) Available for anyone to work on as the PR author is busy or unreachable.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants