]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45471: Do not set PyConfig.stdlib_dir in Py_SetPythonHome(). (gh-28954)
authorEric Snow <ericsnowcurrently@gmail.com>
Thu, 14 Oct 2021 20:48:32 +0000 (14:48 -0600)
committerGitHub <noreply@github.com>
Thu, 14 Oct 2021 20:48:32 +0000 (14:48 -0600)
commit0bbea0723ee07f9d7ad9745f0e1875718ef38715
tree0bbf9521b1a68f11d7696ac57da990f220c37414
parent3cc56c828d2d8f8659ea49447234bf0d2b87cd64
bpo-45471: Do not set PyConfig.stdlib_dir in Py_SetPythonHome(). (gh-28954)

The change in gh-28586 (bpo-45211) should not have included code to set _Py_path_config.stdlib_dir in Py_SetPythonHome(). We fix that here.

https://bugs.python.org/issue45471
Lib/test/test_embed.py
Python/pathconfig.c