This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients dirn, eric.smith, gregory.p.smith, paul.moore, serhiy.storchaka, steven.daprano, xtreak
Date 2019-05-04.08:40:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556959231.13.0.702524514521.issue36774@roundup.psfhosted.org>
In-reply-to
Content
Serhiy's point about how special this is is very valid. It's so special that I can't figure out where to document it. f-strings are really only documented in Doc/reference/lexical_analysis.rst, and !d details, especially the format/repr distinction, seems like too much information for that document. But I could be wrong about that.

And since this feature can't be used in str.format(), it can't be documented in Doc/library/string.rst. In fact, it should contain a note about !d not applying.

Rather than make the documentation worse, I think I'll just open a separate issue for it when I commit this. Maybe someone else will have some ideas.
History
Date User Action Args
2019-05-04 08:40:31eric.smithsetrecipients: + eric.smith, gregory.p.smith, paul.moore, steven.daprano, dirn, serhiy.storchaka, xtreak
2019-05-04 08:40:31eric.smithsetmessageid: <1556959231.13.0.702524514521.issue36774@roundup.psfhosted.org>
2019-05-04 08:40:31eric.smithlinkissue36774 messages
2019-05-04 08:40:30eric.smithcreate