[issue21756] IDLE - ParenMatch fails to find closing paren of multi-line statements

Tal Einat report at bugs.python.org
Sun Oct 4 11:46:19 EDT 2020


Tal Einat <taleinat+python at 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 <report at bugs.python.org>
<https://bugs.python.org/issue21756>
_______________________________________


More information about the Python-bugs-list mailing list