diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-09-20 23:50:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-20 23:50:16 (GMT) |
commit | e267793aa4101b2771ed0e66aaff5743d23f59af (patch) | |
tree | f1378008cb479ac5d1841bc10ef2f055a5d98bf6 /Misc | |
parent | 77af2290e594479002aa7d8f914d1f38b14a4854 (diff) | |
download | cpython-e267793aa4101b2771ed0e66aaff5743d23f59af.zip cpython-e267793aa4101b2771ed0e66aaff5743d23f59af.tar.gz cpython-e267793aa4101b2771ed0e66aaff5743d23f59af.tar.bz2 |
bpo-38234: Fix PyConfig_Read() when Py_SetPath() was called (GH-16298)
* If Py_SetPath() has been called, _PyConfig_InitPathConfig() now
uses its value.
* Py_Initialize() now longer copies path configuration from PyConfig
to the global path configuration (_Py_path_config).
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2019-09-20-17-22-41.bpo-38234.ZbquVK.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2019-09-20-17-22-41.bpo-38234.ZbquVK.rst b/Misc/NEWS.d/next/C API/2019-09-20-17-22-41.bpo-38234.ZbquVK.rst new file mode 100644 index 0000000..6310f19 --- /dev/null +++ b/Misc/NEWS.d/next/C API/2019-09-20-17-22-41.bpo-38234.ZbquVK.rst @@ -0,0 +1,2 @@ +Python ignored path passed to :c:func:`Py_SetPath`, fix Python +initialization to use the specified path. |