[issue23775] Fix pprint of OrderedDict

2015-03-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your review Berker. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue23775] Fix pprint of OrderedDict

2015-03-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset afc21da5935f by Serhiy Storchaka in branch 'default': Issue #23775: pprint() of OrderedDict now outputs the same representation https://hg.python.org/cpython/rev/afc21da5935f -- nosy: +python-dev ___ Pyth

[issue23775] Fix pprint of OrderedDict

2015-03-25 Thread Berker Peksag
Berker Peksag added the comment: LGTM. Added minor comments on Rietveld. -- nosy: +berker.peksag stage: patch review -> commit review ___ Python tracker ___ _

[issue23775] Fix pprint of OrderedDict

2015-03-25 Thread Alexei Romanov
Changes by Alexei Romanov : -- nosy: +alexei.romanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue23775] Fix pprint of OrderedDict

2015-03-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Currently pprint prints the repr of OrderedDict if it fits in one line, and prints the repr of dict if it is wrapped. >>> import collections, pprint >>> pprint.pprint(collections.OrderedDict([(4, 3), (2, 1)])) OrderedDict([(4, 3), (2, 1)]) >>> pprint.pprint