[Python-Dev] pprint and list/tuple/dict subclasses

Walter Dörwald walter at livinglogic.de
Tue Dec 2 13:42:02 EST 2003

Currently pprint refuses to prettyprint subclasses of list,
tuple and dict. Does it make sense to change that for 2.4?

Of course once __repr__() is overwritten by a subclass,
pprint has to use that instead of its own formatting.

    Walter Dörwald

More information about the Python-Dev mailing list