]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-82183: Do not restart the busy IDLE shell when running without restart (#152745)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 1 Jul 2026 23:00:18 +0000 (02:00 +0300)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 23:00:18 +0000 (19:00 -0400)
commitbe449b1c6ad739a40a7da35a81317bb49f1f54ff
tree130b2aef832908f7d45e5dcdd33d4b92dee73932
parent3428762f33c6c064998f5b0c385cdfd0f0c2e198
gh-82183: Do not restart the busy IDLE shell when running without restart (#152745)

"Run... Customized" with "Restart shell" unchecked restarted the shell
anyway when it was busy executing code, killing any pending input.  It now
reports that the shell is executing just once, not twice, and does not run.
Lib/idlelib/idle_test/test_runscript.py
Lib/idlelib/runscript.py
Misc/NEWS.d/next/IDLE/2026-07-01-19-00-00.gh-issue-82183.rNsTrt.rst [new file with mode: 0644]