On Monday 30 January 2017 08:12, Serhiy Storchaka wrote: > On 28.01.17 10:03, Steve D'Aprano wrote: >> Is shutil.get_terminal_size useless? When, if ever, should I use it in >> preference to the os version? If the shutil version is broken, can it be >> fixed? > > Read the history of shutil.get_terminal_size(). All this was discussed.
Yes, it was discussed, but not resolved: Antoine Pitrou just closed the task and declared it done, without resolving the failures I am talking about here. http://bugs.python.org/issue13609 (Thanks Eryk Sun for the link.) -- Steven "Ever since I learned about confirmation bias, I've been seeing it everywhere." - Jon Ronson -- https://mail.python.org/mailman/listinfo/python-list