[issue26801] Fix shutil.get_terminal_size() to catch AttributeError

Serhiy Storchaka report at bugs.python.org
Wed Apr 20 03:17:06 EDT 2016


Serhiy Storchaka added the comment:

Left testing only the most common cases: sys.__stdout__ is None or is non a terminal.

----------
Added file: http://bugs.python.org/file42529/get_terminal_size_valueerror2.patch

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


More information about the Python-bugs-list mailing list