Message290686
When I wrote the documentation <https://docs.python.org/dev/reference/lexical_analysis.html#f-strings>, I think I tried to avoid “f-string”, being jargon, and used more formal terminology from PEP 498 instead. But I agree they more than regular literals.
Serhiy do you have a link/message-id/etc of the Python-dev discussion? All I found with Google was <https://www.reddit.com/r/Python/comments/3k969r/lets_find_a_better_name_for_fstrings/>. One other goal is to differentiate these from other formatted strings, such as from str.format and percent formatting.
* formatted strings (doesn’t differentiate from str.format, etc)
* string interpolations
* string expressions
* string comprehensions (apparently too far removed from set comprehensions)
* Maybe format(ted) string displays? (parallelling list etc displays) |
|
Date |
User |
Action |
Args |
2017-03-28 07:07:24 | martin.panter | set | recipients:
+ martin.panter, docs@python, serhiy.storchaka, Mariatta |
2017-03-28 07:07:24 | martin.panter | set | messageid: <1490684844.36.0.115779519104.issue29928@psf.upfronthosting.co.za> |
2017-03-28 07:07:24 | martin.panter | link | issue29928 messages |
2017-03-28 07:07:24 | martin.panter | create | |
|