Pablo Galindo Salgado <pablog...@gmail.com> added the comment:
One problem with that is that the lookahead will move the error indicator to some incorrect place if the match fails. For example: PYTHON3.9 >>> "dfssdfsdfsd" fdsf sdfsdfsd {} File "<stdin>", line 1 "dfssdfsdfsd" fdsf sdfsdfsd {} ^ SyntaxError: invalid syntax with this PR: >>> "dfssdfsdfsd" fdsf sdfsdfsd {} File "<stdin>", line 1 "dfssdfsdfsd" fdsf sdfsdfsd {} ^ SyntaxError: invalid syntax We need a solution to this problem first ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44369> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com