[issue5131] pprint doesn't know how to print a defaultdict
report at bugs.python.org
Fri Oct 1 10:59:06 CEST 2010
Nick Craig-Wood <nick at craig-wood.com> added the comment:
Terry J. Reedy (terry.reedy) wrote:
> > IMHO pprint should be able to make a decent job of all the built in types
> Agreed, already true as far as I know, and irrelevant. This issue is not about built-in types in the builtins module, as documented Lib Ref chapter 5 *Built-in Types*. Collections is an Python-coded stdlib module that happens to import a couple of its classes from _collections, written in C for speed.
My bad - not precise enough! I meant all the stdlib types rather than the builtin types.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list