On 02/07/2021 08:12, Thomas Güttler wrote:
Hi Nick and all other Python ideas friends,
yes, you are right. There is not much difference between PEP-501 or my
proposal.
One argument why I would like to prefer backticks:
Some IDEs detect that you want to use a f-string automatically:
You type:
name = 'Peter'
print('Hello {name...
and the IDE automatically adds the missing "f" in front of the string:
name = 'Peter'
print(f'Hello {name...
This is a handy feature (of PyCharm), which would not work reliably if
there are two different prefixes.
Grrr! And I thought I was an idiot for frequently omitting the _"f" in
f-strings_. (Say the underlined bit repeatedly to yourself ... but only
as long as you won't be overheard.)
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/QX766WLQMHFJDVAJZDQ4MP4WV3T4NOAI/
Code of Conduct: http://python.org/psf/codeofconduct/