> > - are there strange effects e.g. when v1 has pkg.this but v2 has removed > pkg.this and then `impory pkg.this` still succeeds? >
parent: pip install pkg==1.0 child: pip install pkg==2.0 child: python -c "import pkg.this" > On Tue, Oct 20, 2020, 2:24 PM Matthias Bussonnier < > bussonniermatth...@gmail.com> wrote: > >> Hello Python Ideas, >> >> Would there be any interest in upstreaming a patch allowing virtualenv to >> be inherited in core python ? >> I'm working with a company that uses such an internal patch and would be >> ok with me spending some time trying to upstream it. >> >> When creating a venv, this let you point to "parents" venvs that will be >> used to search for existing packages; thus potentially making the creation >> of large venvs with a common base faster, and decreasing disk space usage. >> >> I am aware that there are solution around like, >> https://virtualenvwrapper.readthedocs.io/en/latest/command_ref.html#add2virtualenv, >> or modifying PYTHONPATH , but my question is more about whether such a >> change has a chance of being accepted in Core Python; and whether there is >> a need for a pep,, or simply a request for enhancement on bpo and a >> pull-request. >> >> Thanks, >> -- >> Matthias >> _______________________________________________ >> Python-ideas mailing list -- python-ideas@python.org >> To unsubscribe send an email to python-ideas-le...@python.org >> https://mail.python.org/mailman3/lists/python-ideas.python.org/ >> Message archived at >> https://mail.python.org/archives/list/python-ideas@python.org/message/KTIYUEYF6XBHOGOLV744RQXMTETVSTOF/ >> Code of Conduct: http://python.org/psf/codeofconduct/ >> >
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/BKOSQPAKKNDKUNLWCF4PTKJL4OTJ27RB/ Code of Conduct: http://python.org/psf/codeofconduct/