Switch to queue based execution for executing Python code by anthonykim1 · Pull Request #25669 · microsoft/vscode-python

added 3 commits

December 15, 2025 10:18

@anthonykim1 anthonykim1 added this to the December / January 2026 milestone

Dec 15, 2025

@anthonykim1 anthonykim1 changed the title Anthonykim1/prevent undefined show Prevent Cannot read properties of undefined ('show') when running Python code

Dec 15, 2025

@anthonykim1

@anthonykim1

karthiknadig

@anthonykim1 anthonykim1 added the bug

Issue identified by VS Code Team member as probable bug

label

Dec 15, 2025

@anthonykim1

@anthonykim1 anthonykim1 changed the title Prevent Cannot read properties of undefined ('show') when running Python code Switch to queue based execution for executing Python code

Dec 16, 2025

eleanorjboyd

eleanorjboyd pushed a commit to eleanorjboyd/vscode-python that referenced this pull request

Dec 16, 2025
…25669)

Resolves:
microsoft/vscode-python-environments#958

Challenge is that sendText would get called when terminal is not ready.
And doing `undefined.show()` is the problem.
Switching to queue based execution for running REPL commands, which
would prevent from us losing the first command as well.

eleanorjboyd added a commit that referenced this pull request

Dec 16, 2025
…25671)

Resolves:
microsoft/vscode-python-environments#958

Challenge is that sendText would get called when terminal is not ready.
And doing `undefined.show()` is the problem.
Switching to queue based execution for running REPL commands, which
would prevent from us losing the first command as well.

Co-authored-by: Anthony Kim <62267334+anthonykim1@users.noreply.github.com>