New submission from Stavros Korokithakis <[EMAIL PROTECTED]>:

A multiline string with quotes next to the ending quote is not parsed 
correctly:

In [1]: """A "test""""
------------------------------------------------------------
   File "<ipython console>", line 1
     """A "test""""
                  ^
<type 'exceptions.SyntaxError'>: EOL while scanning single-quoted string

Is this normal behaviour? It seems to me like the parser should parse 
everything inside the triple double quotes (there is no ambiguity).

----------
components: Interpreter Core
messages: 69326
nosy: Stavros
severity: normal
status: open
title: Multiline string with quotes is not parsed correctly.
type: behavior
versions: Python 2.5

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3298>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to