Message291197
* In IDLE sys.stdout.isatty() returns True, but sys.stdout.fileno() raises an exception. Terminal width can't be determined and the default 80 is used.
* You always can pass explicit width to pprint. This may be needed even with default width 80. Now on wide a terminal wider 80 columns you have unused space than can cause unneeded wrapping. On a terminal narrower 80 columns the pprint() output is formatted incorrectly and is wrapped twice: by pprint() and by terminal.
* The output in doctests is not connected to a terminal. |
|
Date |
User |
Action |
Args |
2017-04-05 21:58:11 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, fdrake, rhettinger |
2017-04-05 21:58:11 | serhiy.storchaka | set | messageid: <1491429491.32.0.705381184548.issue29996@psf.upfronthosting.co.za> |
2017-04-05 21:58:11 | serhiy.storchaka | link | issue29996 messages |
2017-04-05 21:58:11 | serhiy.storchaka | create | |
|