This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lys.nikolaou
Recipients gvanrossum, lys.nikolaou, pablogsal, serhiy.storchaka, vstinner
Date 2020-04-29.00:45:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
A possible solution would be to only emit a SyntaxError if the NAME directly preceding a STRING token contains one of the valid string prefixes (either one of 'f', 'r', 'u', 'b'). This would still output a nicer error message, but would not break code like the one of the example. What do you think about this?
Date User Action Args
2020-04-29 00:45:55lys.nikolaousetrecipients: + lys.nikolaou, gvanrossum, vstinner, serhiy.storchaka, pablogsal
2020-04-29 00:45:55lys.nikolaousetmessageid: <>
2020-04-29 00:45:55lys.nikolaoulinkissue40246 messages
2020-04-29 00:45:55lys.nikolaoucreate