Message291187
pprint() uses width=80 by default. But default output stream is sys.stdout which often is connected to a terminal, and terminals now usually have larger width than 80 columns.
Proposed patch change the default value of the width parameter in pprint(). If the width is specified and the output is a terminal, then the width of the terminal is used. |
|
Date |
User |
Action |
Args |
2017-04-05 16:29:16 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, fdrake, rhettinger |
2017-04-05 16:29:16 | serhiy.storchaka | set | messageid: <1491409756.85.0.158082896832.issue29996@psf.upfronthosting.co.za> |
2017-04-05 16:29:16 | serhiy.storchaka | link | issue29996 messages |
2017-04-05 16:29:16 | serhiy.storchaka | create | |
|