]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-100272: Fix JSON serialization of OrderedDict (GH-100273)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 17 Dec 2022 12:32:48 +0000 (14:32 +0200)
committerGitHub <noreply@github.com>
Sat, 17 Dec 2022 12:32:48 +0000 (14:32 +0200)
commit0fe61d0838218b18bcff4bf434beba3e8dbcc42b
tree54d1b62faa69456c80603aeba76953e0f4749a66
parent2b38a9aa747785f6d540e95e6846d6510de6b306
gh-100272: Fix JSON serialization of OrderedDict (GH-100273)

It now preserves the order of keys.
Lib/test/test_json/test_default.py
Misc/NEWS.d/next/Library/2022-12-15-18-28-13.gh-issue-100272.D1O9Ey.rst [new file with mode: 0644]
Modules/_json.c