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 dmtr
Recipients dmtr
Date 2010-03-25.06:15:57
SpamBayes Score 0.00022648426
Marked as misclassified No
Message-id <1269497760.71.0.432450737837.issue8228@psf.upfronthosting.co.za>
In-reply-to
Content
I've run into a case where pprint isn't really pretty. 

import pprint
pprint.PrettyPrinter().pprint([1]*100)

Prints a lengthy column of '1'; Not pretty at all. Look:

[1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1,
 1]
History
Date User Action Args
2010-03-25 06:16:00dmtrsetrecipients: + dmtr
2010-03-25 06:16:00dmtrsetmessageid: <1269497760.71.0.432450737837.issue8228@psf.upfronthosting.co.za>
2010-03-25 06:15:58dmtrlinkissue8228 messages
2010-03-25 06:15:57dmtrcreate