bbayles <bbay...@gmail.com> added the comment:
I took a shot at this, but closed my PR when I found that it introduced a different regression. After playing with it for a bit, I think that this commit [1] is a bit problematic because it uses lexer.instream.readline(), which can make the line number in lexer.lineno incorrect. I may take another look if I have time, but someone else is free to tackle this. [1] https://github.com/python/cpython/commit/1df0f214a9fdb4dde7506576b144cf6a7fd01b65#diff-e6896f6d68ca3fd8094a933533f8b2ed ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34132> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com