Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-85283: If Py_LIMITED_API is defined, undefine Py_BUILD_CORE #110725

Merged
merged 2 commits into from
Oct 11, 2023

Commits on Oct 11, 2023

  1. pythongh-85283: If Py_LIMITED_API is defined, undefine Py_BUILD_CORE

    If the Py_LIMITED_API macro is defined, Py_BUILD_CORE,
    Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE macros are now
    undefined by Python.h.
    
    Only undefine these 3 macros after including "exports.h" which uses
    them to define PyAPI_FUNC(), PyAPI_DATA() and PyMODINIT_FUNC macros.
    vstinner committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    105fce1 View commit details
    Browse the repository at this point in the history
  2. Fix the doc

    vstinner committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    8ae3173 View commit details
    Browse the repository at this point in the history