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 pitrou
Recipients fdrake, pitrou
Date 2013-02-07.12:51:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360241467.59.0.786252231553.issue17150@psf.upfronthosting.co.za>
In-reply-to
Content
Currently:

>>> pprint.pprint({"a": "xxx " * 50})
{'a': 'xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx '}

It would be nicer if it produced something like:

>>> pprint.pprint({"a": "xxx " * 50})
{'a': 'xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx '
      'xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx '
      'xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx '
      'xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx '
      'xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx '}

(for the record, the real-world use case I encountered was when printing some pyudev data)
History
Date User Action Args
2013-02-07 12:51:07pitrousetrecipients: + pitrou, fdrake
2013-02-07 12:51:07pitrousetmessageid: <1360241467.59.0.786252231553.issue17150@psf.upfronthosting.co.za>
2013-02-07 12:51:07pitroulinkissue17150 messages
2013-02-07 12:51:07pitroucreate