➜

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.

作者 abarry
收信人 abarry, martin.panter, serhiy.storchaka, vstinner
日期 2016-04-19.20:20:17
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1461097217.81.0.829251753654.issue26801@psf.upfronthosting.co.za>
In-reply-to
内容
To be fair, I don't think we actually need a unit test to check if `os.get_terminal_size` exists, as we catch any `AttributeError` at all. I'd want to keep the except clause there to properly handle `sys.__stdout__` being `None` (or simply absent). I also don't consider that I'm fixing a bug here, but more like an oversight. The except clause with `NameError` is obviously an oversight from when the function was ported from `os` to `shutil`, so I'd rather fix it.
历史
日期 用户 动作 参数
2016-04-19 20:20:17abarry修改recipients: + abarry, vstinner, martin.panter, serhiy.storchaka
2016-04-19 20:20:17abarry修改messageid: <1461097217.81.0.829251753654.issue26801@psf.upfronthosting.co.za>
2016-04-19 20:20:17abarry链接issue26801 messages
2016-04-19 20:20:17abarry创建