]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Exclude _testclinic_depr.c.h from c-analyzer (GH-137086)
authorZachary Ware <zach@python.org>
Thu, 24 Jul 2025 20:50:01 +0000 (15:50 -0500)
committerGitHub <noreply@github.com>
Thu, 24 Jul 2025 20:50:01 +0000 (15:50 -0500)
commitd5e75c07682864e9d265e11f5e4730147e7d4842
treecec949dc92a4fff2e66330d5070d1abae359472f
parent9a6b60af409d02468b935c569a4f49e88c399c4e
Exclude _testclinic_depr.c.h from c-analyzer (GH-137086)

_testclinic.c mocks out PY_VERSION_HEX to 3.8 before including
_testclinic_depr.c.h to avoid the errors the preprocessor would
otherwise throw due to the deprecation feature it is testing.

Also partially revert 74e2acddf68b31ce16e8e0067b1df8c7b67bd6c8:
this restores Modules/_testclinic.c to match the same file in the 3.14
branch.
Lib/test/test_clinic.py
Modules/_testclinic.c
Modules/clinic/_testclinic_depr.c.h
Tools/c-analyzer/cpython/_parser.py