]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-82183: Do not restart the busy IDLE shell when running without restart...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Jul 2026 23:26:49 +0000 (01:26 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 23:26:49 +0000 (23:26 +0000)
commit68b501db17e011ec4daa43c91ffac76d66be2d81
tree6387b9ea74e2d6df1a857fcd75a88a85b4c9630c
parent4e8785f312ef8be090ccd610b2b6994d0486ff72
[3.14] gh-82183: Do not restart the busy IDLE shell when running without restart (GH-152745) (#152833)

gh-82183: Do not restart the busy IDLE shell when running without restart (GH-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.
(cherry picked from commit be449b1c6ad739a40a7da35a81317bb49f1f54ff)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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]