Author serhiy.storchaka
Recipients aeros, eric.smith, gvanrossum, lys.nikolaou, pablogsal, petr.viktorin, serhiy.storchaka, vstinner
Date 2020-04-29.20:14:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588191245.66.0.850926425478.issue40246@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-04-29 20:14:05serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, vstinner, eric.smith, petr.viktorin, lys.nikolaou, pablogsal, aeros
2020-04-29 20:14:05serhiy.storchakasetmessageid: <1588191245.66.0.850926425478.issue40246@roundup.psfhosted.org>
2020-04-29 20:14:05serhiy.storchakalinkissue40246 messages
2020-04-29 20:14:05serhiy.storchakacreate