]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-75595: Do not save a blank int entry in IDLE Settings (#152743)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 1 Jul 2026 21:57:47 +0000 (00:57 +0300)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 21:57:47 +0000 (17:57 -0400)
commit3428762f33c6c064998f5b0c385cdfd0f0c2e198
treeb3b518b4e033af82596a5bcc4a94ab9b2fb50531
parentefcfb1a4e0f4d0d0e33aefccd8373e116e98e3de
gh-75595: Do not save a blank int entry in IDLE Settings (#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.

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]