[Python-3000] PEP-3125 -- remove backslash continuation

Giovanni Bajo rasky at develer.com
Wed May 2 21:50:52 CEST 2007

On 02/05/2007 20.15, Guido van Rossum wrote:

> I am worried that (as no indent is required on the next line) it will
> accidentally introduce legal interpretations for certain common (?)
> typos, e.g.
>   x = y+    # Used to be y+1, the 1 got dropped
>   f(x)

It would also change the meaning of existing valid programs such as:

   x = 1,

The additional ident would solve this of course, but as you already said it's 
a bad idea from an implementation standpoint.
Giovanni Bajo

More information about the Python-3000 mailing list