Serhiy Storchaka added the comment: Here is an alternative patch which outputs a bytes literal and a hexdump as a comment.
---------- Added file: http://bugs.python.org/file30121/pprint_bytes_hex_2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17868> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com