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 TextGeek
Recipients TextGeek, docs@python
Date 2020-01-24.17:01:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579885297.01.0.729190737587.issue39444@roundup.psfhosted.org>
In-reply-to
Content
The doc for pprint.PrettyPrinter at https://docs.python.org/3/library/pprint.html says:

    If sort_dicts is true (the default), dictionaries will be formatted with their keys sorted, otherwise they will display in insertion order

I believe the insertion order is not even known by normal dicts (only by OrderedDict), so I think the last phrase must be wrong. If it's somehow correct, it deserves explaining....
History
Date User Action Args
2020-01-24 17:01:37TextGeeksetrecipients: + TextGeek, docs@python
2020-01-24 17:01:37TextGeeksetmessageid: <1579885297.01.0.729190737587.issue39444@roundup.psfhosted.org>
2020-01-24 17:01:36TextGeeklinkissue39444 messages
2020-01-24 17:01:36TextGeekcreate