New submission from Cheryl Sabella <cheryl.sabe...@gmail.com>:
Under issue32989, there was discussion about refactoring duplicate code between hyperparser and editor. > Perhaps separate issue: the 'if use_ps1' statements in editor and > hyperparser, and a couple of lines before, is nearly identical, and could be > factored into a separate editor method that returns a parser instance ready > for analysis. It could then be tested in isolation. The method should > return a parser instance ready for analysis. ---------- assignee: terry.reedy components: IDLE messages: 362153 nosy: cheryl.sabella, terry.reedy priority: normal severity: normal status: open title: IDLE: Factor out similar code in editor and hyperparser type: enhancement versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39666> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com