← 返回首页
bpo-36774: Add !d to f-strings to make debugging easier. by ericvsmith · Pull Request #13059 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

bpo-36774: Add !d to f-strings to make debugging easier.#13059

Closed
ericvsmith wants to merge 20 commits into
python:masterfrom
ericvsmith:fstring-bang-x
Closed

bpo-36774: Add !d to f-strings to make debugging easier.#13059
ericvsmith wants to merge 20 commits into
python:masterfrom
ericvsmith:fstring-bang-x

Conversation

ericvsmith commented May 2, 2019
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

!d will expand to the text of the expression, an equal sign, and the repr of the value of the expression.

https://bugs.python.org/issue36774

Comment thread Misc/NEWS.d/next/Core and Builtins/2019-05-02-11-48-08.bpo-36774.ZqbJ1J.rst Outdated Show resolved Hide resolved

tirkarthi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

This can have a WhatsNew entry since this is very helpful and increases the visibility of this feature for the next alpha release.

ericvsmith self-assigned this May 2, 2019

ericvsmith commented May 7, 2019
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member Author

Closed in favor of bpo-36817.

ericvsmith closed this May 7, 2019
ericvsmith deleted the fstring-bang-x branch May 8, 2019 20:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Footer

© 2026 GitHub, Inc.