Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment: 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) ✗ ---------- nosy: +vinay.sajip, xtreak _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39577> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com