Skip to content

bpo-38468 : Refactor python-config #16749

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Oct 15, 2019

Conversation

nanjekyejoannah
Copy link
Contributor

@nanjekyejoannah nanjekyejoannah commented Oct 13, 2019

Use getvar for all still existing sysconfig.get_config_var() calls .

https://bugs.python.org/issue38468

@nanjekyejoannah
Copy link
Contributor Author

Thanks @pablogsal

Use `getvar` for all still existing `sysconfig.get_config_var()` calls.
The affected file is `Python3.9-config.in`.
Misc/python-config.in now uses `getvar` for all still existing `sysconfig.get_config_var()` calls.
Patch by Joannah Nanjekye
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something gone wrong :-/ I only expected 2 lines for this file, not 4. Maybe I shouldn't use GitHub "suggestion" on multiple lines :-( I expected:

Misc/python-config.in now uses `getvar()` for all still existing `sysconfig.get_config_var()` calls.
Patch by Joannah Nanjekye.

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@nanjekyejoannah nanjekyejoannah merged commit 3cd21aa into python:master Oct 15, 2019
@nanjekyejoannah nanjekyejoannah deleted the refactor_python-config branch October 15, 2019 14:18
@bedevere-bot
Copy link

@nanjekyejoannah: Please replace # with GH- in the commit message next time. Thanks!

jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
* refactor python-config

* 📜🤖 Added by blurb_it.

* Update Misc/NEWS.d/next/Build/2019-10-13-16-18-24.bpo-38468.buCO84.rst

Co-Authored-By: Pablo Galindo <[email protected]>

* Use getvar for pyver

* Update news entry with affected file.

* Update Misc/NEWS.d/next/Build/2019-10-13-16-18-24.bpo-38468.buCO84.rst

Co-Authored-By: Victor Stinner <[email protected]>

* Update 2019-10-13-16-18-24.bpo-38468.buCO84.rst
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
* refactor python-config

* 📜🤖 Added by blurb_it.

* Update Misc/NEWS.d/next/Build/2019-10-13-16-18-24.bpo-38468.buCO84.rst

Co-Authored-By: Pablo Galindo <[email protected]>

* Use getvar for pyver

* Update news entry with affected file.

* Update Misc/NEWS.d/next/Build/2019-10-13-16-18-24.bpo-38468.buCO84.rst

Co-Authored-By: Victor Stinner <[email protected]>

* Update 2019-10-13-16-18-24.bpo-38468.buCO84.rst
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.

5 participants