A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-September/146334.html below:

[Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered

[Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered [Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become orderedVictor Stinner victor.stinner at gmail.com
Thu Sep 8 17:20:53 EDT 2016
2016-09-08 13:36 GMT-07:00 Guido van Rossum <guido at python.org>:
> IIUC there's one small thing we might still want to change somewhere
> after 3.6b1 but before 3.6rc1: the order is not preserved when you
> delete some keys and then add some other keys. Apparently PyPy has
> come up with a clever solution for this, and we should probably adopt
> it, but it's probably best not to hurry that for 3.6b1.

Very good news: I was wrong, Raymond Hettinger confirmed that the
Python 3.6 dict *already* preserves the items order in all cases. In
short, Python 3.6 dict = Python 3.5 OrderedDict (in fact, OrderedDict
has a few more methods).

Victor
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4