This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: IDLE: Make PyShell visible upon error.
Type: enhancement Stage: test needed
Components: IDLE Versions: Python 3.10
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 2022-04-11 14:58 by admin.

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
2022-04-11 14:58:47adminsetgithub: 74904
2020-06-07 21:58:30terry.reedysetversions: + Python 3.10, - Python 3.6, Python 3.7
2017-06-20 23:38:08terry.reedysetmessages: + msg296501
2017-06-20 23:35:40terry.reedycreate