[issue34320] Creating dict from OrderedDict doesn't preserve order
Eric Snow
report at bugs.python.org
Tue Sep 25 11:46:22 EDT 2018
Eric Snow <ericsnowcurrently at gmail.com> added the comment:
> Conversion is happens when type() (or metaclass()) is called.
Right. So an extra test to cover the __prepare__ case is somewhat redundant. I only suggested it because type() is called implicitly and the test would make the conversion case clear. However, it was only a suggestion for you to consider, not something I considered necessary. :) I'm fine with not adding a test that uses __prepare__.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34320>
_______________________________________
More information about the Python-bugs-list
mailing list