[Python-Dev] PEP 498 f-string: please remove the special case for spaces

Eric V. Smith eric at trueblade.com
Tue Aug 11 01:31:26 CEST 2015


On 8/10/2015 7:26 PM, Victor Stinner wrote:
> Le mardi 11 août 2015, Eric V. Smith <eric at trueblade.com
> <mailto:eric at trueblade.com>> a écrit :
> 
>     It sounds like you want to disallow leading spaces just to
>     disallow this one type of expression.
> 
> 
>  I would like to reduce the number of subtle differences between
> f-string and str.format().

The expressions supported are so vastly different that I don't think the
whitespace issue matters.

Eric.



More information about the Python-Dev mailing list