[docs] [issue33609] Document that dicts preserve insertion order

Yury Selivanov report at bugs.python.org
Tue May 22 17:07:30 EDT 2018

New submission from Yury Selivanov <yselivanov at gmail.com>:

I don't see it documented that dicts preserve insertion order. 3.7 what's new points to [1], but that section doesn't have a "version changed" tag.

IMO, [1] should have two version changed tags: one for 3.6, and one for 3.7.

Also, it would be great if we could document how the order is preserved when a key is deleted from the dict etc.

[1] https://docs.python.org/3.7/library/stdtypes.html#mapping-types-dict

assignee: docs at python
components: Documentation
messages: 317346
nosy: docs at python, inada.naoki, ned.deily, vstinner, yselivanov
priority: normal
severity: normal
status: open
title: Document that dicts preserve insertion order
type: enhancement
versions: Python 3.7, Python 3.8

Python tracker <report at bugs.python.org>

More information about the docs mailing list