Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

> 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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42997>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to