summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-06-11 16:27:00 (GMT)
committerGitHub <noreply@github.com>2020-06-11 16:27:00 (GMT)
commitdc40105c88b968a50c3458e10e1d732e957ef0a3 (patch)
tree89ddc580dcf009c50f02cbbf2eae0e1da697961e /Misc
parent2f46c65071c5528ce143bd02786f8fe94fe65d1f (diff)
downloadcpython-dc40105c88b968a50c3458e10e1d732e957ef0a3.zip
cpython-dc40105c88b968a50c3458e10e1d732e957ef0a3.tar.gz
cpython-dc40105c88b968a50c3458e10e1d732e957ef0a3.tar.bz2
bpo-40947: getpath.c uses PyConfig.platlibdir (GH-20807) (GH-20813)
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> (cherry picked from commit d72b9644a3e6eec83be48b1ebc2ec6ca776134d3)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2020-06-11-16-06-49.bpo-40947.72cZcR.rst2
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.