Terry J. Reedy <tjre...@udel.edu> added the comment:

If you do the same in the standard python REPL, you get the same result.  So 
this behavior is not specific to IDLE, although one has to be slightly more 
careful restoring sys.stdout in IDLE.  (Restoring stdout from saved stdout 
should work the same without or with IDLE.  Restoring stdout from __stdout__ 
does not work in IDLE because IDLE redirects stdout from the original value.)

This tracker is for patching real bugs.  Questions about how to use python 
should be directed elsewhere, such as python-list.

----------
assignee: terry.reedy -> 
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38819>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to