]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38901: Allow setting a venv's prompt to the basename of the current directory...
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 14 Jan 2020 20:49:30 +0000 (20:49 +0000)
committerGitHub <noreply@github.com>
Tue, 14 Jan 2020 20:49:30 +0000 (20:49 +0000)
commit7d6378051feeadf45b4ce45b4b406b65df255648
tree1046f35a3335e2ad083d1d5bdcc277035a2ddc23
parent4b0d91aab4cfba30a2a9728e9eaea15dbc0ba9bd
bpo-38901: Allow setting a venv's prompt to the basename of the current directory. (GH-17946)

When a prompt value of '.' is specified, os.path.basename(os.getcwd()) is used to
configure the prompt for the created venv.
Doc/library/venv.rst
Lib/test/test_venv.py
Lib/venv/__init__.py
Misc/NEWS.d/next/Library/2020-01-10-22-30-48.bpo-38901.OdVIIb.rst [new file with mode: 0644]