Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
vstinner merged 1 commit intopython:3.9python/cpython:3.9from
vstinner:getpath_platlibdir39Copy head branch name to clipboard
Jun 11, 2020
Merged

[3.9] bpo-40947: getpath.c uses PyConfig.platlibdir (GH-20807)#20813
vstinner merged 1 commit intopython:3.9python/cpython:3.9from
vstinner:getpath_platlibdir39Copy head branch name to clipboard

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 11, 2020

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.