[Python-ideas] Left division operator

Stefan Behnel stefan_ml at behnel.de
Sun Jul 17 17:19:52 CEST 2011


Mike Graham, 17.07.2011 16:49:
> On Sun, Jul 17, 2011 at 8:37 AM, Sturla Molden wrote:
>> This would be affected though:
>>
>> x = (loooooooooooooooooooong + "line" \
>> "something")
>
> That breaks current code.

No, it doesn't. This code would continue to work as before, but that's 
exactly the problem here. It would be impossible to use a backslash 
division operator at the end of a line even in a properly braced 
expression, as that would turn it into an escape operator.

Stefan




More information about the Python-ideas mailing list