Skip to content

Commit

Permalink
gh-91321: Add _testcppext C++ extension (#32175)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vstinner authored May 2, 2022
1 parent 18b07d7 commit 79886e7
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 0 deletions.
62 changes: 62 additions & 0 deletions Lib/test/_testcppext.cpp
79 changes: 79 additions & 0 deletions Lib/test/test_cppext.py

0 comments on commit 79886e7

Please sign in to comment.