<div dir="ltr">My gut suggests me not to do this (neither here nor in other similar cases). I doubt there's much of a performance benefit anyway.<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 16, 2017 at 10:04 PM, 尚辉 <span dir="ltr"><<a href="mailto:shangdahao@gmail.com" target="_blank">shangdahao@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi, guys</div><div><br></div><div>In <a href="https://github.com/python/cpython/pull/4904" target="_blank">https://github.com/python/<wbr>cpython/pull/4904</a>, I made csv.DictReader returning regular dict instead of OrderedDict. But this code could break existing code that relied on methods like move_to_end() which are present in OrderedDict() but not in dict(). </div><div><br></div><div>As rhettinger suggested, such code is either unlikely or rare, so it would be net less disruptive for users to just go forward with this patch.</div><div><br></div><div>So, would we just go forward with this patch or having a deprecation period before this patch?</div><div><br></div><div>Any help is big thanks.</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_9128173070346762791gmail_signature"><div dir="ltr"><div><div dir="ltr"><br><div><br></div><div>Best Regards .<br></div><div><br></div><div><font face="comic sans ms, sans-serif">shangdahao</font></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/guido%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/options/python-dev/<wbr>guido%40python.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div></div></div>