[Python-ideas] pprint in displayhook

Georg Brandl g.brandl at gmx.net
Fri Sep 27 18:55:14 CEST 2013

Am 27.09.2013 12:07, schrieb Serhiy Storchaka:
> What are you think about using pprint.pprint() to output the result of 
> evaluating an expression entered in an interactive Python session (and 
> in IDLE)?

This is something users can set in their sitecustomize.py; for various
reasons people have already mentioned it is not a sensible choice for
default interactive interpreters.

It might be different for IDLE; I don't know how faithfully it follows
the interactive interpreter in other regards.


More information about the Python-ideas mailing list