]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] 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:30:08 +0000 (01:30 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 23:30:08 +0000 (23:30 +0000)
commit75fb03330e8ad6be68fe6c594331592f5bdf3082
tree95ffdd9b38df0662a056872082ad58e090168615
parent758a9c389a9b3b961372392ab02a303de308b97a
[3.15] gh-82183: Do not restart the busy IDLE shell when running without restart (GH-152745) (#152832)

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]