Skip to content

[3.9] bpo-40947: getpath.c uses PyConfig.platlibdir (GH-20807) - #20813

Merged
vstinner merged 1 commit into
python:3.9from
vstinner:getpath_platlibdir39
Jun 11, 2020
Merged

vstinner merged 1 commit into
python:3.9from
vstinner:getpath_platlibdir39

Conversation

@vstinner

@vstinner vstinner commented Jun 11, 2020 •

Copy link
Copy Markdown
Member

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 d72b964)

https://bugs.python.org/issue40947

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 d72b964)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants