Skip to content

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

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

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants