[New-bugs-announce] [issue29308] venv should match virtualenv VIRTUAL_ENV_DISABLE_PROMPT config
Jack Bennett
report at bugs.python.org
Wed Jan 18 09:39:37 EST 2017
New submission from Jack Bennett:
virtualenv has https://virtualenv.pypa.io/en/latest/reference/#envvar-VIRTUAL_ENV_DISABLE_PROMPT to block activate from trying to overwrite the prompt function.
Users of venv can't do that, 3.6 added prompt but even None defaults to the current folder name.
If I may suggest either respecting the virtualenv variable or perhaps prompt=False
Specifically we've ran into this in powershell while making cmder stricter on the prompt over here: https://github.com/cmderdev/cmder/issues/1207
Thanks, Jack
----------
components: Library (Lib)
messages: 285729
nosy: Jack Bennett
priority: normal
severity: normal
status: open
title: venv should match virtualenv VIRTUAL_ENV_DISABLE_PROMPT config
type: behavior
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29308>
_______________________________________
More information about the New-bugs-announce
mailing list