[issue39666] IDLE: Factor out similar code in editor and hyperparser

2020-06-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: PR20847 is an implementation with the parser function in hyperparser instead of EditorWindow. -- ___ Python tracker ___

[issue39666] IDLE: Factor out similar code in editor and hyperparser

2020-06-12 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +20040 pull_request: https://github.com/python/cpython/pull/20847 ___ Python tracker ___

[issue39666] IDLE: Factor out similar code in editor and hyperparser

2020-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: The quote from #32989 is from my msg313179, msg313179. There are two levels of duplication. First, between Hyperparser and EditorWindow. Second between editor and shell branches. While I said before to resolve the first with an EditorWindow method, as

[issue39666] IDLE: Factor out similar code in editor and hyperparser

2020-02-17 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +17916 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18539 ___ Python tracker ___

[issue39666] IDLE: Factor out similar code in editor and hyperparser

2020-02-17 Thread Cheryl Sabella
New submission from Cheryl Sabella : 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 >