[issue10592] pprint module doesn't work well with OrderedDicts
Elias Zamaria
report at bugs.python.org
Wed Dec 1 01:20:26 CET 2010
New submission from Elias Zamaria <mikez302 at gmail.com>:
If I try to pretty-print an ordered dictionary, it doesn't show nicely. Instead of having each key-value pair on its own line, the whole thing shows up on one long line, which wraps many times and is hard to read.
I can provide an example if you want.
Is there a way to make it print nicely, like the old unordered dictionaries?
----------
components: Library (Lib)
messages: 122963
nosy: mikez302
priority: normal
severity: normal
status: open
title: pprint module doesn't work well with OrderedDicts
type: behavior
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10592>
_______________________________________
More information about the Python-bugs-list
mailing list