Re:We fixed f-string typos in popular Python repos
by krisoft on Friday April 29, 2022 @03:13PM
(#31209482)
> treat it as a fatal error
Did you think this through? What would you treat as a fatal error? How would the compiler know if a particular string is old style code wanting to print some characters between curly braces or new style code wanting to string interpolate a variable?
Did you think this through? What would you treat as a fatal error? How would the compiler know if a particular string is old style code wanting to print some characters between curly braces or new style code wanting to string interpolate a variable?