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

Victor Stinner victor.stinner at gmail.com
Fri Sep 9 13:28:10 EDT 2016


2016-09-09 10:17 GMT-07:00 Guido van Rossum <guido at python.org>:

- keyword args are ordered - the namespace passed to a metaclass is ordered by definition order - ditto for the class dict

Maybe we should define exactly "ordered" somewhere the language reference: https://docs.python.org/dev/reference/index.html

I expect:

I mean: OrderedDict has extra methods, reversed() and move_to_end(). Users should not rely on them.

Victor



More information about the Python-Dev mailing list