On 5/2/2022 2:21 PM, Victor Stinner wrote:
Maybe it
should be made optional, but so far I failed to test if distutils has an
available C++ compiler.
Considering the current status of distutils, you should probably put
that check in configure or the Makefile and build the extension from
there
Hi,
I merged the best basic tests to make sure that using the Python C API in
C++ does not emit compiler warnings:
* Code: https://github.com/python/cpython/blob/main/Lib/test/_testcppext.cpp
* Test: https://github.com/python/cpython/blob/main/Lib/test/test_cppext.py
The code is only built to ch