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

2012-06-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> duplicate status: open -> closed superseder: -> general pprint rewrite ___ Python tracker ___ _

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

2012-06-22 Thread Matt Barr
Changes by Matt Barr : -- nosy: +Matt.Barr ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

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

2011-12-15 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

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

2011-03-03 Thread Craig McQueen
Changes by Craig McQueen : -- nosy: +cmcqueen1975 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

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

2010-12-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- versions: +Python 3.3 -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2010-12-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- Removed message: http://bugs.python.org/msg122983 ___ Python tracker ___ ___ Python-bugs-list mailin

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

2010-12-01 Thread Éric Araujo
Changes by Éric Araujo : -- superseder: general pprint rewrite -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

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

2010-11-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'll discuss with Benjamin. This could be construed as a simple bug fix. The code is already in Py3.1. Line 155: - items = _sorted(object.items()) + items = (list if issubclass(typ, OrderedDict) else _sorted)(object.items()) -- assignee: -> benj

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

2010-11-30 Thread Elias Zamaria
Elias Zamaria 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 s

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

2010-11-30 Thread Éric Araujo
Éric Araujo added the comment: I’m afraid there is no way, but a robust solution will be designed. See #7434. -- nosy: +eric.araujo resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> general pprint rewrite ___

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

2010-11-30 Thread Elias Zamaria
New submission from Elias Zamaria : 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 th