[Python-ideas] Let’s make escaping in f-literals impossible
Guido van Rossum
guido at python.org
Tue Aug 30 12:32:50 EDT 2016
Please just call it f-string and move on, we've had the naming debate
previously, it's no longer productive.
Regarding eventually supporting f'{'x'}', that will have to be a new
PEP to extend PEP 498. (I previously thought it would be an
incompatibility, but since f'{' is currently invalid, it's not.
However it's a huge change conceptually and implementation-wise, and I
don't blame Eric if he doesn't want to be responsible for it. So it
has to be a new PEP, to be introduced in 3.7 at the earliest.
--
--Guido van Rossum (python.org/~guido)
More information about the Python-ideas
mailing list