[issue24966] shutil.get_terminal_size() throws ValueError if stdout is detached, no fallback

R. David Murray report at bugs.python.org
Tue Sep 1 03:42:35 CEST 2015


R. David Murray added the comment:

"After the raw stream is detached, the buffer is in an unusable state" pretty much says everything that needs to be said, doesn't it?  It certainly seems like anything more does not belong in the detach docs.  A mention could possibly be added to the sys.stdin/etc docs, though.

----------

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


More information about the Python-bugs-list mailing list