Skip to content

Task "check-capi-macros" skip PC/pyconfig.h #159227

Closed

Description

@Locked-chess-official

Bug report

The Tools/build/check_capi_macros.py forgot to add PC/pyconfig.h, which means that the PR in future can still add invalid macro names in this file, which may effect windows users.

I just add #define INVALID_MACROS in PC/pyconfig.h to test it, but the script says all right.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked PRs

Activity

  1. added
    buildThe build process and cross-build
    on Oct 12, 2026
  2. added a commit that references this issue on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions