Open markshannon opened 6 months ago
Based on this comment in Tools/c-analyzer/c_parser/parser/__init__.py
:
# We use defaults that cover most files. Files with bigger declarations
# are covered elsewhere (MAX_SIZES in cpython/_parser.py).
I'm guessing it might be necessary to add the file to the MAX_SIZES
dictionary:
https://github.com/python/cpython/blob/78fcde039a33d8463e34356d5462fecee0f2831a/Tools/c-analyzer/cpython/_parser.py#L307-L345
edit: i.e. something like this seems to work for me:
_abs('Python/optimizer.c'): (100_000, 5_000),
@tomasr8 Thanks for the workaround.
Bug report
Bug description:
Failing job: https://github.com/python/cpython/actions/runs/7555944526/job/20571965088?pr=114142
Problematic input:
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response