]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-85320: Use UTF-8 for IDLE configuration and breakpoint files (GH-152475)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 29 Jun 2026 08:14:23 +0000 (11:14 +0300)
committerGitHub <noreply@github.com>
Mon, 29 Jun 2026 08:14:23 +0000 (08:14 +0000)
commitf6e904e1a666cb1e5664750b1c3d8f89cba3a769
tree9f8b7d7c5575b221f7d6f2d92ebc1fe0268bb587
parent8ae1a236fd334a590e90028f615cd4a822ae6f97
gh-85320: Use UTF-8 for IDLE configuration and breakpoint files (GH-152475)

They were read and written using the locale encoding, which could corrupt
non-ASCII paths and made them non-portable.

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]