[New-bugs-announce] [issue34221] Any plans to combine collections.OrderedDict with dict
iMath
report at bugs.python.org
Wed Jul 25 08:43:24 EDT 2018
New submission from iMath <redstone-cold at 163.com>:
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
----------
messages: 322349
nosy: redstone-cold
priority: normal
severity: normal
status: open
title: Any plans to combine collections.OrderedDict with dict
type: enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34221>
_______________________________________
More information about the New-bugs-announce
mailing list