[3.13] gh-145856: Fix plistlib.dump() with skipkeys=True and sort_keys=True (GH-150109) #157737

Merged
miss-islington opened 2:56am on September 18, 2026 wanted to merge 122 Ξ” into python/cpython 3.13 from
backport-7f7ff4c-3.13
Diff Delta:
122
About 0 Diff Delta/hour
Classified as:  Bug Fix

miss-islington's Description of Work

A dict with non-string keys raised TypeError, because the keys were sorted
before skipping non-string keys.
(cherry picked from commit 7f7ff4c99d1f53424be8c323c50f3623c3488ba1)

Co-authored-by: ankhikarmakar [email protected]
Co-authored-by: VanshAgarwal24036 [email protected]
Co-authored-by: Serhiy Storchaka [email protected]
Co-authored-by: Claude Opus 5 (1M context) [email protected]


  • Issue: gh-145856
    <!-- /gh-issue-number -->

3 total changed files
(1 file ignored)
Loading changes...
That’s the last hunk
Please mind the merge button