Message263766
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. |
|
| Date |
User |
Action |
Args |
| 2016-04-19 20:20:17 | abarry | set | recipients:
+ abarry, vstinner, martin.panter, serhiy.storchaka |
| 2016-04-19 20:20:17 | abarry | set | messageid: <[email protected]> |
| 2016-04-19 20:20:17 | abarry | link | issue26801 messages |
| 2016-04-19 20:20:17 | abarry | create | |
|