Skip to content

Disable PyREPL for >= 3.13 #25164

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions