Message370643
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. |
|
Date |
User |
Action |
Args |
2020-06-03 06:22:40 | pablogsal | set | recipients:
+ pablogsal, brett.cannon, christian.heimes, benjamin.peterson, serhiy.storchaka, yselivanov, adamwill, BTaskaya |
2020-06-03 06:22:40 | pablogsal | set | messageid: <1591165360.65.0.683053807174.issue40848@roundup.psfhosted.org> |
2020-06-03 06:22:40 | pablogsal | link | issue40848 messages |
2020-06-03 06:22:40 | pablogsal | create | |
|