FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix KeyboardInterrupt in REPL by anthonykim1 · Pull Request #25625 · microsoft/vscode-python · GitHub

Fix KeyboardInterrupt in REPL - #25625

Merged
Anthony Kim (anthonykim1) merged 2 commits into
microsoft:mainfrom
anthonykim1:anthonykim1/useSendTextREPL
Dec 4, 2025
Merged

Fix KeyboardInterrupt in REPL #25625
Anthony Kim (anthonykim1) merged 2 commits into
microsoft:mainfrom
anthonykim1:anthonykim1/useSendTextREPL

Conversation

Anthony Kim (anthonykim1) commented Dec 4, 2025
edited
Loading

Copy link
Copy Markdown

Resolves: #25468
ExecuteCommand api inside REPL is causing keyboard interrupt for some machine, not all.

Not consistent repro. I was able to repro on one mac, not the other.
We can just use sendText in REPL, users will still be able to access shell integration still.

Python extension doesnt use exitCode or other feature from executeCommand atm, so this is net positive change.

Anthony Kim (anthonykim1) marked this pull request as draft December 4, 2025 00:51
Anthony Kim (anthonykim1) added bug Issue identified by VS Code Team member as probable bug area-repl labels Dec 4, 2025
Anthony Kim (anthonykim1) merged commit 2cb58d5 into microsoft:main Dec 4, 2025
47 checks passed

Copy link
Copy Markdown

I also had the issue and temporarily fixed it by adding
"terminal.integrated.shellIntegration.enabled": false
to settings.json

Andreas-Weinert-IMS commented Mar 28, 2026
edited
Loading

Copy link
Copy Markdown

The issue seems back since v2026.2.0. v2026.0.0 is working for me.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-repl bug Issue identified by VS Code Team member as probable bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unwanted execution of KeyboardInterrupt .

4 participants


Back | FazBrowse Home | New Git URL