[New-bugs-announce] [issue3298] Multiline string with quotes is not parsed correctly.
Stavros Korokithakis
report at bugs.python.org
Sun Jul 6 15:09:49 CEST 2008
New submission from Stavros Korokithakis <stavros at korokithakis.net>:
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 <report at bugs.python.org>
<http://bugs.python.org/issue3298>
_______________________________________
More information about the New-bugs-announce
mailing list