diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-11 15:28:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 15:28:52 (GMT) |
commit | d72b9644a3e6eec83be48b1ebc2ec6ca776134d3 (patch) | |
tree | 5ea7e7aa01e7f10f35d8b70837c73a81d29e8e75 /Misc | |
parent | b2dca49ca3769cb60713f5c2b43e5d5bbdc1f9c7 (diff) | |
download | cpython-d72b9644a3e6eec83be48b1ebc2ec6ca776134d3.zip cpython-d72b9644a3e6eec83be48b1ebc2ec6ca776134d3.tar.gz cpython-d72b9644a3e6eec83be48b1ebc2ec6ca776134d3.tar.bz2 |
bpo-40947: getpath.c uses PyConfig.platlibdir (GH-20807)
Followup of bpo-40854, there is one remaining usage of PLATLIBDIR
which should be replaced by config->platlibdir.
test_sys checks that sys.platlibdir attribute exists and is a string.
Update Makefile: getpath.c and sysmodule.c no longer need PLATLIBDIR
macro, PyConfig.platlibdir member is used instead.
Co-authored-by: Sandro Mani <manisandro@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2020-06-11-16-06-49.bpo-40947.72cZcR.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-06-11-16-06-49.bpo-40947.72cZcR.rst b/Misc/NEWS.d/next/Core and Builtins/2020-06-11-16-06-49.bpo-40947.72cZcR.rst new file mode 100644 index 0000000..e7dfe06 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2020-06-11-16-06-49.bpo-40947.72cZcR.rst @@ -0,0 +1,2 @@ +The Python :ref:`Path Configuration <init-path-config>` now takes +:c:member:`PyConfig.platlibdir` in account. |