]> granicus.if.org Git - python/commit
bpo-37369: Fix initialization of sys members when launched via an app container ...
authorSteve Dower <steve.dower@python.org>
Sat, 29 Jun 2019 17:34:11 +0000 (10:34 -0700)
committerGitHub <noreply@github.com>
Sat, 29 Jun 2019 17:34:11 +0000 (10:34 -0700)
commit9048c49322a5229ff99610aba35913ffa295ebb7
treecaad6f4a3b44e547208ac70cc1746c4df349ac8f
parent80097e089ba22a42d804e65fbbcf35e5e49eed00
bpo-37369: Fix initialization of sys members when launched via an app container (GH-14428)

sys._base_executable is now always defined on all platforms, and can be overridden through configuration.
Also adds test.support.PythonSymlink to encapsulate platform-specific logic for symlinking sys.executable
17 files changed:
Include/cpython/initconfig.h
Include/internal/pycore_pathconfig.h
Lib/multiprocessing/popen_spawn_win32.py
Lib/site.py
Lib/test/support/__init__.py
Lib/test/test_embed.py
Lib/test/test_httpservers.py
Lib/test/test_platform.py
Lib/test/test_sysconfig.py
Lib/test/test_venv.py
Lib/venv/__init__.py
Misc/NEWS.d/next/Windows/2019-06-28-09-44-08.bpo-37369.1iVpxq.rst [new file with mode: 0644]
PC/getpathp.c
PC/python_uwp.cpp
Python/initconfig.c
Python/pathconfig.c
Python/sysmodule.c