Hi Inada, On 27 May 2018 at 09:12, INADA Naoki <songofaca...@gmail.com> wrote: > When focusing to CPython, PyPy and MicroPython, no problem for adding > __reverse__ in 3.8 seems OK.
Fwiw, the functionality that is present in OrderedDict but still absent from 'dict' is: ``__reverse__``, discussed above, and ``move_to_end(last=False)``. In PyPy3, OrderedDict is implemented not like in the CPython stdlib but as just a thin dict subclass without any extra data, using two custom built-ins from the ``__pypy__`` module for the two methods above (plus some pure Python code for other methods like __eq__(), where it is possible to do so with the correct complexity). A bientôt, Armin. _______________________________________________ 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