bug in parser?

Terry Reedy tjreedy at udel.edu
Sun Jun 20 19:38:12 EDT 2010


On 6/20/2010 7:22 PM, Neal Becker wrote:
> Isn't this a bug?
>
> print \"
>
> SyntaxError: unexpected character after line continuation character

This is definitely a syntax error. The message is about as good an 
interpretation of nonsensical situation as one could expect from an 
automaton.

Terry Jan Reedy






More information about the Python-list mailing list