[issue30670] pprint for dict in sorted order or insert order?
Joseph Shen
report at bugs.python.org
Wed Jun 14 22:15:55 EDT 2017
New submission from Joseph Shen:
start from 3.6+, dict keys are ordered heir creation order.
the builtin print function works as we expected, but for
pprint, the keys is sorted. should we using the sorted version
or just obey the creation order as builtin print?
----------
components: Library (Lib)
messages: 296056
nosy: josephsmeng
priority: normal
severity: normal
status: open
title: pprint for dict in sorted order or insert order?
type: behavior
versions: Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30670>
_______________________________________
More information about the Python-bugs-list
mailing list