[Python-ideas] String interpolation for all literal strings

Mike Miller python-ideas at mgmiller.net
Wed Aug 5 22:46:05 CEST 2015


Sounds awesome.  Making it default could be a killer feature for Python 4.0  ;)

-Mike


On 08/05/2015 01:03 PM, Guido van Rossum wrote:
> BTW an idea on the transition: with a __future__ import \{..} is enabled in all
> non-raw strings, without a __future__ import you can still use \{..} inside
> f-literals. (Because having to add a __future__ import interrupts one's train of
> thought.)


More information about the Python-ideas mailing list