[New-bugs-announce] [issue33068] Inconsistencies in parsing (evaluating?) longstrings
David Lukeš
report at bugs.python.org
Tue Mar 13 08:50:49 EDT 2018
New submission from David Lukeš <dafydd.lukes at gmail.com>:
""" \""" """ evaluates to ' """ ' (as expected), but without the surrounding spaces, """\"""""" evaluates to '"' instead of '"""'.
Is this expected behavior? If I'm reading the definition of string syntax in https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals correctly, it shouldn't be.
----------
components: Interpreter Core
messages: 313745
nosy: David Lukeš
priority: normal
severity: normal
status: open
title: Inconsistencies in parsing (evaluating?) longstrings
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33068>
_______________________________________
More information about the New-bugs-announce
mailing list