#30159: Remove obsolete use of OrderedDict with Python 3.6+
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: master
Uncategorized |
Severity: Normal | Keywords: ordereddict
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
With Django 3.0 supporting Python 3.6+ we can strip out some of the use of
`OrderedDict` that is no longer required now that dictionaries preserve
insertion order. Although this property of dictionaries is only a language
feature from Python 3.7, it is unlikely to be changed in a patch release
of CPython 3.6 and PyPy3 already preserves insertion order.
--
Ticket URL: <https://code.djangoproject.com/ticket/30159>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.d4a78bc7d9eb66fb9f1e72633910d889%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.