Skip to content

[3.15] gh-68453: Fix IDLE -s together with -c, -r or - (GH-157592) - #157640

Merged
terryjreedy merged 1 commit into
python:3.15from
miss-islington:backport-9cc3547-3.15
Oct 9, 2026
Merged

terryjreedy merged 1 commit into
python:3.15from
miss-islington:backport-9cc3547-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

The startup file runs in the subprocess asynchronously, so the command
or script was queued while it was still executing: an "Already
executing" dialog was shown, sys.argv was not set, and the subprocess
was restarted, discarding the startup file. Wait for the startup file
to finish first.
(cherry picked from commit 9cc3547)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Claude Opus 5 (1M context) noreply@anthropic.com

The startup file runs in the subprocess asynchronously, so the command
or script was queued while it was still executing: an "Already
executing" dialog was shown, sys.argv was not set, and the subprocess
was restarted, discarding the startup file. Wait for the startup file
to finish first.
(cherry picked from commit 9cc3547)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@terryjreedy
terryjreedy merged commit 6828ce0 into python:3.15 Oct 9, 2026
60 checks passed
@miss-islington
miss-islington deleted the backport-9cc3547-3.15 branch October 9, 2026 17:40
@terryjreedy terryjreedy removed this from IDLE Issues Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants