On Sun, 17 Dec 2017 14:04:52 +0800 尚辉 <[email protected]> wrote: > 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().
What is the motivation to return a regular dict? Is it actually faster on some benchmark? PS: apparently the decision to return an OrderedDict was made in... Python 3.6. Regards Antoine. _______________________________________________ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
