]> granicus.if.org Git - python/commit
bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745)
authorSteve Dower <steve.dower@microsoft.com>
Mon, 4 Feb 2019 07:19:38 +0000 (23:19 -0800)
committerGitHub <noreply@github.com>
Mon, 4 Feb 2019 07:19:38 +0000 (23:19 -0800)
commita8474d025cab794257d2fd0bea67840779b9351f
tree1e2521303b70f42bd63cf1f432513db9cfd04742
parent2f6fae6e510dba653391cb510a2aca8322eec03b
bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745)

After reading __PYVENV_LAUNCHER__ we now set sys._base_executable value for later use.
Make the same changes for macOS to avoid extra platform checks.
Lib/multiprocessing/popen_spawn_win32.py
Lib/multiprocessing/spawn.py
Lib/site.py
Lib/test/test_venv.py
Lib/venv/__init__.py
Misc/NEWS.d/next/Windows/2019-02-02-15-56-50.bpo-35873.UW-qS9.rst [new file with mode: 0644]
Misc/NEWS.d/next/Windows/2019-02-02-15-57-19.bpo-35872.Bba2n7.rst [new file with mode: 0644]