Skip to content

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

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

Conversation

@ericvsmith

@ericvsmith ericvsmith commented May 2, 2019 •

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

@tirkarthi 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.

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

@ericvsmith ericvsmith self-assigned this May 2, 2019
@ericvsmith

ericvsmith commented May 7, 2019 •

Copy link
Copy Markdown
Member Author

Closed in favor of bpo-36817.

@ericvsmith ericvsmith closed this May 7, 2019
@ericvsmith
ericvsmith deleted the fstring-bang-x branch May 8, 2019 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants