[issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown

Antoine Pitrou report at bugs.python.org
Wed Nov 23 00:46:56 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

I think closing stdout is a legitimate desire so, yes, I would consider it a bug if we print an error in that case.
A patch could either first check the "closed" attribute, or silence the ValueError.

----------
stage:  -> needs patch
type:  -> behavior
versions: +Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13444>
_______________________________________


More information about the Python-bugs-list mailing list