<div dir="auto">Waiting on review<div dir="auto"><a href="https://github.com/python/cpython/pull/8014">https://github.com/python/cpython/pull/8014</a><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jan 31, 2019, 12:04 AM INADA Naoki <<a href="mailto:songofacandy@gmail.com">songofacandy@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm sorry, configparser is changed already.<br>
<a href="https://bugs.python.org/issue33504" rel="noreferrer noreferrer" target="_blank">https://bugs.python.org/issue33504</a><br>
<br>
On Thu, Jan 31, 2019 at 4:52 PM INADA Naoki <<a href="mailto:songofacandy@gmail.com" target="_blank" rel="noreferrer">songofacandy@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> csv.DictReader uses OrderedDict by default, from Python 3.6.<br>
> But it doesn't make sense anymore, like namedtuple._asdict().<br>
> How about changing default dict type back to regular dict.<br>
><br>
> Python is widely used for handling learge data. So I think<br>
> changing default dict type to OrderedDict was performance<br>
> and memory usage regression in 3.6.<br>
><br>
> Additionally, configparser uses OrderedDict by default from Python 3.6 too.<br>
><br>
> I am not sure about `parser['section1'] == parser['section2']` is not used yet.<br>
> But we broke it once in 3.6 by changing dict to OrderedDict. Are there any<br>
> issue report caused by this backward incompatibility?<br>
><br>
> And I think performance and memory efficiency is not so important for<br>
> configparser, unlike csv.<br>
><br>
> I'm<br>
><br>
> * +1 about changing csv.DictReader's default dict type<br>
> * +0.5 about changing configparser's default dict type.<br>
><br>
> How do you think?<br>
><br>
> Regards,<br>
> --<br>
> INADA Naoki <<a href="mailto:songofacandy@gmail.com" target="_blank" rel="noreferrer">songofacandy@gmail.com</a>><br>
<br>
<br>
<br>
-- <br>
INADA Naoki <<a href="mailto:songofacandy@gmail.com" target="_blank" rel="noreferrer">songofacandy@gmail.com</a>><br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank" rel="noreferrer">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/mike%40selik.org" rel="noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/mike%40selik.org</a><br>
</blockquote></div>