14 Feb
2019
14 Feb
'19
9:34 a.m.
On 2019-02-14 11:15:59 -0600 (-0600), Ben Nemec wrote: [...]
You don't need a complex representer to dump OrderedDicts. It can be done in about three lines [...]
What's more, once we're exclusively on Python >=3.6 (not that much longer, really!) ordering is guaranteed by the normal dict type with no special handling required. -- Jeremy Stanley