Skip to content

PYTHON_BASIC_REPL env var not fully documented #126172

@teuncm

Description

@teuncm

Documentation

In Python 3.13, a new REPL was introduced. There now also exists a way to switch back and forth between the two using PYTHON_BASIC_REPL. In the documentation entry for PYTHON_BASIC_REPL, the following is stated:

If this variable is set to 1, the interpreter will not attempt to load the Python-based REPL (...)

Indeed, the traditional REPL is used when setting PYTHON_BASIC_REPL=1. However, setting PYTHON_BASIC_REPL to any non-empty value (e.g. 0, False, 2 or "test") will currently also use the traditional REPL (this behavior might not be intended btw), but this is currently not documented.

Linked PRs

Metadata

Metadata

Assignees

Labels

3.13bugs and security fixes3.14bugs and security fixesdocsDocumentation in the Doc dirtopic-replRelated to the interactive shell

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions