Re:Python dicts are now ordered
by d0mine on Friday February 07, 2020 @03:03PM
(#22270268)
BDFL declared Python dict to be ordered in 2017 — It can't be more official than that for Python https://mail.python.org/pipermail/python-dev/2017-December/1...
i.e., Python 3.7 (whatever implementation must keep the insertion order). CPython keeps the order since Python 3.6. Pypy even before that.
[ Parent
| on HN ]
Re:Python dicts are now ordered
by user5994461 on Friday February 07, 2020 @05:01PM
(#22271490)
A barely legible email dump with 50 concurrent answers is supposed to be the clear official statement?
Not to mention that developers just begin migrating to python 3 in 2017 and code still had to work on 2.7 that doesn't order.
Re:Python dicts are now ordered
by anderskaseorg on Friday February 07, 2020 @05:12PM
(#22271632)
The official release notes for the following release is certainly a clear official statement.
https://www.python.org/downloads/release/python-370/
“The insertion-order preservation nature of dict objects is now an official part of the Python language spec.” (June 27, 2018)
Re:Python dicts are now ordered
by true_religion on Friday February 07, 2020 @05:03PM
(#22271522)
I knew about it, because everyone was talking about it.
The origination of the actual information is irrelevant. It was basically interesting gossip for a few weeks.