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 serhiy.storchaka
Recipients fdrake, rhettinger, serhiy.storchaka
Date 2017-04-05.21:58:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491429491.32.0.705381184548.issue29996@psf.upfronthosting.co.za>
In-reply-to
Content
* 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.
History
Date User Action Args
2017-04-05 21:58:11serhiy.storchakasetrecipients: + serhiy.storchaka, fdrake, rhettinger
2017-04-05 21:58:11serhiy.storchakasetmessageid: <1491429491.32.0.705381184548.issue29996@psf.upfronthosting.co.za>
2017-04-05 21:58:11serhiy.storchakalinkissue29996 messages
2017-04-05 21:58:11serhiy.storchakacreate