This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients andream, vinay.sajip, xtreak
Date 2020-02-07.09:47:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Can you please add a reproducer of the steps along with the operating system and python version? The --prompt was modified in 3.9 to accept "." so that the current folder name is used in issue38901.

# Use custom name as testing for the prompt

➜  cpython git:(master) ./python.exe -m venv foo-venv --prompt testing
➜  cpython git:(master) ✗ source foo-venv/bin/activate
(testing) ➜  cpython git:(master) ✗ deactivate

# Delete to recreate with prompt as . so that basename is used

➜  cpython git:(master) ✗ rm -rf foo-venv
➜  cpython git:(master) ./python.exe -m venv foo-venv --prompt .
➜  cpython git:(master) ✗ source foo-venv/bin/activate
(cpython) ➜  cpython git:(master) ✗
Date User Action Args
2020-02-07 09:47:49xtreaksetrecipients: + xtreak, vinay.sajip, andream
2020-02-07 09:47:49xtreaksetmessageid: <>
2020-02-07 09:47:49xtreaklinkissue39577 messages
2020-02-07 09:47:49xtreakcreate