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

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]