diff options
author | Victor Stinner <vstinner@python.org> | 2024-03-07 18:31:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 18:31:12 (GMT) |
commit | d9bcdda39c62a8c37637ecd5f82f83f6e8828243 (patch) | |
tree | de049b30afce764294da16617d0241bb14aab088 /Tools/c-analyzer/c_parser/preprocessor/gcc.py | |
parent | d9ccde28c4321ffc0d3f8b18c6346d075b784c40 (diff) | |
download | cpython-d9bcdda39c62a8c37637ecd5f82f83f6e8828243.zip cpython-d9bcdda39c62a8c37637ecd5f82f83f6e8828243.tar.gz cpython-d9bcdda39c62a8c37637ecd5f82f83f6e8828243.tar.bz2 |
gh-116417: Add _testlimitedcapi C extension (#116419)
Add a new C extension "_testlimitedcapi" which is only built with the
limited C API.
Move heaptype_relative.c and vectorcall_limited.c from
Modules/_testcapi/ to Modules/_testlimitedcapi/.
* configure: add _testlimitedcapi test extension.
* Update generate_stdlib_module_names.py.
* Update make check-c-globals.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Tools/c-analyzer/c_parser/preprocessor/gcc.py')
-rw-r--r-- | Tools/c-analyzer/c_parser/preprocessor/gcc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/c-analyzer/c_parser/preprocessor/gcc.py b/Tools/c-analyzer/c_parser/preprocessor/gcc.py index 6ece70c..cc3a9be 100644 --- a/Tools/c-analyzer/c_parser/preprocessor/gcc.py +++ b/Tools/c-analyzer/c_parser/preprocessor/gcc.py @@ -15,8 +15,8 @@ FILES_WITHOUT_INTERNAL_CAPI = frozenset(( # C files in the fhe following directories must not be built with # Py_BUILD_CORE. DIRS_WITHOUT_INTERNAL_CAPI = frozenset(( - # Modules/_testcapi/ - '_testcapi', + '_testcapi', # Modules/_testcapi/ + '_testlimitedcapi', # Modules/_testlimitedcapi/ )) TOOL = 'gcc' |