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 martin.panter
Recipients abarry, martin.panter, python-dev, serhiy.storchaka, vstinner
Date 2016-04-24.04:40:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461472842.48.0.0312958262946.issue26801@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy’s patch looks worthwhile to me, though I still think a comment would help. There are lots of different cases being handled by those few lines:

try:
   size = os.get_terminal_size(sys.__stdout__.fileno())
except (AttributeError, ValueError, OSError)
History
Date User Action Args
2016-04-24 04:40:42martin.pantersetrecipients: + martin.panter, vstinner, python-dev, serhiy.storchaka, abarry
2016-04-24 04:40:42martin.pantersetmessageid: <1461472842.48.0.0312958262946.issue26801@psf.upfronthosting.co.za>
2016-04-24 04:40:42martin.panterlinkissue26801 messages
2016-04-24 04:40:42martin.pantercreate