Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
a2ca22cd13fd909b7398cfe6c7604ddf85bd49c0ffbc5b771File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
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" | ||
Member 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? Member 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 Member 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. Member 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.