Skip to content

Add the macros that defined by "pyconfig.h" to windows system in "sysconfig.get_config_vars" #141662

@Locked-chess-official

Description

@Locked-chess-official

Feature or enhancement

Proposal:

Now on unix system, sysconfig.get_config_vars() can get all of the configure which were used when compiling python. However, on windows, some macros that discribe the function status, the size of something or whether the header file existed cannot get from it. Though the "pyconfig.h" on windows is stable, we need to respect that some people edit the "pyconfig.h" due to that their computer has some different things with other (some functions or header files they have but "pyconfig.h" assumed any windows system don't have).

What macros to add should be the macros that describe the system status which will impact the hole python compiling.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions