[docs] [issue34083] Functional Programming HOWTO: Dictionary ordering isn't "essentially random"
Stig Johan Berggren
report at bugs.python.org
Tue Jul 10 06:17:05 EDT 2018
New submission from Stig Johan Berggren <stigjb at gmail.com>:
The section about iterators in the Functional Programming HOWTO (https://docs.python.org/3/howto/functional.html#data-types-that-support-iterators) states the following about looping over dictionary keys:
"Note that the order is essentially random, because it’s based on the hash ordering of the objects in the dictionary."
Starting with 3.7, dictionary order is guaranteed to be the same as insertion order.
assignee: docs at python
nosy: Stig Johan Berggren, docs at python
title: Functional Programming HOWTO: Dictionary ordering isn't "essentially random"
versions: Python 3.7
Python tracker <report at bugs.python.org>
More information about the docs