[issue22490] Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile

Ronald Oussoren report at bugs.python.org
Thu Sep 25 23:10:02 CEST 2014


Ronald Oussoren added the comment:

> On 25 sep. 2014, at 19:58, Ronald Oussoren <report at bugs.python.org> wrote:
> 
> 
> Ronald Oussoren added the comment:
> 
> I consider using this undocumented environment variable in distlib as a bug in distlib, which should be fixed 

Speaking of which... That environment variable shouldn't leak into Python code in the first place, launching a regular Python interpreter from a venv could currently result in unwanted behavior.  I'll try to provide an example of that. 

Ronald
> 
> ----------
> 
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue22490>
> _______________________________________

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22490>
_______________________________________


More information about the Python-bugs-list mailing list