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

Guido van Rossum guido at python.org
Mon Dec 18 10:24:16 EST 2017


Let's not do this. Once it's documented as returning an OrderedDict there's an additional promise about the API, e.g. move_to_end() exists.

On Sun, Dec 17, 2017 at 10:30 PM, 尚辉 <shangdahao at gmail.com> wrote:

Since regular dicts are ordered in 3.7, it might be cleaner to returning regular dict instead of OrderedDict?

-- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20171218/7fca3dc6/attachment.html>



More information about the Python-Dev mailing list