summaryrefslogtreecommitdiffstats
path: root/Include/internal
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-09-26 13:51:50 (GMT)
committerGitHub <noreply@github.com>2019-09-26 13:51:50 (GMT)
commit12f2f177fc483723406d7917194e7f655a20631b (patch)
treef3e1b4227b37efa25e0ca0a487e0d229deba8b95 /Include/internal
parent3d984a1fd0c05903268542a216fc496074b2e6da (diff)
downloadcpython-12f2f177fc483723406d7917194e7f655a20631b.zip
cpython-12f2f177fc483723406d7917194e7f655a20631b.tar.gz
cpython-12f2f177fc483723406d7917194e7f655a20631b.tar.bz2
bpo-38234: Py_Initialize() sets global path configuration (GH-16421)
* Py_InitializeFromConfig() now writes PyConfig path configuration to the global path configuration (_Py_path_config). * Add test_embed.test_get_pathconfig(). * Fix typo in _PyWideStringList_Join().
Diffstat (limited to 'Include/internal')
-rw-r--r--Include/internal/pycore_pathconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_pathconfig.h b/Include/internal/pycore_pathconfig.h
index b5d1144..ce75cce 100644
--- a/Include/internal/pycore_pathconfig.h
+++ b/Include/internal/pycore_pathconfig.h
@@ -66,7 +66,7 @@ extern int _Py_FindEnvConfigValue(
extern wchar_t* _Py_GetDLLPath(void);
#endif
-extern PyStatus _PyPathConfig_Init(void);
+extern PyStatus _PyConfig_WritePathConfig(const PyConfig *config);
extern void _Py_DumpPathConfig(PyThreadState *tstate);
#ifdef __cplusplus