[issue15361] venv's Activate.ps1 causes broken prompt with powershell

2012-07-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0b4d0c2173ad by Vinay Sajip in branch 'default': Closes #15361: Corrected venv prompt in PowerShell activation script. http://hg.python.org/cpython/rev/0b4d0c2173ad -- nosy: +python-dev resolution: -> fixed stage: patch review -> committed

[issue15361] venv's Activate.ps1 causes broken prompt with powershell

2012-07-15 Thread Richard Oudkerk
New submission from Richard Oudkerk : If I create a venv on Windows called "py3" then py3/Scripts/Activate.ps1 defines the prompt to be function prompt { Write-Host -NoNewline -ForegroundColor Green [(py3) ] _OLD_VIRTUAL_PROMPT } However this prompt function does not wo