]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-108494: Argument Clinic partial supports of Limited C API (#108495)
authorVictor Stinner <vstinner@python.org>
Fri, 25 Aug 2023 21:22:08 +0000 (23:22 +0200)
committerGitHub <noreply@github.com>
Fri, 25 Aug 2023 21:22:08 +0000 (23:22 +0200)
commit1dd951097728d735d46a602fc43285d35b7b32cb
tree5becd43c129047a61de332ffb60994a4a2b20fbe
parent4eae1e53425d3a816a26760f28d128a4f05c1da4
gh-108494: Argument Clinic partial supports of Limited C API (#108495)

Argument Clinic now has a partial support of the
Limited API:

* Add --limited option to clinic.c.
* Add '_testclinic_limited' extension which is built with
  the limited C API version 3.13.
* For now, hardcode in clinic.py that "_testclinic_limited.c" targets
  the limited C API.
Lib/test/test_clinic.py
Misc/NEWS.d/next/Tools-Demos/2023-08-25-22-40-12.gh-issue-108494.4RbDdu.rst [new file with mode: 0644]
Modules/Setup.stdlib.in
Modules/_testclinic_limited.c [new file with mode: 0644]
Modules/clinic/_testclinic_limited.c.h [new file with mode: 0644]
Tools/build/generate_stdlib_module_names.py
Tools/clinic/clinic.py