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.

classification
Title: Documentation should reflect that all dicts are now ordered
Type: Stage: resolved
Components: Documentation Versions: Python 3.9, Python 3.8, Python 3.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, methane, rhettinger, shields-fn, xtreak
Priority: normal Keywords:

Created on 2020-01-24 19:27 by shields-fn, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg360642 - (view) Author: Michael Shields (shields-fn) Date: 2020-01-24 19:27
As of Python 3.7, dicts always preserve insertion order. This is mentioned briefly in the release notes, but it would also be helpful to mention it in the language reference, and in the discussion of collections.OrderedDict.
msg360646 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2020-01-24 19:38
See also https://bugs.python.org/issue33609 .
msg360711 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2020-01-25 21:05
This is already covered here:
  https://docs.python.org/3/library/stdtypes.html#dict
and here:
  https://docs.python.org/3/library/collections.html#ordereddict-objects
History
Date User Action Args
2022-04-11 14:59:25adminsetgithub: 83627
2020-01-25 21:05:15rhettingersetstatus: open -> closed
resolution: out of date
messages: + msg360711

stage: resolved
2020-01-24 19:38:49xtreaksetnosy: + xtreak
messages: + msg360646
2020-01-24 19:36:31xtreaksetnosy: + rhettinger, methane
2020-01-24 19:27:50shields-fncreate