You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Feature or enhancement
Proposal:
Currently, as part of the
sysconfig
internals, we generate a_sysconfigdata
Python module containing the variables forsysconfig.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 thesysconfig
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
The text was updated successfully, but these errors were encountered: