]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43795: Add a test for Stable ABI symbol availability using ctypes (GH-26354)
authorPetr Viktorin <encukou@gmail.com>
Fri, 22 Oct 2021 08:12:06 +0000 (10:12 +0200)
committerGitHub <noreply@github.com>
Fri, 22 Oct 2021 08:12:06 +0000 (10:12 +0200)
commit276468dddb46c54980c782c09cdb53bd90755752
tree71c31b71af4822983c6e0f67612a844d16513a51
parent843b890334ca30cf6af27dffe29cecd06b49f7d9
bpo-43795: Add a test for Stable ABI symbol availability using ctypes (GH-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.
Lib/test/test_stable_abi_ctypes.py [new file with mode: 0644]
Tools/scripts/stable_abi.py