[New-bugs-announce] [issue33463] Can namedtuple._asdict return a regular dict instead of OrderedDict?

Michael Selik report at bugs.python.org
Thu May 10 23:31:03 EDT 2018


New submission from Michael Selik <mike at selik.org>:

Since the basic dict is now keeping insertion order, can we switch namedtuple._asdict to return a basic dict? Other than OrderedDict.move_to_end and the repr, I believe there is no compatibility issue.

----------
messages: 316387
nosy: selik
priority: normal
severity: normal
status: open
title: Can namedtuple._asdict return a regular dict instead of OrderedDict?
type: enhancement
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33463>
_______________________________________


More information about the New-bugs-announce mailing list