-
-
Notifications
You must be signed in to change notification settings - Fork 32k
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 all commits
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:`PYTHON_HISTORY` environment variable to set the location | ||
of a ``.python_history`` file. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -296,6 +296,7 @@ static const char usage_envvars[] = | |
"PYTHON_COLORS : If this variable is set to 1, the interpreter will" | ||
" colorize various kinds of output. Setting it to 0 deactivates this behavior.\n" | ||
"These variables have equivalent command-line parameters (see --help for details):\n" | ||
"PYTHON_HISTORY: the location of a .python_history file.\n" | ||
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. What command line parameter sets it? 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. It doesn't have one, I compared with 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. If it doesn't have one, then it is in the wrong section. 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. Good point, please see PR #113798 to move it to the correct section. |
||
"PYTHONDEBUG : enable parser debug mode (-d)\n" | ||
"PYTHONDONTWRITEBYTECODE : don't write .pyc files (-B)\n" | ||
"PYTHONINSPECT : inspect interactively after running script (-i)\n" | ||
|
Uh oh!
There was an error while loading. Please reload this page.