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

> I'm not sure of the purpose of sys._base_executable. Maybe open a separated 
> issue to make the attribute public? I'm not sure if multiprocessing (for 
> example) should use it, or if sys.executble should be used.

Yeah, it's a bit more complex. Sometimes it's needed and often not, depending 
on platform. For multiprocessing we need it on Windows because of the handle 
inheritance that's used, which only goes one subprocess deep,and we use special 
knowledge to make it work even in a venv.

But at least having it there means we can use it when needed without having to 
define its semantics for 100% of cases. Venvs make things really hard the way 
they're currently done...

----------

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

Reply via email to