[Python-Dev] Include C++ code in the ctypes test suite?

Antoine Pitrou solipsis at pitrou.net
Thu Jan 29 17:50:32 CET 2009


Thomas Heller <theller <at> ctypes.org> writes:
> 
> To test this functionality it is required to add some C++ source code to the
> ctypes private test module _ctypes_test.pyd/_ctypes_test.so.

Perhaps you should create a separate test module (_ctypes_pp_test?) so that
platforms without a properly configured C++ compiler can still run the other
tests.

(I also suppose configure can detect the presence of a C++ compiler...)

Regards

Antoine.




More information about the Python-Dev mailing list