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 pablogsal
Recipients BTaskaya, adamwill, benjamin.peterson, brett.cannon, christian.heimes, pablogsal, serhiy.storchaka, yselivanov
Date 2020-06-03.06:22:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591165360.65.0.683053807174.issue40848@roundup.psfhosted.org>
In-reply-to
Content
Yeah, this is not a bug as Serhiy points out. Regarding the error message, we are currently working on trying to unify the error messages in the the parser as much as we can but there is also no promise that they will match 100%.

Many grammar checks currently are done outside the parser (we mention it on  PEP617) so I am not surprised that the old parser is ok with some invalid expressions and PyCF_ONLY_AST. This is one of the things we are trying to change with the new parser precisely.

I will close for now as "not a bug". Feel free to reopen if you think we missed something or if something was left to discuss.
History
Date User Action Args
2020-06-03 06:22:40pablogsalsetrecipients: + pablogsal, brett.cannon, christian.heimes, benjamin.peterson, serhiy.storchaka, yselivanov, adamwill, BTaskaya
2020-06-03 06:22:40pablogsalsetmessageid: <1591165360.65.0.683053807174.issue40848@roundup.psfhosted.org>
2020-06-03 06:22:40pablogsallinkissue40848 messages
2020-06-03 06:22:40pablogsalcreate