bpo-43795: Add a test for Stable ABI symbol availability using ctypes by encukou · Pull Request #26354 · python/cpython

@encukou

This is a cross-platform check that the symbols are actually
exported in the ABI, not e.g. hidden in a macro.

erlend-aasland

@encukou

@encukou

@encukou

@encukou

@encukou

These aren't exported on some platforms.
All the others should still be tested, though, to make sure
they don't disappear.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Oct 22, 2021
…pythonGH-26354)

This is a cross-platform check that the symbols are actually
exported in the ABI, not e.g. hidden in a macro.

Caveat: PyModule_Create2 & PyModule_FromDefAndSpec2 are skipped.

These aren't exported on some of our buildbots. This is a bug
(bpo-44133). This test now makes sure all the others don't regress.
(cherry picked from commit 276468d)

Co-authored-by: Petr Viktorin <encukou@gmail.com>