Re: [Django] #30159: Remove obsolete use of OrderedDict with Python 3.6+

0 views
Skip to first unread message

Django

unread,
5:30 PM (5 hours ago) 5:30 PM
to django-...@googlegroups.com
#30159: Remove obsolete use of OrderedDict with Python 3.6+
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: | Status: closed
Cleanup/optimization |
Component: Core (Other) | Version: dev
Severity: Normal | Resolution: fixed
Keywords: ordereddict | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):

In [changeset:"7142667340f78403cbbcaa8f33703c494282b7b7" 71426673]:
{{{#!CommitTicketReference repository=""
revision="7142667340f78403cbbcaa8f33703c494282b7b7"
Replaced yaml serializer workaround to preserve dict order with PyYAML's
sort_keys=False.

The sort_keys parameter was added in PyYAML 5.1 (released March 2019).
The workaround was added in 24b82cd201e21060fbc02117dc16d1702877a1f3
(refs #30159).
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30159#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages