[issue34320] Creating dict from OrderedDict doesn't preserve order

INADA Naoki report at bugs.python.org
Tue Sep 25 10:44:52 EDT 2018


INADA Naoki <songofacandy at gmail.com> added the comment:

Conversion is happens when type() (or metaclass()) is called.
And I added test for it already.
https://github.com/python/cpython/pull/8624/files#diff-7ba610fbe5686a1d67c5504312be4817R1977

Why regression test for this bugfix need to use __prepare__?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34320>
_______________________________________


More information about the Python-bugs-list mailing list