]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:41:27 +0000 (10:41 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Jun 2026 08:41:27 +0000 (11:41 +0300)
commitadd35e2316d1129b39a18d80c1e1e2985cd619f4
tree6e7037d09130b74cf81e3c139b3df48ecf9662f9
parentbb00fc09cd4f3a1c5ea2bcff174e872db3e69903
[3.13] gh-85320: Use UTF-8 for IDLE configuration and breakpoint files (GH-152475) (GH-152557)

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]