SIGN IN SIGN UP

gh-137210: Move PYTHON_API_VERSION & PYTHON_ABI_VERSION to patchlevel.h (GH-138545)

Move PYTHON_API_VERSION & PYTHON_ABI_VERSION to patchlevel.h

This allows removing #include "modsupport.h" from python_ver_rc.h,
which allows modsupport.h to use common helpers from Python.h --
specifically, `_Py_PACK_VERSION` for defining limited API.
P
Petr Viktorin committed
097c563e7bd6757192670b54a8f9cf7c3c77cf04
Parent: 3255c0c
Committed by GitHub <noreply@github.com> on 9/8/2025, 10:02:13 AM