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

I think that snippet may have to change to accommodate the multiprocessing 
issue, where we need to stop replacing sys.executable with the venv launcher 
and have it point to the base python.exe (and then anyone launching 
sys.executable needs to preserve __PYVENV_LAUNCHER__, which is the default 
behavior).

Having done a code scan, there are quite a few places where we explicitly 
choose __PYVENV_LAUNCHER__ on macOS over sys.executable, so I guess we need to 
do those on Windows now as well. But that's a discussion for issue 35797

----------

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

Reply via email to