[issue37824] IDLE: DeprecationWarning not handled properly

2019-08-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: None.get_saved is #35623. I believe it is related to #35379, where I requested your comment on what I found so far. --- 1. Compiler warnings for shell input go to sys.__stderr, which only exists when IDLE is started from a console. This will include Syntax

[issue37824] IDLE: DeprecationWarning not handled properly

2019-08-11 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : DeprecationWarning at compile time is output multiple times to the stderr (on console from which IDLE was ran), but not to IDLE Shell window. For example, when enter '\e': $ ./python -m idlelib Warning (from warnings module): File "", line 1 '\e'