This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients Aaron Hall, Jan-Hein Bührman, Valentin Beyer, ewjoachim, josephsmeng, pombredanne, remi.lapeyre, rhettinger, serhiy.storchaka, xtreak
Date 2019-02-05.01:52:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549331547.08.0.293109549816.issue30670@roundup.psfhosted.org>
In-reply-to
Content
Consider adding a flag to switch between sorted order and insertion order (defaulting to the current behavior).  For convenience, add a short-cut function to call pprint() with the flag set to False.

    def pprint(data, *, sort_dicts=True):
        ...

    def pp(data, *args, **kwds):
        pprint(data, *args, sort_dicts=False, **kwds)
History
Date User Action Args
2019-02-05 01:52:28rhettingersetrecipients: + rhettinger, serhiy.storchaka, josephsmeng, pombredanne, Aaron Hall, remi.lapeyre, xtreak, Jan-Hein Bührman, Valentin Beyer, ewjoachim
2019-02-05 01:52:27rhettingersetmessageid: <1549331547.08.0.293109549816.issue30670@roundup.psfhosted.org>
2019-02-05 01:52:27rhettingerlinkissue30670 messages
2019-02-05 01:52:26rhettingercreate