[issue10592] pprint module doesn't work well with OrderedDicts

Elias Zamaria report at bugs.python.org
Wed Dec 1 05:26:54 CET 2010


Elias Zamaria <mikez302 at gmail.com> added the comment:

I forgot to mention, someone came up with this suggestion (http://stackoverflow.com/questions/4301069/any-way-to-properly-pretty-print-ordered-dictionaries-in-python/4303996#4303996). It is not the best, but the output is better than how it is now. Can it be somehow integrated into the PrettyPrinter.format method?

----------
resolution: duplicate -> 
status: closed -> open

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


More information about the Python-bugs-list mailing list