summaryrefslogtreecommitdiffstats
path: root/Doc/reference/compound_stmts.rst
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-10-11 20:47:54 (GMT)
committerGitHub <noreply@github.com>2023-10-11 20:47:54 (GMT)
commit6f4a49942bec5bb15b2ebb7ec19fd43c052305a1 (patch)
tree9fe40d94f30b24a0682404277dd1efb4f73d3ccf /Doc/reference/compound_stmts.rst
parent718391f475f2550d99dd794069ca76312f7f6aa6 (diff)
downloadcpython-6f4a49942bec5bb15b2ebb7ec19fd43c052305a1.zip
cpython-6f4a49942bec5bb15b2ebb7ec19fd43c052305a1.tar.gz
cpython-6f4a49942bec5bb15b2ebb7ec19fd43c052305a1.tar.bz2
gh-85283: If Py_LIMITED_API is defined, undefine Py_BUILD_CORE (#110725)
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. Remove hacks (undefine manually the 3 Py_BUILD_CORE macros) in Modules/_testcapi/parts.h and Modules/_testclinic_limited.c.
Diffstat (limited to 'Doc/reference/compound_stmts.rst')
0 files changed, 0 insertions, 0 deletions