https://github.com/python/cpython/commit/fa9519f8b2e109de3c5a37d85a6eadbc9537cc48
commit: fa9519f8b2e109de3c5a37d85a6eadbc9537cc48
branch: main
author: dgpb <[email protected]>
committer: gpshead <[email protected]>
date: 2025-11-28T09:51:48-08:00
summary:

gh-142025: Add c-analyzer include for pyexpat.c (GH-142026)


Co-authored-by: Gregory P. Smith <[email protected]>

files:
M Tools/c-analyzer/cpython/_parser.py

diff --git a/Tools/c-analyzer/cpython/_parser.py 
b/Tools/c-analyzer/cpython/_parser.py
index d348a99fff7a11..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,6 +128,7 @@ 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'),
 
     # possible system-installed headers, just in case

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to