Closed
Description
Feature or enhancement
Has this already been discussed elsewhere?
I have already discussed this feature proposal on Discourse
Links to previous discussion of this feature:
- [C API] Convert a few stdlib extensions to the limited C API (PEP 384) #85283
- gh-85283: Extending Argument Clinic to support to use the limited C API. #26080
Proposal:
I propose adding support for the limited C API to Argument Clinic. Since Argument Clinic supports a wide diversity of parameter types and object types, I propose to add the support incrementally (step by step).
The final goal is to restrict some stdlib C extensions to the limited C API.
Linked PRs
- gh-108494: Argument Clinic partial supports of Limited C API #108495
- gh-108494: AC supports pos-only args in limited C API #108498
- gh-108494: AC: change parse_file() API #108504
- gh-108494: Fix AC limited C API for kwargs #108516
- gh-108494: Argument Clinic: fix support of Limited C API #108536
- gh-108494: Argument Clinic: fix option group for Limited C API #108574
- gh-108494: Argument clinic: Improve the
parse_file()
API #108575 - gh-108494: Argument Clinic: Document how to generate code that uses the limited C API #108584
- gh-108494: Build _testclinic_limited on Windows #108589
- gh-108494: Don't build _testclinic_limited with TraceRefs #108608
- gh-108494: Argument Clinic: inline parsing code for positional-only parameters in the limited C API #108622
- gh-108494: Document how to add a project in PCbuild/readme.txt #110077
- [3.12] gh-108494: Document how to add a project in PCbuild/readme.txt (GH-110077) #110230
- [3.11] gh-108494: Document how to add a project in PCbuild/readme.txt (#110077) #110232
- gh-108494: Fix Argument Clinic LIMITED_CAPI_REGEX #116610