New submission from Eric Snow <ericsnowcurren...@gmail.com>:
(This follows bpo-45211.) In gh-28586 I added the code in Py_SetPythonHome() to set _Py_path_config.stdlib_dir to the provided directory. However, this is the wrong value. Furthermore, the relationship between _Py_path_config.home and _Py_path_config.stdlib_dir is meant to managed in Modules/getpath.c (and PC/getpathp.c). So the code setting _Py_path_config.stdlib_dir in Py_SetPythonHome() should be dropped. ---------- assignee: eric.snow components: Interpreter Core messages: 403926 nosy: eric.snow priority: normal severity: normal stage: needs patch status: open title: _Py_path_config.stdlib_dir should not be set in Py_SetPythonHome(). type: behavior versions: Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45471> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com