Skip to content
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

bpo-38468 : Refactor python-config #16749

Merged
merged 7 commits into from Oct 15, 2019

Conversation

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

Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
@nanjekyejoannah
Copy link
Contributor Author

@nanjekyejoannah nanjekyejoannah commented Oct 14, 2019

Thanks @pablogsal

Co-Authored-By: Victor Stinner <vstinner@python.org>
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

@vstinner vstinner Oct 15, 2019

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

LGTM.

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

@bedevere-bot bedevere-bot commented Oct 15, 2019

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

jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this issue 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 <Pablogsal@gmail.com>

* 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 <vstinner@python.org>

* Update 2019-10-13-16-18-24.bpo-38468.buCO84.rst
shihai1991 pushed a commit to shihai1991/cpython that referenced this issue 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 <Pablogsal@gmail.com>

* 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 <vstinner@python.org>

* 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants