[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

Pull Request Overview

  • Opened on September 18, 2026
  • Status Merged
  • Commit count 1 with first commit September 18, 2026

Total Delta

122 Total Diff Delta

Open Days

Open 0 weekdays

Test Delta

14 Diff Delta in Test Files
Breakdown by Phase

How long has this pull request spent in each phase of its lifecycle?

Data pending calculation for pull request

Author avatar

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

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 -->

PR was closed without comments.