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

Steve Holden steve at holdenweb.com
Mon Dec 18 10:29:54 EST 2017


I submitted the 3.6 patch that Raymond committed. The purpose of the change
was to allow access to the ordering of the columns.

It doesn't use any of the OrderedDict-only methods, and I'd be very
surprised if a reversion to using dict in 3.7 would cause any tests to fail.

regards
 Steve

Steve Holden

On Mon, Dec 18, 2017 at 6:30 AM, 尚辉 <shangdahao at gmail.com> wrote:

> Since regular dicts are ordered in 3.7, it might be cleaner to returning regular dict instead of OrderedDict?
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/
> steve%40holdenweb.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171218/7ddfe81d/attachment.html>


More information about the Python-Dev mailing list