[New-bugs-announce] [issue17868] pprint long non-printable bytes as hexdump

Serhiy Storchaka report at bugs.python.org
Mon Apr 29 20:19:29 CEST 2013

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list