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 Pam.McANulty
Recipients Pam.McANulty, fdrake, pitrou
Date 2013-04-15.13:55:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366034109.13.0.43827497713.issue17530@psf.upfronthosting.co.za>
In-reply-to
Content
oops, forgot to add some samples:
>>> pprint.pprint(b"\n\n\n\n\n\n", width=5)
b'\n'\
b'\n'\
b'\n'\
b'\n'\
b'\n'\
b'\n'

>>> pprint.pprint({"a": b"\x00\xff" * 20})
{'a': b'\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00'\
      b'\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff'\
      b'\x00\xff\x00\xff\x00\xff'}

>>> pprint.pprint({"a": b"\x00\xff" * 20}, width=20)
{'a': b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'\
      b'\x00\xff'}

>>> pprint.pprint(b'a\x00\n\\x00', width=20)
b'a\x00\n\\x00'
History
Date User Action Args
2013-04-15 13:55:09Pam.McANultysetrecipients: + Pam.McANulty, fdrake, pitrou
2013-04-15 13:55:09Pam.McANultysetmessageid: <1366034109.13.0.43827497713.issue17530@psf.upfronthosting.co.za>
2013-04-15 13:55:09Pam.McANultylinkissue17530 messages
2013-04-15 13:55:09Pam.McANultycreate