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

If you intend to import the stdlib sys and succeed, the original stdout is 
called '__stdout__'.  See 
https://docs.python.org/3/library/sys.html#sys.__stdin__, including the note 
that it may be None on Windows.  Also peruse that doc to see what attributes 
sys *does* have.

When you have questions about using python, please post first to python-list or 
other question-answering forums.

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

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

Reply via email to