Serhiy Storchaka added the comment:

Perhaps PseudoInputFile.close() should call super().close() to set closed flag. 
Perhaps close() should be even implemented in PseudoFile.

It's my fault in this regression. I deliberately have not implemented 
PseudoFile.close(), because I saw no sense in deliberate calling of 
sys.std*.close() and considered closing the window with unpremeditated closing 
of the standard stream is too dangerous.

----------

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

Reply via email to