]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] Exclude _testclinic_depr.c.h from c-analyzer (GH-137086) (#137089)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 24 Jul 2025 21:36:11 +0000 (23:36 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Jul 2025 21:36:11 +0000 (00:36 +0300)
commitd996cb6700ebc93b6b5f4dbe0a7e31875aa861f9
treec0e20ffbc8c26379f527f2a73b99be033d448236
parentb7168d216bf5c0c8d7438ee6581df0457e80f2fa
[3.14] Exclude _testclinic_depr.c.h from c-analyzer (GH-137086) (#137089)

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.

(cherry picked from commit d5e75c07682864e9d265e11f5e4730147e7d4842)

Co-authored-by: Zachary Ware <zach@python.org>
Tools/c-analyzer/cpython/_parser.py