Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-71136: IDLE: Fix hanging when raise KeyboardInterrupt with debugger open#1711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
mlouielu wants to merge3 commits intopython:main
base:main
Choose a base branch
Loading
frommlouielu:bpo-26949-keyboardinterrupt

Conversation

@mlouielu
Copy link
Contributor

@mlouielumlouielu commentedMay 22, 2017
edited by bedevere-bot
Loading

When catchKeyboardInterrupt, it should put a dummy msg back to response_queue to preventqueue.Empty cause the infinity loop.

https://bugs.python.org/issue26949

@mention-bot
Copy link

@mlouielu, thanks for your PR! By analyzing the history of the files in this pull request, we identified@kbkaiser,@terryjreedy and@asvetlov to be potential reviewers.

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsbot added the staleStale PR or inactive for long period of time. labelMay 12, 2022
@hauntsaninjahauntsaninja changed the titlebpo-26949: IDLE: Fix hanging when raise KeyboardInterrupt with debugger opengh-71136: IDLE: Fix hanging when raise KeyboardInterrupt with debugger openJan 7, 2023
@github-actionsgithub-actionsbot removed the staleStale PR or inactive for long period of time. labelJan 8, 2023
@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsbot added the staleStale PR or inactive for long period of time. labelFeb 7, 2023
Copy link

@auvipyauvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'm not sure, should we rework on this or close this completely?

@github-actionsgithub-actionsbot removed the staleStale PR or inactive for long period of time. labelFeb 13, 2025
@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsbot added the staleStale PR or inactive for long period of time. labelMar 15, 2025
@github-actionsgithub-actionsbot removed the staleStale PR or inactive for long period of time. labelSep 5, 2025
@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsbot added the staleStale PR or inactive for long period of time. labelOct 6, 2025
@github-actionsgithub-actionsbot removed the staleStale PR or inactive for long period of time. labelNov 10, 2025
@josephholsten
Copy link
Contributor

josephholsten commentedNov 10, 2025
edited
Loading

My results are:

The reproduce step can be reduce to:1. open idlelib with debugger (./python -m idlelib -d)2. enter print() (or any other function call)3. Control-C breakoutThen it will restart the shell.

Yields:

Python 3.14.0 (main, Oct  7 2025, 09:34:52) [Clang 17.0.0 (clang-1700.0.13.3)] on darwinEnter "help" below or click "Help" above for more information.[DEBUG ON]print()================================ RESTART: Shell ================================[DEBUG ON]

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@terryjreedyterryjreedyAwaiting requested review from terryjreedyterryjreedy is a code owner

1 more reviewer

@auvipyauvipyauvipy requested changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

9 participants

@mlouielu@mention-bot@josephholsten@auvipy@brettcannon@bedevere-bot@AlexWaygood@encukou@StanFromIreland

[8]ページ先頭

©2009-2025 Movatter.jp