[issue32939] IDLE: self.use_context_ps1 defined in editor, but always False

2018-02-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: #31858 (second link) replaced one (?) use of "if use_context_ps1" ('in Shell') with "if self.last_prompt_line != ''" ("prompt before code on same line"). This can only happen in Shell, and only if the prompt ends with something other than '\n'. I cannot rem

[issue32939] IDLE: self.use_context_ps1 defined in editor, but always False

2018-02-24 Thread Cheryl Sabella
New submission from Cheryl Sabella : In the EditorWindow in editor.py, there is an attribute called `self.context_use_ps1` that is only set to False. Changed to an instance variable in: https://github.com/python/cpython/commit/6af44986029c84c4c5df62a64c60a6ed978a3693 Removed from pyshell in: