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

2017年12月16日 22:10:07 -0800

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 .
shangdahao
_______________________________________________
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