classification
Title: IDLE: Make PyShell visible upon error.
Type: enhancement Stage: test needed
Components: IDLE Versions: Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: terry.reedy
Priority: normal Keywords:

Created on 2017-06-20 23:35 by terry.reedy, last changed 2017-06-20 23:38 by terry.reedy.

Messages (2)
msg296500 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2017-06-20 23:35
Spinoff from #10079. "PseudoStderrFile" in PyShell.py brings the shell forward if an error occurs. It should be possible to extract G. Polo's patch for that class from the megapatch.

A possible issue is that PseudoStdoutFile and PseudoStderrFile have been combined as PseudoOutputFile.  That and PseudoInputfile are used in both the IDLE and user processes.
msg296501 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2017-06-20 23:38
The lift action should only happen in the IDLE GUI process.  When I retrace the data flow, I should document it.
History
Date User Action Args
2017-06-20 23:38:08terry.reedysetmessages: + msg296501
2017-06-20 23:35:40terry.reedycreate