Serhiy Storchaka <[email protected]> added the comment:
The original issue was about different error messages in REPL and eval(). But
it is not related to string prefixes. We have the same difference without
involving strings:
>>> a b
File "<stdin>", line 1
a b
^
SyntaxError: invalid syntax
>>> eval("a b")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 1
a b
^
SyntaxError: unexpected EOF while parsing
I suggest to revert this change and close the issue.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40246>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com