gh-73965: New environment variable PYTHON_HISTORY (#13208)

It can be used to set the location of a .python_history file

---------

Co-authored-by: Levi Sabah <0xl3vi@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Zackery Spytz 2024-01-06 22:30:12 -08:00 committed by GitHub
parent 541c5dbb81
commit f19b93fce0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 50 additions and 3 deletions

View file

@ -1139,6 +1139,14 @@ conflict.
.. versionadded:: 3.13
.. envvar:: PYTHON_HISTORY
This environment variable can be used to set the location of a
``.python_history`` file (by default, it is ``.python_history`` in the
user's home directory).
.. versionadded:: 3.13
Debug-mode variables
~~~~~~~~~~~~~~~~~~~~