summaryrefslogtreecommitdiffstats
path: root/Lib/test/setup_testcppext.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-94731: Revert to C-style casts for _Py_CAST (GH-94782)Petr Viktorin2022-07-141-5/+0
| | | Co-authored-by: da-woods <dw-git@d-woods.co.uk>
* gh-94751: Install, import and run the test C++ extension (MVP) (GH-94754)Petr Viktorin2022-07-121-1/+1
| | | | | | | | | This is a quick-and-dirty way to run the C++ tests. It can definitely be improved in the future, but it should fail when things go wrong. - Run test functions on import (yes, this can definitely be improved) - Fudge setuptools metadata (name & version) to make the extension installable - Install and import the extension in test_cppext
* gh-91321: Fix test_cppext for C++03 (#93902)Victor Stinner2022-06-161-2/+4
| | | | Don't build _testcppext.cpp with -Wzero-as-null-pointer-constant when testing C++03: only use this compiler flag with C++11.
* gh-91321: Fix compatibility with C++ older than C++11 (#93784)Victor Stinner2022-06-141-5/+14
| | | | | Fix the compatibility of the Python C API with C++ older than C++11. _Py_NULL is only defined as nullptr on C++11 and newer.
* gh-92584: test_cppext uses setuptools (#92639)Victor Stinner2022-05-121-0/+42
Rewrite test_cppext to run in a virtual environment and to build the C++ extension with setuptools rather than distutils.