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 josh.r
Recipients eryksun, fdrake, josh.r, rhettinger, serhiy.storchaka
Date 2017-04-06.18:08:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491502121.63.0.240458308786.issue29996@psf.upfronthosting.co.za>
In-reply-to
Content
Thus, you keep your default behavior of width=80, while I just add the following to my PYTHONSTARTUP file:

from functools import partial
from pprint import pprint, AUTOWIDTH

pprint = partial(pprint, width=AUTOWIDTH)

and we both get what we want.
History
Date User Action Args
2017-04-06 18:08:41josh.rsetrecipients: + josh.r, fdrake, rhettinger, serhiy.storchaka, eryksun
2017-04-06 18:08:41josh.rsetmessageid: <1491502121.63.0.240458308786.issue29996@psf.upfronthosting.co.za>
2017-04-06 18:08:41josh.rlinkissue29996 messages
2017-04-06 18:08:41josh.rcreate