Message357728
> 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? |
|
Date |
User |
Action |
Args |
2019-12-02 20:24:15 | vinay.sajip | set | recipients:
+ vinay.sajip, brett.cannon, uranusjr, DamlaAltun |
2019-12-02 20:24:15 | vinay.sajip | set | messageid: <1575318255.18.0.541383747208.issue35003@roundup.psfhosted.org> |
2019-12-02 20:24:15 | vinay.sajip | link | issue35003 messages |
2019-12-02 20:24:14 | vinay.sajip | create | |
|