]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46890: Fix setting of sys._base_executable with framework builds on macOS (GH...
authorRonald Oussoren <ronaldoussoren@mac.com>
Tue, 5 Apr 2022 06:05:36 +0000 (08:05 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Apr 2022 06:05:36 +0000 (02:05 -0400)
commit6aaf4cd866f7c8f065d30d2a3fb4fffa8461d1d8
tree71ca040fb7a41b58fe626902bc808e3dd12c2ec0
parenta0c700480b52dffab830d52e9c4eba15d4b57a89
bpo-46890: Fix setting of sys._base_executable with framework builds on macOS (GH-31958)

The side effect of this bug was that venv environments directly
used the main interpreter instead of the intermediate stub executable,
which can cause problems when a script uses system APIs that
require the use of an application bundle.
Lib/test/test_getpath.py
Makefile.pre.in
Misc/NEWS.d/next/macOS/2022-03-17-09-55-02.bpo-46890.GX-3OO.rst [new file with mode: 0644]
Modules/getpath.c
Modules/getpath.py