[New-bugs-announce] [issue19103] Use pprint in displayhook

Serhiy Storchaka report at bugs.python.org
Fri Sep 27 13:41:47 CEST 2013


New submission from Serhiy Storchaka:

pprint.pprint() produces more human readable output than print(repr()) which is used in sys.displayhook(). The proposed patch changes sys.displayhook in site.py. You still can access original displayhook as sys.__displayhook__.

----------
files: displayhook_pprint.patch
keywords: patch
messages: 198468
nosy: fdrake, pitrou, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Use pprint in displayhook
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file31883/displayhook_pprint.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19103>
_______________________________________


More information about the New-bugs-announce mailing list