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 Jack Bennett
Recipients Jack Bennett
Date 2017-01-18.14:39:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484750377.25.0.809506276992.issue29308@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017-01-18 14:39:37Jack Bennettsetrecipients: + Jack Bennett
2017-01-18 14:39:37Jack Bennettsetmessageid: <1484750377.25.0.809506276992.issue29308@psf.upfronthosting.co.za>
2017-01-18 14:39:37Jack Bennettlinkissue29308 messages
2017-01-18 14:39:36Jack Bennettcreate