[Python-checkins] bpo-45952: Get the C analyzer tool working again. (gh-31219)
ericsnowcurrently
webhook-mailer at python.org
Tue Feb 8 13:42:27 EST 2022
https://github.com/python/cpython/commit/1e6214dbd6a980b47123229aefd60bb2c9341b53
commit: 1e6214dbd6a980b47123229aefd60bb2c9341b53
branch: main
author: Eric Snow <ericsnowcurrently at gmail.com>
committer: ericsnowcurrently <ericsnowcurrently at gmail.com>
date: 2022-02-08T11:42:17-07:00
summary:
bpo-45952: Get the C analyzer tool working again. (gh-31219)
https://bugs.python.org/issue45952
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 90b470c8196c0..752f1afe9feb0 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 <unistd.h>
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
More information about the Python-checkins
mailing list