mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
gh-111201: A new Python REPL (GH-111567)
Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Marta Gómez Macías <mgmacias@google.com> Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
40cc809902
commit
f27f8c790a
41 changed files with 5328 additions and 170 deletions
|
|
@ -42,6 +42,7 @@ additional methods of invocation:
|
|||
* When called with standard input connected to a tty device, it prompts for
|
||||
commands and executes them until an EOF (an end-of-file character, you can
|
||||
produce that with :kbd:`Ctrl-D` on UNIX or :kbd:`Ctrl-Z, Enter` on Windows) is read.
|
||||
For more on interactive mode, see :ref:`tut-interac`.
|
||||
* When called with a file name argument or with a file as standard input, it
|
||||
reads and executes a script from that file.
|
||||
* When called with a directory name argument, it reads and executes an
|
||||
|
|
@ -1182,6 +1183,15 @@ conflict.
|
|||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
.. envvar:: PYTHON_BASIC_REPL
|
||||
|
||||
If this variable is set to ``1``, the interpreter will not attempt to
|
||||
load the Python-based :term:`REPL` that requires :mod:`curses` and
|
||||
:mod:`readline`, and will instead use the traditional parser-based
|
||||
:term:`REPL`.
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
.. envvar:: PYTHON_HISTORY
|
||||
|
||||
This environment variable can be used to set the location of a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue