This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients Dhruve, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2017-12-31.12:18:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1514722712.41.0.467229070634.issue32463@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-12-31 12:18:32eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower, Dhruve
2017-12-31 12:18:32eryksunsetmessageid: <1514722712.41.0.467229070634.issue32463@psf.upfronthosting.co.za>
2017-12-31 12:18:32eryksunlinkissue32463 messages
2017-12-31 12:18:32eryksuncreate