New submission from Serhiy Storchaka: Here is a patch with which pprint formats long bytes objects which contain non-ascii or non-printable bytes as a hexdump.
Inspired by Antoine's wish (http://permalink.gmane.org/gmane.comp.python.ideas/20329). ---------- components: Library (Lib) files: pprint_bytes_hex.patch keywords: patch messages: 188081 nosy: fdrake, pitrou, serhiy.storchaka, techtonik priority: normal severity: normal stage: patch review status: open title: pprint long non-printable bytes as hexdump type: behavior versions: Python 3.4 Added file: http://bugs.python.org/file30067/pprint_bytes_hex.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