Tal Einat <taleinat+pyt...@gmail.com> added the comment:
As noted on the PR GH-20753, an incremental change to the current logic doesn't seem like a promising approach. It seems to me that this will require refactoring the code parsing logic to allow it to incrementally parse lines backwards and forwards in order to find the beginning and end of a code block. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue21756> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com