[New-bugs-announce] [issue40246] Different error messages for same error - invalid string prefixes
Lysandros Nikolaou
report at bugs.python.org
Fri Apr 10 14:05:58 EDT 2020
New submission from Lysandros Nikolaou <lisandrosnik at gmail.com>:
While testing pegen, we found this out:
Python 3.9.0a5+ (heads/pegen:502dfb719e, Apr 10 2020, 20:57:05)
[GCC 9.2.1 20191008] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> fur''
File "<stdin>", line 1
fur''
^
SyntaxError: invalid syntax
>>> eval("fur''")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 1
fur''
^
SyntaxError: unexpected EOF while parsing
----------
components: Interpreter Core
messages: 366143
nosy: lys.nikolaou
priority: normal
severity: normal
status: open
title: Different error messages for same error - invalid string prefixes
type: behavior
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40246>
_______________________________________
More information about the New-bugs-announce
mailing list