Skip to content

c-analyzer: bump MAX_SIZES for Modules/clinic/_testclinic.c.h #148775

@ashm-dev

Description

@ashm-dev

make check-c-globals fails on main because Modules/clinic/_testclinic.c.h has outgrown its MAX_SIZES limit (120_000) in Tools/c-analyzer/cpython/_parser.py.

RuntimeError:
too much text, try to increase MAX_SIZES[MAXTEXT] in cpython/_parser.py
/…/Modules/clinic/_testclinic.c.h starting at line 288 to 4597
has code with length 120058 greater than 120000

The file is auto-generated by Argument Clinic and has grown since the limit was last set in 99e2c5e. Suggest bumping to 200_000.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagedThe issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions