◐ Shell
clean mode source ↗

bpo-28307: Convert simple C-style formatting with literal format into f-string. by serhiy-storchaka · Pull Request #5012 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented

Dec 26, 2017

edited by bedevere-bot

Loading

Copy link Copy Markdown

Member

@serhiy-storchaka serhiy-storchaka added the performance

Performance or resource usage

label

Dec 26, 2017

@serhiy-storchaka serhiy-storchaka requested a review from a team

December 26, 2017 00:04

@brettcannon brettcannon removed the request for review from a team

March 23, 2018 21:10

@taleinat

taleinat commented

Sep 6, 2018

Copy link Copy Markdown

Contributor

@serhiy-storchaka, this is very nice!

Any benchmarks for this?

What would it take to move this forward for 3.8?

@serhiy-storchaka

Copy link Copy Markdown

Member Author

Results of microbenchmarks are provided on the tracker.

I want to add support of more complex format codes (at least %d) if this proposition be accepted in general.

@serhiy-storchaka serhiy-storchaka changed the title [POC] bpo-28307: Convert simple C-style formatting with literal format into f-string. bpo-28307: Convert simple C-style formatting with literal format into f-string.

Apr 27, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@isidentical isidentical Awaiting requested review from isidentical

Assignees

No one assigned

Labels

performance

Performance or resource usage

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@serhiy-storchaka @taleinat @the-knights-who-say-ni @csabella @bedevere-bot