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

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]