-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dirtopic-replRelated to the interactive shellRelated to the interactive shell
Description
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
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dirtopic-replRelated to the interactive shellRelated to the interactive shell
Projects
Status
Todo