cpython/Modules
Victor Stinner 09a25616a9
gh-109723: Disable Py_BUILD_CORE in _testcapi (#109727)
Make sure that the internal C API is not tested by mistake by
_testcapi.

Undefine Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE macros in
Modules/_testcapi/parts.h: move code from _testcapimodule.c.

heaptype_relative.c and vectorcall_limited.c are using the limited C
API which is incompatible with the internal C API.

Move test_long_numbits() from _testcapi to _testinternalcapi since it
uses the internal C API "pycore_long.h".

Fix Modules/_testcapi/pyatomic.c: don't include Python.h directly,
just include _testcapi/parts.h.

Ajust "make check-c-globals" for these changes.
2023-09-22 14:54:37 +00:00
..
_blake2
_ctypes gh-108511: Add C API functions which do not silently ignore errors (GH-109025) 2023-09-17 14:23:31 +03:00
_decimal gh-108346: Fix failed benchmark in decimal (#108353) 2023-09-12 21:17:55 -07:00
_hacl
_io gh-108511: Add C API functions which do not silently ignore errors (GH-109025) 2023-09-17 14:23:31 +03:00
_multiprocessing gh-108494: Argument Clinic: inline parsing code for positional-only parameters in the limited C API (GH-108622) 2023-09-03 17:28:14 +03:00
_sqlite
_sre gh-108765: Python.h no longer includes <ctype.h> (#108831) 2023-09-03 18:54:27 +02:00
_ssl
_testcapi gh-109723: Disable Py_BUILD_CORE in _testcapi (#109727) 2023-09-22 14:54:37 +00:00
_testinternalcapi gh-108724: Add PyMutex and _PyParkingLot APIs (gh-109344) 2023-09-19 09:54:29 -06:00
_xxtestfuzz
cjkcodecs
clinic gh-109723: Disable Py_BUILD_CORE in _testcapi (#109727) 2023-09-22 14:54:37 +00:00
expat
_abc.c
_asynciomodule.c
_bisectmodule.c
_bz2module.c
_codecsmodule.c
_collectionsmodule.c
_contextvarsmodule.c
_csv.c
_curses_panel.c
_cursesmodule.c
_datetimemodule.c gh-108751: Add copy.replace() function (GH-108752) 2023-09-06 23:55:42 +03:00
_dbmmodule.c
_elementtree.c gh-108511: Add C API functions which do not silently ignore errors (GH-109025) 2023-09-17 14:23:31 +03:00
_functoolsmodule.c gh-102757: fix function signature mismatch for functools.reduce between code and documentation (#102759) 2023-09-18 10:42:58 -06:00
_gdbmmodule.c
_hashopenssl.c
_heapqmodule.c
_json.c
_localemodule.c gh-108765: Python.h no longer includes <ctype.h> (#108831) 2023-09-03 18:54:27 +02:00
_lsprof.c gh-106320: Remove private _PyErr_WriteUnraisableMsg() (#108863) 2023-09-05 01:54:55 +02:00
_lzmamodule.c
_math.h
_opcode.c
_operator.c
_pickle.c gh-108511: Add C API functions which do not silently ignore errors (GH-109025) 2023-09-17 14:23:31 +03:00
_posixsubprocess.c gh-108494: Argument Clinic: inline parsing code for positional-only parameters in the limited C API (GH-108622) 2023-09-03 17:28:14 +03:00
_queuemodule.c
_randommodule.c
_scproxy.c
_ssl.c
_ssl.h
_ssl_data.h
_ssl_data_31.h
_ssl_data_111.h
_ssl_data_300.h
_stat.c
_statisticsmodule.c
_struct.c Add missing PyDoc_STR calls (#109393) 2023-09-15 15:10:48 +02:00
_testbuffer.c
_testcapi_feature_macros.inc
_testcapimodule.c gh-109723: Disable Py_BUILD_CORE in _testcapi (#109727) 2023-09-22 14:54:37 +00:00
_testclinic.c
_testclinic_limited.c
_testimportmultiple.c
_testinternalcapi.c gh-109723: Disable Py_BUILD_CORE in _testcapi (#109727) 2023-09-22 14:54:37 +00:00
_testmultiphase.c
_testsinglephase.c
_threadmodule.c gh-108987: Fix _thread.start_new_thread() race condition (#109135) 2023-09-11 17:27:03 +02:00
_tkinter.c gh-108765: Python.h no longer includes <ctype.h> (#108831) 2023-09-03 18:54:27 +02:00
_tracemalloc.c
_typingmodule.c
_uuidmodule.c
_weakref.c
_winapi.c
_xxinterpchannelsmodule.c gh-76785: Use Pending Calls When Releasing Cross-Interpreter Data (gh-109556) 2023-09-19 15:01:34 -06:00
_xxsubinterpretersmodule.c gh-76785: Use Pending Calls When Releasing Cross-Interpreter Data (gh-109556) 2023-09-19 15:01:34 -06:00
_zoneinfo.c gh-108765: Python.h no longer includes <ctype.h> (#108831) 2023-09-03 18:54:27 +02:00
addrinfo.h
arraymodule.c
atexitmodule.c gh-106320: Remove private _PyErr_WriteUnraisableMsg() (#108863) 2023-09-05 01:54:55 +02:00
binascii.c
cmathmodule.c
config.c.in
errnomodule.c
faulthandler.c
fcntlmodule.c
gc_weakref.txt
gcmodule.c gh-108753: Enhance pystats (#108754) 2023-09-06 15:54:59 +00:00
getaddrinfo.c gh-108767: Replace ctype.h functions with pyctype.h functions (#108772) 2023-09-01 18:36:53 +02:00
getbuildinfo.c
getnameinfo.c
getpath.c gh-106320: Remove private _PyErr_WriteUnraisableMsg() (#108863) 2023-09-05 01:54:55 +02:00
getpath.py
getpath_noop.c
grpmodule.c gh-108765: Python.h no longer includes <unistd.h> (#108783) 2023-09-02 16:50:18 +02:00
hashlib.h
itertoolsmodule.c
ld_so_aix.in
main.c
makesetup
makexp_aix
mathmodule.c gh-102837: improve test coverage for math module (#102523) 2023-09-03 01:48:47 -07:00
md5module.c
mmapmodule.c gh-108765: Python.h no longer includes <unistd.h> (#108783) 2023-09-02 16:50:18 +02:00
overlapped.c gh-108494: Argument Clinic: inline parsing code for positional-only parameters in the limited C API (GH-108622) 2023-09-03 17:28:14 +03:00
posixmodule.c gh-109613: _pystat_fromstructstat() checks for exceptions (#109618) 2023-09-21 09:55:06 +02:00
posixmodule.h gh-107211: No longer export internal _PyLong_FromUid() (#109037) 2023-09-07 02:09:06 +02:00
pwdmodule.c gh-108765: Python.h no longer includes <unistd.h> (#108783) 2023-09-02 16:50:18 +02:00
pyexpat.c gh-108765: Python.h no longer includes <ctype.h> (#108831) 2023-09-03 18:54:27 +02:00
readline.c gh-108765: Python.h no longer includes <sys/time.h> (#108775) 2023-09-02 17:51:19 +02:00
README
resource.c gh-108494: Argument Clinic: inline parsing code for positional-only parameters in the limited C API (GH-108622) 2023-09-03 17:28:14 +03:00
rotatingtree.c
rotatingtree.h
selectmodule.c gh-108765: Python.h no longer includes <unistd.h> (#108783) 2023-09-02 16:50:18 +02:00
Setup
Setup.bootstrap.in
Setup.stdlib.in gh-108724: Add PyMutex and _PyParkingLot APIs (gh-109344) 2023-09-19 09:54:29 -06:00
sha1module.c
sha2module.c
sha3module.c
signalmodule.c gh-108765: Python.h no longer includes <sys/time.h> (#108775) 2023-09-02 17:51:19 +02:00
socketmodule.c gh-63760: Don't declare gethostname() on Solaris (#108817) 2023-09-02 17:54:59 +00:00
socketmodule.h
symtablemodule.c
syslogmodule.c
termios.c gh-108765: include <unistd.h> in termios.c on Solaris (#108825) 2023-09-02 18:57:47 +00:00
timemodule.c gh-108294: Add error handling for time.sleep audit event (GH-108363) 2023-09-05 10:25:08 +02:00
tkappinit.c
tkinter.h
unicodedata.c fixes gh-109559: Update unicodedata for Unicode 15.1.0 (GH-109560) 2023-09-19 22:07:47 -07:00
unicodedata_db.h fixes gh-109559: Update unicodedata for Unicode 15.1.0 (GH-109560) 2023-09-19 22:07:47 -07:00
unicodename_db.h fixes gh-109559: Update unicodedata for Unicode 15.1.0 (GH-109560) 2023-09-19 22:07:47 -07:00
winreparse.h
xxlimited.c
xxlimited_35.c
xxmodule.c
xxsubtype.c gh-108765: Python.h no longer includes <sys/time.h> (#108775) 2023-09-02 17:51:19 +02:00
zlibmodule.c

Source files for standard library extension modules,
and former extension modules that are now builtin modules.