Pablo Galindo Salgado <pablog...@gmail.com> added the comment:
> From > (https://friendly-traceback.github.io/docs/syntax_tracebacks_en_3.10.html#for-loop-missing-in-operator), > this is what was shown for Python 3.10.0 Yeah, we are not showing that anymore as we only trigger the error when it happens inside collections to avoid many of the false positives we were seeing. This PR fixes the problem to point to the correct token, but still show "syntax error" ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46004> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com