Eryk Sun <eryk...@gmail.com> added the comment:

The 3.5 branch only gets security fixes at this point. Consider upgrading to 
3.6.

That said, this shouldn't be a problem with shutil.get_terminal_size() in 3.5. 
It handles AttributeError, ValueError, and OSError by returning the `fallback` 
size. And it's expected that `os.get_terminal_size(1)` will fail if there's no 
attached console.

----------
components: +Library (Lib)
nosy: +eryksun

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

Reply via email to