]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-75595: Do not save a blank int entry in IDLE Settings (GH-152743) (#152828)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Jul 2026 22:23:22 +0000 (00:23 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 22:23:22 +0000 (22:23 +0000)
commit4e8785f312ef8be090ccd610b2b6994d0486ff72
tree5a1ee4e05ffb21eb3ac5d21d89e57d7a312e6e7c
parent57c4b9f5fb907d388dd9a5875cc20e0d22c1b4f4
[3.14] gh-75595: Do not save a blank int entry in IDLE Settings (GH-152743) (#152828)

gh-75595: Do not save a blank int entry in IDLE Settings (GH-152743)

gh-83653: Do not save a blank int entry in IDLE Settings

Blanking an integer entry wrote an empty string to the config file, which
caused an "invalid int value" warning when it was read back.
(cherry picked from commit 3428762f33c6c064998f5b0c385cdfd0f0c2e198)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Lib/idlelib/configdialog.py
Lib/idlelib/idle_test/test_configdialog.py
Misc/NEWS.d/next/IDLE/2026-07-01-18-00-00.gh-issue-83653.cFgInt.rst [new file with mode: 0644]