[New-bugs-announce] [issue32506] dataclasses: no need for OrderedDict now that dict guarantees to keep insertion order
Eric V. Smith
report at bugs.python.org
Sat Jan 6 17:23:30 EST 2018
New submission from Eric V. Smith <eric at trueblade.com>:
There are several places where OrderedDict escapes from dataclasses. Switching to dict means we don't have to use OrderedDict forever.
For the 3.6 backport, I'm also going to use dict. I saw an analysis (from Raymond, maybe?) that says there are no 3.6 implementations that don't guarantee insertion order for dict.
----------
assignee: eric.smith
messages: 309587
nosy: eric.smith
priority: normal
severity: normal
status: open
title: dataclasses: no need for OrderedDict now that dict guarantees to keep insertion order
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32506>
_______________________________________
More information about the New-bugs-announce
mailing list