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 aroberge, gvanrossum, lys.nikolaou, pablogsal, serhiy.storchaka
Date 2021-01-26.16:46:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611679587.65.0.468156323911.issue42997@roundup.psfhosted.org>
In-reply-to
Content
> See also issue1634034.

The problem with issue1634034 is that is not anymore possible without manual changes to the grammar with the PEG parser (or new infrastructure). The new parser does not have a defined concept of "i expected this token and now I am going to hard fail because is not there", but instead it will backtrack and try something else. We also did some work on something similar and we deemed it not useful as it was:

bugs.python.org/issue40599
History
Date User Action Args
2021-01-26 16:46:27pablogsalsetrecipients: + pablogsal, gvanrossum, aroberge, serhiy.storchaka, lys.nikolaou
2021-01-26 16:46:27pablogsalsetmessageid: <1611679587.65.0.468156323911.issue42997@roundup.psfhosted.org>
2021-01-26 16:46:27pablogsallinkissue42997 messages
2021-01-26 16:46:27pablogsalcreate