mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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>
This commit is contained in:
parent
d9ccde28c4
commit
d9bcdda39c
23 changed files with 394 additions and 109 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue