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

2017年12月17日 02:32:57 -0800

On 2017年12月17日 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

Reply via email to