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 <rep...@bugs.python.org> <http://bugs.python.org/issue19103> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com