<div dir="auto"><div><div class="gmail_extra"><div class="gmail_quote">On Dec 14, 2017 21:30, "Raymond Hettinger" <<a href="mailto:raymond.hettinger@gmail.com">raymond.hettinger@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text"><br>
<br>
> On Dec 14, 2017, at 6:03 PM, INADA Naoki <<a href="mailto:songofacandy@gmail.com">songofacandy@gmail.com</a>> wrote:<br>
><br>
> If "dict keeps insertion order" is not language spec and we<br>
> continue to recommend people to use OrderedDict to keep<br>
> order, I want to optimize OrderedDict for creation/iteration<br>
> and memory usage. (See <a href="https://bugs.python.org/issue31265#msg301942" rel="noreferrer" target="_blank">https://bugs.python.org/<wbr>issue31265#msg301942</a> )<br>
<br>
</div>I support having regular dicts maintain insertion order but am opposed to Inada changing the implementation of collections.OrderedDict We can have the first without having the second.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">It seems like the two quoted paragraphs are in vociferous agreement.</div><div dir="auto"><br></div><div dir="auto">-n</div></div>