[Python-ideas] Let’s make escaping in f-literals impossible

Eric V. Smith eric at trueblade.com
Mon Aug 29 17:45:59 EDT 2016


On 8/29/2016 5:40 PM, Steve Dower wrote:
> On 29Aug2016 1433, Eric V. Smith wrote:
>> On 8/29/2016 5:26 PM, Ethan Furman wrote:
>>> Update the PEP, then it's a bugfix.  ;)
>>
>> Heh. I guess that's true. But it's sort of a big change, so shipping
>> beta 1 with the code not agreeing with the PEP rubs me the wrong way.
>>
>> Or, I could stop worrying and typing emails, and instead just get on
>> with it!
>
> I like this approach :)
>
> But I agree. Release Manager Ned has the final say, but I think this
> change can comfortably go in during the beta period. (I also disagree
> that it's a big change - nobody could agree on the 'obvious' behaviour
> of backslashes anyway, so chances are people would avoid them anyway,
> and there was strong consensus on advising people to avoid them.)

By "big", I meant "a lot of C code changes". And you'd be surprised by 
the percentage of the tests that are devoted to backslashes inside braces!

Eric.




More information about the Python-ideas mailing list