[Python-Dev] Decision of having a deprecation period or not for changing csv.DictReader returning type.

尚辉 shangdahao at gmail.com
Sun Dec 17 01:04:52 EST 2017

Hi, guys

In https://github.com/python/cpython/pull/4904, 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().

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.

So, would we just go forward with this patch or having a deprecation period
before this patch?

Any help is big thanks.


Best Regards .

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171217/5bec3264/attachment.html>

More information about the Python-Dev mailing list