[issue32463] problems with shutil.py and os.get_terminal_size
Berker Peksag
report at bugs.python.org
Fri May 18 08:05:37 EDT 2018
Berker Peksag <berker.peksag at gmail.com> added the comment:
Thanks for the report. I agree with Eryk. os.get_terminal_size() is a low-level function. shutil.get_terminal_size() should be used as documented at https://docs.python.org/3/library/os.html#os.get_terminal_size
shutil.get_terminal_size() is the high-level function which should
normally be used, os.get_terminal_size is the low-level
implementation.
----------
nosy: +berker.peksag
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32463>
_______________________________________
More information about the Python-bugs-list
mailing list