-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Open
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtopic-sysconfigtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
Currently, as part of the sysconfig
internals, we generate a _sysconfigdata
Python module containing the variables for sysconfig.get_config_vars()
. This data is consists of all Makefile variables, which can be encoded as JSON data.
The use of a module instead of a text file is historic, and adds unnecessary complexity. Converting _sysconfigdata
to a JSON file would simplify the sysconfig
implementation. Additionally, it also makes it easier for tools to introspect the Python installation, as this would remove the necessity to execute Python code to read _sysconfigdata
.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
tomasr8 and rgommers
Metadata
Metadata
Assignees
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtopic-sysconfigtype-featureA feature request or enhancementA feature request or enhancement