bpo-32030: Add _PyCoreConfig.module_search_paths (#4954) · pythoncapi/cpython@8ded5b8 · GitHub
Skip to content

Commit 8ded5b8

Browse files
authored
bpo-32030: Add _PyCoreConfig.module_search_paths (python#4954)
_PyCoreConfig_Read() is now responsible to compute sys.path. So sys.path is now computed before calling _Py_InitializeCore(). Changes: * Add module_search_path, module_search_paths, executable, prefix, base_prefix, exec_prefix and base_exec_prefix to _PyCoreConfig. * _PyMainInterpreterConfig_Read() now only converts wchar_t** lists into a Python list, it doesn't compute sys.path anymore.
1 parent 5de15f1 commit 8ded5b8

3 files changed

Lines changed: 231 additions & 187 deletions

File tree

Include/pystate.h

Lines changed: 27 additions & 13 deletions

0 commit comments

Comments
 (0)