mirror of
https://github.com/python/cpython
synced 2026-11-06 09:02:40 +03:00
* test_cext now uses a single virtual environment for all tests.
It makes the test way faster since creating a virtual environment
is quite slow.
* Add Py_TARGET_ABI3T test on C++.
* Move macro tests from module exec function to test_macros().
* Call Py_BEGIN_CRITICAL_SECTION() on a fresh dictionary object,
rather than on the module.
* Rename some environment variables to always use "CPYTHON_TEST_"
prefix.
* Replace support.MS_WINDOWS with MSVC to be more explicit.
* Move macro tests to test_macros().
* On macOS, use C++11 by default.
(cherry picked from commit b71989d657)
3 lines
157 B
C++
3 lines
157 B
C++
// extension.cpp just copy/paste extension.c. This file is used to pass
|
|
// a filename with ".cpp" extension to select a C++ compiler.
|
|
#include "extension.c"
|