]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-85320: Use UTF-8 for IDLE configuration and breakpoint files (GH-152475...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 29 Jun 2026 08:44:24 +0000 (10:44 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Jun 2026 08:44:24 +0000 (08:44 +0000)
commitac30e9bc7d70b249e4e1190c022d5cddc728bb5f
treea4d28d7a84b84921d60583d354a275b021112041
parentaf665032a599d84edf87457435059393ec38779a
[3.15] gh-85320: Use UTF-8 for IDLE configuration and breakpoint files (GH-152475) (GH-152555)

They were read and written using the locale encoding, which could corrupt
non-ASCII paths and made them non-portable.
(cherry picked from commit f6e904e1a666cb1e5664750b1c3d8f89cba3a769)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/idlelib/News3.txt
Lib/idlelib/config.py
Lib/idlelib/pyshell.py
Misc/NEWS.d/next/IDLE/2026-06-28-06-46-46.gh-issue-85320.Hq2vKn.rst [new file with mode: 0644]