cpython/Modules
Stan Ulbrych cb3a838553
[3.13] gh-158876: Update bundled Expat to 2.9.0 (GH-158881) (#160257)
(cherry picked from commit 0071fb5111)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: T. Wouters <thomas@python.org>
2026-10-25 06:49:20 -07:00
..
_blake2 [3.13] gh-134696: align OpenSSL and HACL*-based hash functions constructors AC signatures (GH-134713) (#134962) 2025-06-01 10:27:02 +02:00
_ctypes [3.13] gh-156933: Widen narrow integer results in ctypes callbacks (GH-157045) (GH-158297) 2026-09-27 19:04:34 +00:00
_decimal [3.13] gh-155052: Fix docstring of decimal.Context.copy (GH-155062) (GH-155083) (GH-155088) 2026-08-02 15:17:50 +00:00
_hacl
_io [3.13] gh-157048: check for buffer errors before mutating in BytesIO.__init__ (GH-157049) (#157070) 2026-09-07 10:04:22 -06:00
_multiprocessing [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +00:00
_sqlite [3.13] gh-155952: Fix <unrepresentable> Argument Clinic defaults in several signatures (#156170) 2026-08-21 13:25:13 +01:00
_sre [3.13] gh-156444: Fix a negated character set with IGNORECASE and LOCALE (GH-156445) (GH-156458) 2026-08-27 11:40:52 +00:00
_ssl [3.13] gh-160040: Distrust compromised eMudhra intermediate CA keys (CVE-2026-115557) (GH-160042) (#160570) 2026-10-24 12:28:52 -07:00
_testcapi [3.13] gh-152132: Test Py_CompileString() in test_capi.test_run (#153470) (#153473) (#153533) 2026-07-10 22:25:22 +00:00
_testinternalcapi
_testlimitedcapi [3.13] gh-158102: Add tests for the slice C API (GH-158120) (GH-158293) 2026-09-29 15:38:46 +03:00
_xxtestfuzz [3.13] Add PyExc_OverflowError to the list of possible exceptions in fuzz_ast_literal_eval fuzzer (GH-145429) (#158083) 2026-09-24 16:57:15 +03:00
cjkcodecs [3.13] gh-157325: Fix an OOB read in the hz incremental decoder on a trailing ~ (gh-157333) (#158161) 2026-09-25 15:58:15 +01:00
clinic [3.13] gh-156821: Fix inaccuracies in the xml.parsers.expat documentation (GH-156822) (GH-156854) 2026-09-03 00:08:49 +03:00
expat [3.13] gh-158876: Update bundled Expat to 2.9.0 (GH-158881) (#160257) 2026-10-25 06:49:20 -07:00
_abc.c [3.13] gh-153772: Make abc isinstance() tolerate instances without __class__ (GH-154149) (#156543) 2026-08-29 03:33:29 +00:00
_asynciomodule.c [3.13] gh-157301: Fix asyncio event loop hanging on a failed eager task start (#157845) 2026-09-29 23:37:50 +02:00
_bisectmodule.c [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +00:00
_bz2module.c [3.13] gh-150599: Prevent bz2 decompressor reuse after errors (GH-150600) 2026-06-08 10:55:32 +01:00
_codecsmodule.c [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +00:00
_collectionsmodule.c [3.13] gh-152951 - Fix double DECREF when newblock fails during deque.extend calls (GH-152961) (#152973) 2026-07-03 18:08:00 +00:00
_contextvarsmodule.c gh-116322: Add Py_mod_gil module slot (#116882) 2024-05-03 11:30:55 -04:00
_csv.c [3.13] gh-145105: Fix crash in csv.reader with re-entrant iterator (GH-145106) (#148405) 2026-04-11 22:44:45 +00:00
_curses_panel.c [3.13] gh-156946: Unlink a curses panel before dropping its user pointer (GH-156947) (GH-157542) 2026-09-15 08:25:53 +00:00
_cursesmodule.c [3.13] gh-154855: Ask non-ncurses curses for one more character (GH-154870) (GH-156285) 2026-08-23 13:07:20 +00:00
_datetimemodule.c [3.13] Fix a dangling pointer and reference leak in local_timezone_from_timestamp (GH-156598) (#156645) 2026-08-30 11:06:30 +00:00
_dbmmodule.c [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +00:00
_elementtree.c [3.13] gh-83895: Accept input larger than 2 GiB in the C implementation of ElementTree (GH-156746) (GH-156773) 2026-09-01 15:54:25 +00:00
_functoolsmodule.c [3.13] gh-150319: Replace all documentation which says "See PEP 585" (#150325) (#150814) 2026-06-02 22:26:33 +00:00
_gdbmmodule.c [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +00:00
_hashopenssl.c [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +00:00
_heapqmodule.c [3.13] Fix comments for heapq.siftup_max (GH-135359) (#136233) 2025-07-03 10:15:01 +00:00
_interpchannelsmodule.c [3.13] gh-153444: Fix compile warning in Modules/_interpchannelsmodule.c (GH-153445) (#153449) 2026-07-09 16:37:13 +00:00
_interpqueuesmodule.c [3.13] gh-151763: Fix crash in _interpqueues.create on MemoryError (GH-152131) (#152160) 2026-06-25 07:29:31 +00:00
_interpreters_common.h
_interpretersmodule.c [3.13] gh-151126: Fix missing memory errors in _interpretersmodule.c (#153765) 2026-07-15 12:40:54 +00:00
_json.c [3.13] gh-152052: Fix misleading json error for \uXXXX escape at the end of input (GH-152053) (#152285) 2026-06-26 14:11:27 +00:00
_localemodule.c [3.13] gh-155952: Fix <unrepresentable> Argument Clinic defaults in several signatures (#156170) 2026-08-21 13:25:13 +01:00
_lsprof.c [3.13] gh-157639: Fix use-after-free when an external timer re-enters the profiler (GH-157648) (#158118) 2026-09-24 16:29:08 +00:00
_lzmamodule.c [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +00:00
_math.h gh-101678: refactor the math module to use special functions from c11 (GH-101679) 2023-02-09 00:40:52 -08:00
_opcode.c [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +00:00
_operator.c
_pickle.c [3.13] gh-154848: Enforce frame boundaries in the C unpickler (GH-154893) (GH-154982) 2026-07-31 13:47:54 +03:00
_posixsubprocess.c [3.13] gh-151403: Fix use-after-free when an argv item's __fspath__ mutates args (GH-151404) (#151447) 2026-06-13 14:33:13 -07:00
_queuemodule.c [3.13] gh-150319: Replace all documentation which says "See PEP 585" (#150325) (#150814) 2026-06-02 22:26:33 +00:00
_randommodule.c [3.13] Fix a compiler warning in _randommodule.c (GH-141058) (#141064) 2025-11-05 19:08:41 +00:00
_scproxy.c gh-116322: Add Py_mod_gil module slot (#116882) 2024-05-03 11:30:55 -04:00
_ssl.c [3.13] gh-160040: Distrust compromised eMudhra intermediate CA keys (CVE-2026-115557) (GH-160042) (#160570) 2026-10-24 12:28:52 -07:00
_ssl.h GH-103092: isolate _ssl (#104725) 2023-05-22 06:14:48 +05:30
_ssl_data_31.h [3.13] gh-158010: Update OpenSSL in binaries and CI from 3.0 to 3.5 (#158015) 2026-09-28 01:14:19 +02:00
_ssl_data_111.h gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (#105174) 2023-06-01 09:42:18 -07:00
_ssl_data_300.h gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (#105174) 2023-06-01 09:42:18 -07:00
_stat.c [3.13] gh-108765: fix comment about macro definitions in _stat.c post GH-108854 (GH-136027) (#136044) 2025-06-27 15:39:18 +00:00
_statisticsmodule.c gh-116322: Add Py_mod_gil module slot (#116882) 2024-05-03 11:30:55 -04:00
_struct.c [3.13] gh-156939: Fix struct.pack('0p', bytes) (GH-157071) (#157131) 2026-09-07 19:57:45 +00:00
_suggestions.c [3.13] gh-131936: Strengthen check in _suggestions._generate_suggestions (GH-131945) (#131949) 2025-03-31 17:54:20 +00:00
_sysconfig.c gh-116322: Add Py_mod_gil module slot (#116882) 2024-05-03 11:30:55 -04:00
_testbuffer.c gh-116322: Rename PyModule_ExperimentalSetGIL to PyUnstable_Module_SetGIL (GH-118645) 2024-05-06 18:59:36 +02:00
_testcapi_feature_macros.inc
_testcapimodule.c [3.13] gh-154144: Fix false positive from the stdbool.h guard in _testcapimodule.c (GH-154145) (GH-154159) 2026-07-19 15:31:04 +00:00
_testclinic.c [3.13] gh-64502: Fix Argument Clinic support of optional groups with defaults (GH-155191) (GH-155217) 2026-08-05 14:39:17 +03:00
_testclinic_limited.c gh-116322: Rename PyModule_ExperimentalSetGIL to PyUnstable_Module_SetGIL (GH-118645) 2024-05-06 18:59:36 +02:00
_testexternalinspection.c [3.13] gh-130052: Fix search_map_for_section() error handling (GH-132594) (#132598) 2025-04-16 14:21:58 +00:00
_testimportmultiple.c gh-116322: Add Py_mod_gil module slot (#116882) 2024-05-03 11:30:55 -04:00
_testinternalcapi.c [3.13] gh-151126: Fix missing PyErr_NoMemory in testinternalcapi.c (GH-152177) (#152181) 2026-06-25 13:19:26 +03:00
_testlimitedcapi.c [3.13] gh-158102: Add tests for the slice C API (GH-158120) (GH-158293) 2026-09-29 15:38:46 +03:00
_testmultiphase.c [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +00:00
_testsinglephase.c
_threadmodule.c [3.13] gh-154937: Fix _thread._shutdown() racing with _thread.start_joinable_thread on ThreadHandle.ident (GH-155085) (#155125) 2026-08-04 09:27:41 +00:00
_tkinter.c [3.13] gh-157672: Keep Python's signal handlers when Tk is initialized on macOS (GH-157673) (GH-157989) 2026-09-23 11:40:46 +00:00
_tracemalloc.c [3.13] gh-128679: Fix tracemalloc.stop() race conditions (#128897) 2025-01-18 23:39:07 +00:00
_typingmodule.c [3.13] gh-123448: Move _PyNoDefault_Type to the static types array (GH-123449) (#123450) 2024-08-28 18:57:28 -07:00
_uuidmodule.c [3.13] gh-132710: only use stable _uuid.generate_time_safe() to deduce MAC address (GH-132901) (#134704) 2025-08-05 07:56:03 +00:00
_weakref.c [3.13] gh-120974: Make _asyncio._leave_task atomic in the free-threaded build (GH-122139) (#122186) 2024-07-23 17:30:58 +00:00
_winapi.c [3.13] gh-151929: Get machine ID and uptime on Windows in pythoninfo (#152146) (#152187) (#152193) (#152195) 2026-06-25 13:34:27 +00:00
_zoneinfo.c [3.13] gh-156067: Fix two error handling issues in _zoneinfo.load_data() (GH-156068) (#156090) 2026-08-20 09:37:56 +00:00
addrinfo.h gh-95174: WASI: skip missing sockets functions (GH-95179) 2022-07-27 08:19:23 +02:00
arraymodule.c [3.13] gh-153210: Restore accidental array.ArrayType removal (GH-153261) (#153289) 2026-07-08 15:59:28 +00:00
atexitmodule.c [3.13] gh-142881: Fix concurrent and reentrant call of atexit.unregister() (GH-142901) (GH-143722) 2026-01-12 10:05:09 +00:00
binascii.c [3.13] gh-148093: Raise binascii.Error from binascii.a2b_uu() on empty input (GH-149077) (GH-149349) 2026-05-04 10:06:25 +00:00
cmathmodule.c [3.13] gh-155526: Don't check errno in abs(complex) (GH-155527) (#157341) (#157558) 2026-09-24 00:09:46 +02:00
config.c.in gh-104169: Fix test_peg_generator after tokenizer refactoring (#110727) 2023-10-12 09:34:35 +02:00
errnomodule.c gh-116322: Add Py_mod_gil module slot (#116882) 2024-05-03 11:30:55 -04:00
faulthandler.c [3.13] gh-149590: Remove faulthandler_traverse (GH-150023) (#150087) 2026-05-19 15:04:13 +00:00
fcntlmodule.c [3.13] gh-140615: Update docstrings in the fcntl module (GH-140619) (GH-141231) (GH-141232) 2025-11-08 11:50:17 +00:00
gc_weakref.txt Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
gcmodule.c [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +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 gh-106320: Remove private pylifecycle.h functions (#106400) 2023-07-04 09:41:43 +00:00
getnameinfo.c gh-95174: WASI: skip missing sockets functions (GH-95179) 2022-07-27 08:19:23 +02:00
getpath.c [3.13] gh-121103: Put free-threaded libraries in lib/python3.14t (GH-121293) (#121631) 2024-07-11 21:00:28 +00:00
getpath.py gh-151544: Fixes CVE-2026-12003 by removing the fallback to %VPATH%/Modules/Setup.local for discovering sources in getpath.py (GH-151928) 2026-06-22 17:31:25 +01:00
getpath_noop.c [3.13] gh-157142: Fix linking _freeze_module with built-in test modules (GH-157143) (#157150) 2026-09-08 01:53:26 +00:00
grpmodule.c [3.13] gh-126316: Make grp.getgrall() thread-safe: add a mutex (#127055) (#127104) 2024-11-26 12:01:50 +01:00
hashlib.h [3.13] gh-134696: align OpenSSL and HACL*-based hash functions constructors AC signatures (GH-134713) (#134962) 2025-06-01 10:27:02 +02:00
itertoolsmodule.c [3.13] gh-150319: Replace all documentation which says "See PEP 585" (#150325) (#150814) 2026-06-02 22:26:33 +00:00
ld_so_aix.in
main.c [3.13] gh-152132: Fix bugs in Py_RunMain() (GH-153461) (GH-153466) (#153468) 2026-07-10 03:01:57 +02:00
makesetup [3.13] GH-138800: Fix variable substitution in python3.pc for Android (GH-144776) (#155111) 2026-08-03 21:36:40 +08:00
makexp_aix bpo-42087: Remove support for AIX 5.3 and below (GH-22830) 2020-11-16 16:16:10 +01:00
mathmodule.c [3.13] gh-153200: Fix math.isqrt() for int subclasses with overridden comparison operators (GH-153203) (GH-153225) (GH-153226) 2026-07-06 19:11:25 +00:00
md5module.c [3.13] gh-145376: Fix crashes in md5module.c (GH-145422) (#145611) 2026-03-06 22:24:20 +00:00
mmapmodule.c [3.13] gh-157335: Fix out-of-bounds write in mmap.mmap.__setitem__ (#157438) (#158028) 2026-09-23 21:14:26 +00:00
overlapped.c [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +00:00
posixmodule.c [3.13] gh-84419: Fix the execute permissions in os.stat() on Windows (GH-155392) (GH-156631) 2026-08-30 08:12:53 +00:00
posixmodule.h gh-85283: Convert grp extension to the limited C API (#116611) 2024-03-12 00:46:53 +00:00
pwdmodule.c
pyexpat.c [3.13] gh-158876: Update bundled Expat to 2.9.0 (GH-158881) (#160257) 2026-10-25 06:49:20 -07:00
readline.c [3.13] gh-150372: Add missing null check on completer_word_break_characters in readline.c (GH-150251) (GH-150630) 2026-05-31 14:59:05 +03:00
README
resource.c [3.13] gh-137044: Support large limit values in getrlimit() and setrlimit() (GH-137338) (GH-137507) 2025-08-07 09:37:02 +00:00
rotatingtree.c [3.13] gh-116181: Remove Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE in rotatingtree.c (GH-121260) (#121307) 2024-07-03 07:59:26 +00:00
rotatingtree.h bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
selectmodule.c [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +00:00
Setup gh-76785: Rename _xxsubinterpreters to _interpreters (gh-117791) 2024-04-24 16:18:24 +00:00
Setup.bootstrap.in gh-110721: Remove unused code from suggestions.c after moving PyErr_Display to use the traceback module (#113712) 2024-01-08 15:10:45 +00:00
Setup.stdlib.in [3.13] gh-158102: Add tests for the slice C API (GH-158120) (GH-158293) 2026-09-29 15:38:46 +03:00
sha1module.c [3.13] gh-134696: align OpenSSL and HACL*-based hash functions constructors AC signatures (GH-134713) (#134962) 2025-06-01 10:27:02 +02:00
sha2module.c [3.13] gh-134696: align OpenSSL and HACL*-based hash functions constructors AC signatures (GH-134713) (#134962) 2025-06-01 10:27:02 +02:00
sha3module.c [3.13] gh-155835: fix digest_size and block_size data races on SHA-3 objects (GH-155838) (#157041) 2026-09-29 21:57:07 +00:00
signalmodule.c [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +00:00
socketmodule.c [3.13] gh-155336: Preserve resolver errors from gethostby*_r() (GH-155337) (GH-155473) 2026-08-11 08:43:39 +00:00
socketmodule.h [3.13] gh-132429: Fix support of Bluetooth sockets on NetBSD and DragonFly BSD (GH-132431) (GH-132458) 2025-04-13 01:22:41 +03:00
symtablemodule.c [3.13] gh-139748: fix leaks in AC error paths when using unicode FS-b… (#139792) 2025-10-08 22:21:49 +05:30
syslogmodule.c [3.13] gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) (GH-130556) 2025-02-25 22:50:26 +00:00
termios.c [3.13] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) (GH-150473) (GH-150526) 2026-05-27 18:06:50 +00:00
timemodule.c [3.13] gh-155787: Harmonize parameter names in the time module documentation and docstrings (GH-155790) (GH-155807) 2026-08-15 08:52:22 +03:00
tkappinit.c [3.13] gh-157672: Keep Python's signal handlers when Tk is initialized on macOS (GH-157673) (GH-157989) 2026-09-23 11:40:46 +00:00
tkinter.h [3.13] gh-157672: Keep Python's signal handlers when Tk is initialized on macOS (GH-157673) (GH-157989) 2026-09-23 11:40:46 +00:00
unicodedata.c [3.13] gh-149079: Fix O(n^2) canonical ordering in unicodedata.normalize() (GH-149080) (#150780) 2026-06-02 16:12:42 +00:00
unicodedata_db.h [3.13] gh-155292: Don't consider Unicode codepoint attributes outside RFC 3454 (GH-155293) (GH-156020) (GH-156922) 2026-09-09 16:28:35 +02:00
unicodename_db.h [3.13] gh-155292: Don't consider Unicode codepoint attributes outside RFC 3454 (GH-155293) (GH-156020) (GH-156922) 2026-09-09 16:28:35 +02:00
winreparse.h bpo-31512: Add non-elevated symlink support for Windows (GH-3652) 2019-04-09 11:19:46 -07:00
xxlimited.c [3.13] gh-134160: Use PyModuleDef.m_free in the example module xxlimited (GH-135174) (GH-135214) 2025-06-07 11:03:32 +02:00
xxlimited_35.c gh-116322: Add Py_mod_gil module slot (#116882) 2024-05-03 11:30:55 -04:00
xxmodule.c [3.13] gh-122040: reword Modules/xxmodule.c module-level comment (GH-132201) (#132207) 2025-04-07 08:27:34 +00:00
xxsubtype.c
zlibmodule.c [3.13] gh-158169: Clear zlib.Decompress.unconsumed_tail at end of stream (GH-158177) (GH-158229) (#158243) 2026-09-26 16:42:29 +00:00

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