[Python-Dev] Fw:[issue34221] Any plans to combine collections.OrderedDict with dict (original) (raw)
Zhao Lee redstone-cold at 163.com
Wed Jul 25 22:30:02 EDT 2018
- Previous message (by thread): [Python-Dev] Update on Cygwin support (was: Clarifying Cygwin support in CPython)
- Next message (by thread): [Python-Dev] Fw:[issue34221] Any plans to combine collections.OrderedDict with dict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Since Python 3.7,dicts remember the order that items were inserted, so any plans to combine collections.OrderedDict with dict? https://docs.python.org/3/library/collections.html?#collections.OrderedDict https://docs.python.org/3/library/stdtypes.html#dict
BTW, I think it would be better to move "Dictionaries preserve insertion order" part at the end of the doc of https://docs.python.org/3/library/stdtypes.html#dict up below the doc for class dict(**kwarg) class dict(mapping, **kwarg) class dict(iterable, **kwarg) so that people won't miss the feature when consulting the doc
<https://bugs.python.org/issue34221>
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20180726/68e96bcd/attachment.html>
- Previous message (by thread): [Python-Dev] Update on Cygwin support (was: Clarifying Cygwin support in CPython)
- Next message (by thread): [Python-Dev] Fw:[issue34221] Any plans to combine collections.OrderedDict with dict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]