[issue32463] problems with shutil.py and os.get_terminal_size

Nick McElwaine report at bugs.python.org
Sun Dec 31 06:12:31 EST 2017


New submission from Nick McElwaine <nmcelwaine at gmail.com>:

os.get_terminal_size() fails with () or (0) or (1)

shutil.sys fails calling it with (sys.__stdout__.fileno())
 because sys.__stdout__ is type None

----------
components: Windows
messages: 309276
nosy: Dhruve, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: problems with shutil.py and os.get_terminal_size
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32463>
_______________________________________


More information about the Python-bugs-list mailing list