diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2022-05-03 19:18:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 19:18:27 (GMT) |
commit | 456cd513e360ccd17e51ae3711ec48976b1be0c0 (patch) | |
tree | 7d168a0aca4d353922828ae2e205f1e8d157598e /Tools/c-analyzer/cpython/_parser.py | |
parent | f03d3dd9afd5a2df8ffb6db80c0bb45f2d8909f5 (diff) | |
download | cpython-456cd513e360ccd17e51ae3711ec48976b1be0c0.zip cpython-456cd513e360ccd17e51ae3711ec48976b1be0c0.tar.gz cpython-456cd513e360ccd17e51ae3711ec48976b1be0c0.tar.bz2 |
gh-81057: Get the c-analyzer tool working again. (gh-92246)
Diffstat (limited to 'Tools/c-analyzer/cpython/_parser.py')
-rw-r--r-- | Tools/c-analyzer/cpython/_parser.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Tools/c-analyzer/cpython/_parser.py b/Tools/c-analyzer/cpython/_parser.py index 1900009..eaad727 100644 --- a/Tools/c-analyzer/cpython/_parser.py +++ b/Tools/c-analyzer/cpython/_parser.py @@ -46,6 +46,7 @@ def clean_lines(text): @end=sh@ ''' +# XXX Handle these. EXCLUDED = clean_lines(''' # @begin=conf@ @@ -69,6 +70,7 @@ Python/dynload_aix.c # sys/ldr.h Python/dynload_dl.c # dl.h Python/dynload_hpux.c # dl.h Python/thread_pthread.h +Python/emscripten_signal.c # only huge constants (safe but parsing is slow) Modules/_blake2/impl/blake2-kat.h @@ -202,6 +204,7 @@ Include/cpython/sysmodule.h Py_CPYTHON_SYSMODULE_H 1 Include/cpython/traceback.h Py_CPYTHON_TRACEBACK_H 1 Include/cpython/tupleobject.h Py_CPYTHON_TUPLEOBJECT_H 1 Include/cpython/unicodeobject.h Py_CPYTHON_UNICODEOBJECT_H 1 +Include/internal/pycore_code.h SIZEOF_VOID_P 8 # implied include of pyport.h Include/**/*.h PyAPI_DATA(RTYPE) extern RTYPE @@ -297,8 +300,8 @@ MAX_SIZES = { _abs('Objects/stringlib/unicode_format.h'): (10_000, 400), _abs('Objects/typeobject.c'): (20_000, 200), _abs('Python/compile.c'): (20_000, 500), - _abs('Python/pylifecycle.c'): (200_000, 5000), - _abs('Python/pystate.c'): (200_000, 5000), + _abs('Python/pylifecycle.c'): (500_000, 5000), + _abs('Python/pystate.c'): (500_000, 5000), } |