cpython/Modules
Victor Stinner 9b35f7cdfe
gh-129813, PEP 782: Use PyBytesWriter in bufferedio.c (#139121)
Replace PyBytes_FromStringAndSize(NULL, size) and _PyBytes_Resize()
with the new public PyBytesWriter API.
2025-09-18 17:00:10 +02:00
..
_ctypes gh-138008: Fix segfaults in _ctypes due to invalid argtypes (GH-138285) 2025-09-10 14:01:19 +02:00
_decimal gh-73487: Convert _decimal to use Argument Clinic (part 7) (#138221) 2025-09-18 16:08:27 +02:00
_hacl gh-135532: update Modules/_hacl/python_hacl_namespaces.h (#135741) 2025-06-20 11:32:38 +02:00
_io gh-129813, PEP 782: Use PyBytesWriter in bufferedio.c (#139121) 2025-09-18 17:00:10 +02:00
_multiprocessing gh-129813, PEP 782: Use PyBytesWriter in _multiprocessing (#139047) 2025-09-17 17:44:13 +02:00
_sqlite gh-129813, PEP 782: Use PyBytesWriter in _sqlite (#138956) 2025-09-18 14:58:35 +02:00
_sre gh-138264: Fix gcc 14 compiler warnings (GH-138265) 2025-09-03 11:26:56 +03:00
_ssl gh-137583: Only lock the SSL context, not the SSL socket (GH-137588) 2025-08-10 14:47:11 +00:00
_testcapi gh-139098: Use multiphase initialization in _testcapi (GH-139102) 2025-09-18 11:00:50 +00:00
_testinternalcapi gh-135641: Fix flaky test_capi.test_lock_two_threads test case (gh-135642) 2025-06-18 14:24:05 -04:00
_testlimitedcapi gh-108512: Add and use new replacements for PySys_GetObject() (GH-111035) 2025-05-28 20:11:09 +03:00
_xxtestfuzz
_zstd fix some typos (#138977) 2025-09-16 18:33:39 +05:30
cjkcodecs GH-137623: Use an AC decorator for docstring line length enforcement (#137690) 2025-08-18 18:29:00 +01:00
clinic gh-64490: Argument Clinic: Add support for `**kwds` (#138344) 2025-09-18 13:31:42 +00:00
expat gh-138998: expat/refresh.sh: Fail if Step 3 is not completed (GH-139049) 2025-09-18 12:47:42 +02:00
_abc.c GH-137623: Use an AC decorator for docstring line length enforcement (#137690) 2025-08-18 18:29:00 +01:00
_asynciomodule.c Doc: More duplicate word fixes (GH-136299) 2025-07-11 21:18:47 +03:00
_bisectmodule.c GH-135763: AC: Use `Py_ssize_t(allow_negative=False)` (#138394) 2025-09-02 21:29:05 +01:00
_bz2module.c gh-129813, PEP 782: Use Py_GetConstant(Py_CONSTANT_EMPTY_BYTES) (#138830) 2025-09-13 18:30:25 +02:00
_codecsmodule.c gh-129813, PEP 782: Use PyBytesWriter in _codecs.escape_decode() (#138919) 2025-09-15 16:32:43 +02:00
_collectionsmodule.c gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614) 2025-06-30 11:14:31 +00:00
_csv.c gh-137986: Fix and improve the csv functions docstrings (GH-137987) 2025-08-24 11:13:31 +03:00
_curses_panel.c gh-116946: add Py_TPFLAGS_IMMUTABLETYPE to several internal types (#138582) 2025-09-11 09:56:20 +02:00
_cursesmodule.c gh-129813, PEP 782: Use PyBytesWriter in _curses (#138920) 2025-09-15 16:24:34 +02:00
_datetimemodule.c gh-88473: Implement fast path in date.today() for date types (#130980) 2025-09-16 10:28:54 +01:00
_dbmmodule.c gh-129813, PEP 782: Use Py_GetConstant(Py_CONSTANT_EMPTY_BYTES) (#138830) 2025-09-13 18:30:25 +02:00
_elementtree.c gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614) 2025-06-30 11:14:31 +00:00
_functoolsmodule.c gh-138342: Use a common utility for visiting an object's type (GH-138343) 2025-09-01 16:20:33 +00:00
_gdbmmodule.c gh-138342: Use a common utility for visiting an object's type (GH-138343) 2025-09-01 16:20:33 +00:00
_hashopenssl.c gh-129813, PEP 782: Use PyBytesWriter in _hashopenssl (#138922) 2025-09-15 18:41:43 +02:00
_heapqmodule.c Fix comments for heapq.siftup_max (#135359) 2025-07-03 15:21:41 +05:30
_interpchannelsmodule.c gh-135839: Fix module_traverse and module_clear in _interpchannelsmodule (#135840) 2025-06-25 11:54:42 +03:00
_interpqueuesmodule.c GH-137630: Convert `_interpqueues` to use Argument Clinic (#137685) 2025-09-17 17:35:00 +01:00
_interpreters_common.h gh-132775: Use _PyObject_GetXIData (With Fallback) (gh-134440) 2025-05-22 06:50:06 -06:00
_interpretersmodule.c GH-137623: Use an AC decorator for docstring line length enforcement (#137690) 2025-08-18 18:29:00 +01:00
_json.c gh-116738: Make _json module thread-safe in the free-threading (#119438) 2025-08-31 09:42:45 +05:30
_localemodule.c gh-60462: Fix locale.strxfrm() on Solaris (GH-138242) 2025-09-03 15:49:28 +03:00
_lsprof.c gh-116738: make cProfile module thread-safe (#138229) 2025-09-06 13:19:14 +05:30
_lzmamodule.c gh-129813, PEP 782: Use PyBytesWriter in lzma and zlib (#138832) 2025-09-13 19:27:04 +02:00
_math.h
_opcode.c gh-135755: Move SPECIAL_ constants to a private header (GH-135922) 2025-06-25 13:03:05 +02:00
_operator.c
_pickle.c gh-129813, PEP 782: Use PyBytesWriter in pickle and struct (#138833) 2025-09-13 18:26:49 +02:00
_posixsubprocess.c fix comment reference from man 7 signal to man 7 signal-safety (#138554) 2025-09-06 18:40:15 +00:00
_queuemodule.c gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614) 2025-06-30 11:14:31 +00:00
_randommodule.c gh-116946: add Py_TPFLAGS_IMMUTABLETYPE to _random.Random (#138341) 2025-09-03 09:55:53 +02:00
_remote_debugging_module.c gh-116946: add Py_TPFLAGS_IMMUTABLETYPE to several internal types (#138582) 2025-09-11 09:56:20 +02:00
_scproxy.c
_ssl.c gh-129813, PEP 782: Use PyBytesWriter in _ssl (#138929) 2025-09-18 16:54:18 +02:00
_ssl.h
_ssl_data_35.h gh-132339: Add support for OpenSSL 3.5 (GH-137720) 2025-08-13 23:18:03 -05:00
_ssl_data_111.h
_ssl_data_300.h
_ssl_data_340.h
_stat.c gh-108765: fix comment about macro definitions in _stat.c post GH-108854 (#136027) 2025-06-27 15:15:11 +00:00
_statisticsmodule.c
_struct.c gh-129813, PEP 782: Use PyBytesWriter in pickle and struct (#138833) 2025-09-13 18:26:49 +02:00
_suggestions.c
_sysconfig.c GH-137623: Use an AC decorator for docstring line length enforcement (#137690) 2025-08-18 18:29:00 +01:00
_testbuffer.c gh-136300: Modify C tests to conform to PEP-737 (GH-136301) 2025-07-11 15:18:35 +02:00
_testcapi_feature_macros.inc
_testcapimodule.c gh-139098: Use multiphase initialization in _testcapi (GH-139102) 2025-09-18 11:00:50 +00:00
_testclinic.c gh-64490: Argument Clinic: Add support for `**kwds` (#138344) 2025-09-18 13:31:42 +00:00
_testclinic_limited.c
_testimportmultiple.c
_testinternalcapi.c gh-136003: Execute pre-finalization callbacks in a loop (GH-136004) 2025-09-18 08:29:12 -04:00
_testlimitedcapi.c
_testmultiphase.c
_testsinglephase.c
_threadmodule.c gh-136003: Execute pre-finalization callbacks in a loop (GH-136004) 2025-09-18 08:29:12 -04:00
_tkinter.c Revert "gh-116946: fully implement GC protocol for _tkinter.Tk{app,tt}Object (#138331)" (#138807) 2025-09-11 17:05:37 -04:00
_tracemalloc.c GH-137623: Use an AC decorator for docstring line length enforcement (#137690) 2025-08-18 18:29:00 +01:00
_typesmodule.c gh-136492: Add FrameLocalsProxyType to types (GH-136546) 2025-07-20 20:49:00 +02:00
_typingmodule.c
_uuidmodule.c gh-132710: only use stable _uuid.generate_time_safe() to deduce MAC address (#132901) 2025-05-26 10:56:31 +02:00
_weakref.c
_winapi.c gh-129813, PEP 782: Use PyBytesWriter in _winapi.PeekNamedPipe() (#138930) 2025-09-15 21:25:47 +01:00
_zoneinfo.c GH-137623: Use an AC decorator for docstring line length enforcement (#137690) 2025-08-18 18:29:00 +01:00
addrinfo.h
arraymodule.c GH-135763: AC: Use `Py_ssize_t(allow_negative=False)` (#138394) 2025-09-02 21:29:05 +01:00
atexitmodule.c
binascii.c gh-129813, PEP 782: Use PyBytesWriter in binascii (#138825) 2025-09-13 18:25:16 +02:00
blake2module.c gh-138342: Use a common utility for visiting an object's type (GH-138343) 2025-09-01 16:20:33 +00:00
cmathmodule.c GH-137623: Use an AC decorator for docstring line length enforcement (#137690) 2025-08-18 18:29:00 +01:00
config.c.in
errnomodule.c
faulthandler.c gh-137725: Convert faulthandler to Argument Clinic (#137726) 2025-08-16 15:16:04 +02:00
fcntlmodule.c gh-129813, PEP 782: Use PyBytesWriter in fcntl (#138921) 2025-09-15 16:21:43 +02:00
gc_weakref.txt GH-135552: Make the GC clear weakrefs later (GH-136189) 2025-08-07 16:32:17 -07:00
gcmodule.c gh-138659: Typo in the gc module docstring (#138660) 2025-09-08 14:16:33 +00:00
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c
getpath.py gh-120037: Disable user site packages when a ._pth file is used (GH-137428) 2025-08-19 21:28:28 +01:00
getpath_noop.c
grpmodule.c gh-116738: Make grp module thread-safe (#135434) 2025-07-14 11:18:41 -07:00
hashlib.h gh-131876: Revert "gh-131876: extract _hashlib helpers into a separate directory (#136995) (#137307) 2025-08-01 10:45:40 -07:00
hmacmodule.c gh-138342: Use a common utility for visiting an object's type (GH-138343) 2025-09-01 16:20:33 +00:00
itertoolsmodule.c GH-135763: AC: Use `Py_ssize_t(allow_negative=False)` (#138394) 2025-09-02 21:29:05 +01:00
ld_so_aix.in
main.c gh-108512: Add and use new replacements for PySys_GetObject() (GH-111035) 2025-05-28 20:11:09 +03:00
makesetup gh-116943: Ensure makesetup does not choke on missing EOL in Setup.* files (#139100) 2025-09-18 09:25:01 +00:00
makexp_aix
mathmodule.c Revert gh-139075. The sumprod fix needs more work. (gh-139092) 2025-09-18 02:05:27 -05:00
md5module.c gh-138342: Use a common utility for visiting an object's type (GH-138343) 2025-09-01 16:20:33 +00:00
mmapmodule.c gh-129813, PEP 782: Use PyBytesWriter in socket and mmap (#138831) 2025-09-13 18:31:26 +02:00
overlapped.c
posixmodule.c gh-138712: Add os.NODEV (GH-138728) 2025-09-15 14:36:32 +00:00
posixmodule.h
pwdmodule.c GH-137623: Use an AC decorator for docstring line length enforcement (#137690) 2025-08-18 18:29:00 +01:00
pyexpat.c GH-137623: Use an AC decorator for docstring line length enforcement (#137690) 2025-08-18 18:29:00 +01:00
readline.c GH-137623: Use an AC decorator for docstring line length enforcement (#137690) 2025-08-18 18:29:00 +01:00
README
resource.c gh-137512: Add new constants in the resource module (GH-137513) 2025-08-19 08:52:45 +02:00
rotatingtree.c
rotatingtree.h
selectmodule.c gh-116946: add Py_TPFLAGS_IMMUTABLETYPE to select.poll and select.epoll (#138340) 2025-09-02 17:53:44 +00:00
Setup
Setup.bootstrap.in gh-136421: Load _datetime static types during interpreter initialization (GH-136583) 2025-07-21 13:47:26 -04:00
Setup.stdlib.in gh-137210: Add a struct, slot & function for checking an extension's ABI (GH-137212) 2025-09-05 16:23:18 +02:00
sha1module.c gh-138342: Use a common utility for visiting an object's type (GH-138343) 2025-09-01 16:20:33 +00:00
sha2module.c gh-138342: Use a common utility for visiting an object's type (GH-138343) 2025-09-01 16:20:33 +00:00
sha3module.c gh-129813, PEP 782: Use PyBytesWriter in _sha3 (#138923) 2025-09-15 22:53:03 +02:00
signalmodule.c gh-137490: Fix signal.sigwaitinfo() on NetBSD (GH-137523) 2025-09-15 19:20:31 +03:00
socketmodule.c gh-129813, PEP 782: Use PyBytesWriter in _socket (#139097) 2025-09-18 11:20:56 +02:00
socketmodule.h gh-86819: Add ISO-TP CAN socket constants (#23794) 2025-09-17 17:18:04 +00:00
symtablemodule.c
syslogmodule.c gh-116738: Make syslog module thread-safe (#136760) 2025-07-21 09:24:42 -07:00
termios.c GH-137623: Use an AC decorator for docstring line length enforcement (#137690) 2025-08-18 18:29:00 +01:00
timemodule.c gh-134771: Fix time_clockid_converter() on Cygwin (#134772) 2025-05-29 19:35:53 +02:00
tkappinit.c
tkinter.h
unicodedata.c closes gh-138706: update Unicode to 17.0.0 (#138719) 2025-09-11 09:58:39 -07:00
unicodedata_db.h closes gh-138706: update Unicode to 17.0.0 (#138719) 2025-09-11 09:58:39 -07:00
unicodename_db.h closes gh-138706: update Unicode to 17.0.0 (#138719) 2025-09-11 09:58:39 -07:00
winreparse.h
xxlimited.c gh-134160: Use PyModuleDef.m_free in the example module xxlimited (GH-135174) 2025-06-06 14:08:58 +00:00
xxlimited_35.c
xxmodule.c
xxsubtype.c
zlibmodule.c gh-129813, PEP 782: Use PyBytesWriter in lzma and zlib (#138832) 2025-09-13 19:27:04 +02:00

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