-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Refs: #25164
- macOS @aiday-mar
- linux @eleanorjboyd
- windows @nguyenchristy
Complexity: 3
Thank you in advance for testing.
Background Information
PyREPL is a new REPL from cpython, that became the "default" REPL starting with Python 3.13.
This has introduced considerable number of issues for VS Code , and non-VS Code users, in terms of how people run their Python code, interact with REPL in terminal.
Relevant issues filed on VS Code Python repository: #24256 #25043
We are disabling PyREPL for now, hoping to bring back the smoother code execution flow from before.
When I say smoother code execution flow, I'm referring to users pressing shift+enter and that being sufficient to run user's code, rather than requiring an extra, or multiple presses of enter in the REPL in order to run their code. We also want to prevent people from running in undesired and unexpected indentation error at all cost.
Setup & Testing:
- Install pre-release version of Python extension
- Please have Python version that is below 3.12 AND also Python version that is equal to or above 3.13
- Have Python file of your choice with Python code (feel free to have different elements such as a dictionary, class, method, simple print statement, loops)
- Shift+enter to execute different segment of your Python code.
- Toggle setting
python.REPL.sendToNativeREPLon/off and try running code in both REPL in terminal, Native REPL. - Observe you don't see any weird characters or weird indentation error in the terminal or the Native REPL.