[issue32880] IDLE: Fix and update and cleanup pyparse

Terry J. Reedy report at bugs.python.org
Sun Feb 25 23:16:29 EST 2018


Terry J. Reedy <tjreedy at udel.edu> added the comment:

As I mentioned before, Parser.set_code strongly suggests that Parser instances were intended to be reused.  But you discovered the bug that prevented this, at least for one code result.  With that fixed, it should be possible to have one Parser instance per editor.

Since hyperparser is used to match each ), ], and } we could look at that too.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32880>
_______________________________________


More information about the Python-bugs-list mailing list