SIGN IN SIGN UP

gh-146636: Improve ABI/feature selection, add new header for it (GH-148302)

Improve ABI/feature selection, add new header for it.

Add a test that Python headers themselves don't use
Py_GIL_DISABLED in abi3t: abi3 and abi3t ought to be the
same except the _Py_OPAQUE_PYOBJECT differences.
This is done using the GCC-only poison pragma.

Co-authored-by: Victor Stinner <vstinner@python.org>
P
Petr Viktorin committed
ab41a347ebc7e6c3e3f5795c4a24545bfbf92a6e
Parent: 3b93979
Committed by GitHub <noreply@github.com> on 4/23/2026, 9:52:13 AM