Let's not do this. Once it's documented as returning an OrderedDict there's an additional promise about the API, e.g. move_to_end() exists.
On Sun, Dec 17, 2017 at 10:30 PM, 尚辉 <shangda...@gmail.com> wrote: > Since regular dicts are ordered in 3.7, it might be cleaner to returning > regular dict instead of OrderedDict? > > -- --Guido van Rossum (python.org/~guido)
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com