cpython/Lib/venv
Jim Porter 8edc8029de
gh-89427: Provide the original prompt value for VIRTUAL_ENV_PROMPT (GH-106726)
This improves the implementation in gh-106643.

Previously, venv passed "(<prompt>) " to the activation scripts, but we want
to provide the original value so that users can inspect it in the
$VIRTUAL_ENV_PROMPT env var.

Note: Lib/venv/scripts/common/Activate.ps1 surrounded the prompt value with
parens a second time, so no change was necessary in that file.
2024-01-23 08:53:04 +00:00
..
scripts gh-89427: Provide the original prompt value for VIRTUAL_ENV_PROMPT (GH-106726) 2024-01-23 08:53:04 +00:00
__init__.py gh-89427: Provide the original prompt value for VIRTUAL_ENV_PROMPT (GH-106726) 2024-01-23 08:53:04 +00:00
__main__.py GH-83417: Allow venv to add a .gitignore file to environments via a new scm_ignore_file parameter (GH-108125) 2023-09-15 22:38:08 +00:00