mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
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:
parent
541c5dbb81
commit
f19b93fce0
7 changed files with 50 additions and 3 deletions
|
@ -604,6 +604,9 @@ can be set to the callable of your debugger of choice.
|
|||
.IP PYTHON_COLORS
|
||||
If this variable is set to 1, the interpreter will colorize various kinds of
|
||||
output. Setting it to 0 deactivates this behavior.
|
||||
.IP PYTHON_HISTORY
|
||||
This environment variable can be used to set the location of a history file
|
||||
(on Unix, it is \fI~/.python_history\fP by default).
|
||||
.SS Debug-mode variables
|
||||
Setting these variables only has an effect in a debug build of Python, that is,
|
||||
if Python was configured with the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue