]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91321: Add _testcppext C++ extension (#32175)
authorVictor Stinner <vstinner@python.org>
Mon, 2 May 2022 12:09:22 +0000 (14:09 +0200)
committerGitHub <noreply@github.com>
Mon, 2 May 2022 12:09:22 +0000 (14:09 +0200)
commit79886e7b62f4879a4cb17526a9a809bd0f5ed5e3
tree1dd063f0c01e651c936facbe5e5543c10d6d3843
parent18b07d773e09a2719e69aeaa925d5abb7ba0c068
gh-91321: Add _testcppext C++ extension (#32175)

Build a basic C++ test extension to check that the Python C API is
compatible with C++ and does not emit C++ compiler warnings.

* Add Modules/_testcppext.cpp: C++ extension
* Add Lib/test/test_cppext.py: test building the C++ extension.
Lib/test/_testcppext.cpp [new file with mode: 0644]
Lib/test/test_cppext.py [new file with mode: 0644]