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 vinay.sajip
Recipients DamlaAltun, brett.cannon, uranusjr, vinay.sajip
Date 2019-12-02.20:24:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575318255.18.0.541383747208.issue35003@roundup.psfhosted.org>
In-reply-to
Content
> You can't. Tools like `pipenv shell` and `conda shell` end up with a new shell running instead of changing the current shell in-place.

Indeed. I raised it because of what you said earlier:

> and so maybe proposing a simple `venv --activate <path>` that does nothing more than set those key environment variables and prints out a message about what is happening is enough to do the trick

So not that simple, then, if it has to handle multiple shells cross-platform. Especially as if tools like pew, pipenv, conda already do this. Are you proposing to bring that functionality, which these third-party tools perform currently, into the stdlib?
History
Date User Action Args
2019-12-02 20:24:15vinay.sajipsetrecipients: + vinay.sajip, brett.cannon, uranusjr, DamlaAltun
2019-12-02 20:24:15vinay.sajipsetmessageid: <1575318255.18.0.541383747208.issue35003@roundup.psfhosted.org>
2019-12-02 20:24:15vinay.sajiplinkissue35003 messages
2019-12-02 20:24:14vinay.sajipcreate