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

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]