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

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
Copy link
Copy Markdown
Member

@ericvsmith ericvsmith commented May 2, 2019

!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
Copy link
Copy Markdown
Member

@tirkarthi tirkarthi left a comment

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
Copy link
Copy Markdown
Member Author

ericvsmith commented May 7, 2019

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants