mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +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
|
|
@ -6813,6 +6813,7 @@ SRCDIRS="\
|
|||
Modules/_sre \
|
||||
Modules/_testcapi \
|
||||
Modules/_testinternalcapi \
|
||||
Modules/_testlimitedcapi \
|
||||
Modules/_xxtestfuzz \
|
||||
Modules/cjkcodecs \
|
||||
Modules/expat \
|
||||
|
|
@ -7622,6 +7623,7 @@ PY_STDLIB_MOD([_testcapi],
|
|||
[], [], [$LIBATOMIC])
|
||||
PY_STDLIB_MOD([_testclinic], [test "$TEST_MODULES" = yes])
|
||||
PY_STDLIB_MOD([_testclinic_limited], [test "$TEST_MODULES" = yes])
|
||||
PY_STDLIB_MOD([_testlimitedcapi], [test "$TEST_MODULES" = yes])
|
||||
PY_STDLIB_MOD([_testinternalcapi], [test "$TEST_MODULES" = yes])
|
||||
PY_STDLIB_MOD([_testbuffer], [test "$TEST_MODULES" = yes])
|
||||
PY_STDLIB_MOD([_testimportmultiple], [test "$TEST_MODULES" = yes], [test "$ac_cv_func_dlopen" = yes])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue