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