[New-bugs-announce] [issue39879] Update language reference to specify that dict is insertion-ordered.

Eric Snow report at bugs.python.org
Fri Mar 6 13:33:48 EST 2020


New submission from Eric Snow <ericsnowcurrently at gmail.com>:

As of 3.7 [1], dict is guaranteed to preserve insertion order:

  the insertion-order preservation nature of dict
  objects has been declared to be an official part
  of the Python language spec.

However, at least one key part of the language reference [2] was not updated to reflect this:  "3.2. The standard type hierarchy" > "Mappings" > "Dictionaries".

Note that the library docs [3] *were* updated.


[1] https://docs.python.org/3/whatsnew/3.7.html#summary-release-highlights
[2] https://docs.python.org/3/reference/datamodel.html#index-30
[3] https://docs.python.org/3/library/stdtypes.html#typesmapping

----------
assignee: docs at python
components: Documentation
keywords: easy
messages: 363533
nosy: docs at python, eric.snow
priority: normal
severity: normal
stage: needs patch
status: open
title: Update language reference to specify that dict is insertion-ordered.
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39879>
_______________________________________


More information about the New-bugs-announce mailing list