Skip to content

Disable PyREPL for >= 3.13 #25164

Closed
@anthonykim1

Description

@anthonykim1

Addressing concerns from: #24256 and enter issues such as #25043

We can enable Python shell integration, and allow user to use lsp completion for Python REPL, for those using Python > 3.13 if we disable PyREPL for users before the actual fix.

We would disable PyREPL by exporting PYTHON_BASIC_REPL=1 in user's environment variable collection.
Then we would allow Python shell integration for people with Python > 3.13.

We should also eventually make Python shell integration enabled as default true.

With this we would be able to shell integration enable for >= 3.13 safe from cpython upstream fix to adjust terminal cursor to correct place; python/cpython#126131

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions