Pablo Galindo Salgado <pablog...@gmail.com> added the comment:
Unfortunately that's not how the parser works. I insist, for the compiler to raise the propper error the parser needs to succeed first. That would require us to modify the input string in arbitrary ways (many times we don't know exactly what went wrong) and recompile an arbitrary number of times. I'm very sorry, but I will leave this issue closed as "won't fix" as the complexity of this solution is too much for the given benefit. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46910> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com