New submission from Eric V. Smith <e...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue32506> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com