Message188360
The idea is that the output of pprint should be something like (once #17530 is applied):
>>> pprint.pprint(b'\x7fELF\x01\x01\x01\x00\x00\n\x00\x00\x00\x00\x00\x00\x02\x00\x03\x00\x01')
(b'\x7fELF\x01\x01\x01\x00\x00\n\x00\x00'
b'\x00\x00\x00\x00\x02\x00\x03\x00\x01')
whereas the output of hexdump can be something like:
pprint.hexdump(b'\x7fELF\x01\x01\x01\x00\x00\n\x00\x00\x00\x00\x00\x00\x02\x00\x03\x00\x01')
7F 45 4C 46 01 01 01 00 00 0A 00 00 00 00 00 00 | .ELF............
02 00 03 00 01 | .....
hexdump() could accept some additional args too if required, but otherwise I don't think the details are so important as long as it produces something readable for a human. |
|
Date |
User |
Action |
Args |
2013-05-04 12:46:43 | ezio.melotti | set | recipients:
+ ezio.melotti, pitrou, techtonik, serhiy.storchaka |
2013-05-04 12:46:43 | ezio.melotti | set | messageid: <1367671603.66.0.859403380611.issue17868@psf.upfronthosting.co.za> |
2013-05-04 12:46:43 | ezio.melotti | link | issue17868 messages |
2013-05-04 12:46:43 | ezio.melotti | create | |
|