Steve Dower <steve.do...@python.org> added the comment:

Thanks for figuring that out, Eryk.

Probably we should just update venv to do a realpath(sys._base_executable) to 
handle the venv-from-symlinked-venv scenario.

Though I'd also be quite happy to just disallow that entirely (as we used to?). 
If you enable system site packages thinking you're chaining venvs together, you 
may be surprised, so it might just be better to error out here. (On the *other* 
hand, if you're programmatically invoking venv, maybe you know what you're 
doing and we should allow it?)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42013>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to