]> granicus.if.org Git - python/commit
bpo-38234: Remove _PyPathConfig.dll_path (GH-16307)
authorVictor Stinner <vstinner@redhat.com>
Fri, 20 Sep 2019 23:02:56 +0000 (01:02 +0200)
committerGitHub <noreply@github.com>
Fri, 20 Sep 2019 23:02:56 +0000 (01:02 +0200)
commitc422167749f92d4170203e996a2c619c818335ea
tree23cc4f024fefc0d5d708503fb5dbd6e07a509207
parentb1542583bee204130934c2b90684041e29378250
bpo-38234: Remove _PyPathConfig.dll_path (GH-16307)

The DLL path is not computed from any user configuration and cannot
be configured by PyConfig. Instead, add a new _Py_dll_path global variable.

Remove _PyConfig_SetPathConfig(): replaced with _PyPathConfig_Init().

Py_Initialize() now longer sets the "global path configuration",
but only initialize _Py_dll_path.
Include/internal/pycore_initconfig.h
Include/internal/pycore_pathconfig.h
PC/getpathp.c
Python/pathconfig.c
Python/pylifecycle.c