From 1e6214dbd6a980b47123229aefd60bb2c9341b53 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Tue, 8 Feb 2022 11:42:17 -0700 Subject: [PATCH] bpo-45952: Get the C analyzer tool working again. (gh-31219) https://bugs.python.org/issue45952 --- Tools/c-analyzer/cpython/_parser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tools/c-analyzer/cpython/_parser.py b/Tools/c-analyzer/cpython/_parser.py index 90b470c8196..752f1afe9fe 100644 --- a/Tools/c-analyzer/cpython/_parser.py +++ b/Tools/c-analyzer/cpython/_parser.py @@ -171,6 +171,7 @@ def clean_lines(text): Objects/stringlib/unicode_format.h Py_BUILD_CORE 1 Python/ceval_gil.h Py_BUILD_CORE 1 Python/condvar.h Py_BUILD_CORE 1 +Modules/getpath_noop.c Py_BUILD_CORE 1 Modules/_json.c Py_BUILD_CORE_BUILTIN 1 Modules/_pickle.c Py_BUILD_CORE_BUILTIN 1 @@ -232,6 +233,7 @@ def clean_lines(text): # implied include of Include/**/*.h _POSIX_THREADS 1 +Include/**/*.h HAVE_PTHREAD_H 1 # from Makefile Modules/getpath.c PYTHONPATH 1 @@ -239,6 +241,7 @@ def clean_lines(text): Modules/getpath.c EXEC_PREFIX ... Modules/getpath.c VERSION ... Modules/getpath.c VPATH ... +Modules/getpath.c PLATLIBDIR ... # from Modules/_sha3/sha3module.c Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c PLATFORM_BYTE_ORDER 4321 # force big-endian