Skip to content

Python >= 3.13 Attempt to execute all the commands sent, without requiring manual 'Enter' keypress #24565

Open
@anthonykim1

Description

@anthonykim1

Brought up: #24256 (comment)

During November iteration, we fixed indentation error for #24256

After the fix is merged, user is saying there are difference in how Run selection/line works for terminal -
In previous versions of Python extension, we executed all of the Python code that is sent to terminal, as opposed to mimicking REPL from cpython itself's behavior where it sometimes have trailing ... and requires an additional or two key presses of "Enter"

This is across all the different version of REPL in external terminal (using REPL from cpython):
Image

Since the command is "Run selection/line" we should aim to execute without having user to go down to terminal and press enter.

Metadata

Metadata

Labels

area-replbugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions