-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
gh-73965: New environment variable PYTHON_HISTORY #13208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
a2ca22c
d13fd90
9b7398c
fe6c760
4ddf85b
d49c0ff
bc5b771
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Add a new :envvar:`PYTHONHISTORY` environment variable to set the location | ||
hugovk marked this conversation as resolved.
Show resolved
Hide resolved
|
||
of a ``.python_history`` file. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -502,6 +502,9 @@ show how long each import takes. This is exactly equivalent to setting | |
.IP PYTHONBREAKPOINT | ||
If this environment variable is set to 0, it disables the default debugger. It | ||
can be set to the callable of your debugger of choice. | ||
.IP PYTHONHISTORY | ||
hugovk marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This environment variable can be used to set the location of a history file | ||
(it is \fI~/.python_history\fP by default). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please, add the windows default as well. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To be frank, I'm not sure if the Windows default should be mentioned in the man page... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is nothing wrong with mentioning Windows ops in |
||
.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 | ||
|
Uh oh!
There was an error while loading. Please reload this page.