From 58331be742bb9799ae982c6dcc11ae2b4693e866 Mon Sep 17 00:00:00 2001 From: "d.grigonis" Date: Fri, 28 Nov 2025 01:26:45 +0200 Subject: [PATCH 1/2] line --- Tools/c-analyzer/cpython/_parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/c-analyzer/cpython/_parser.py b/Tools/c-analyzer/cpython/_parser.py index d348a99fff7a11..a9ea836229fb25 100644 --- a/Tools/c-analyzer/cpython/_parser.py +++ b/Tools/c-analyzer/cpython/_parser.py @@ -126,6 +126,7 @@ def format_tsv_lines(lines): ('Modules/blake2module.c', 'Modules/_hacl/include'), ('Modules/hmacmodule.c', 'Modules/_hacl/include'), ('Objects/stringlib/*.h', 'Objects'), + ('Modules/pyexpat.c', './Modules/expat'), # possible system-installed headers, just in case ('Modules/_tkinter.c', '/usr/include/tcl8.6'), From c0feee20405e6d41de8500387649f5bb35eedc07 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" <68491+gpshead@users.noreply.github.com> Date: Fri, 28 Nov 2025 08:57:02 -0800 Subject: [PATCH 2/2] reorder modules per review --- Tools/c-analyzer/cpython/_parser.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tools/c-analyzer/cpython/_parser.py b/Tools/c-analyzer/cpython/_parser.py index a9ea836229fb25..6332dec3aefe4f 100644 --- a/Tools/c-analyzer/cpython/_parser.py +++ b/Tools/c-analyzer/cpython/_parser.py @@ -114,7 +114,10 @@ def format_tsv_lines(lines): ('*', './Include/internal/mimalloc'), ('Modules/_decimal/**/*.c', 'Modules/_decimal/libmpdec'), + ('Modules/_elementtree.c', 'Modules/expat'), + ('Modules/pyexpat.c', 'Modules/expat'), + ('Modules/_hacl/*.c', 'Modules/_hacl/include'), ('Modules/_hacl/*.c', 'Modules/_hacl/'), ('Modules/_hacl/*.h', 'Modules/_hacl/include'), @@ -125,8 +128,8 @@ def format_tsv_lines(lines): ('Modules/sha3module.c', 'Modules/_hacl/include'), ('Modules/blake2module.c', 'Modules/_hacl/include'), ('Modules/hmacmodule.c', 'Modules/_hacl/include'), + ('Objects/stringlib/*.h', 'Objects'), - ('Modules/pyexpat.c', './Modules/expat'), # possible system-installed headers, just in case ('Modules/_tkinter.c', '/usr/include/tcl8.6'),