Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.14] Exclude _testclinic_depr.c.h from c-analyzer (GH-137086)#137089

Merged
hugovk merged 1 commit intopython:3.14python/cpython:3.14from
miss-islington:backport-d5e75c0-3.14miss-islington/cpython:backport-d5e75c0-3.14Copy head branch name to clipboard
Jul 24, 2025
Merged

[3.14] Exclude _testclinic_depr.c.h from c-analyzer (GH-137086)#137089
hugovk merged 1 commit intopython:3.14python/cpython:3.14from
miss-islington:backport-d5e75c0-3.14miss-islington/cpython:backport-d5e75c0-3.14Copy head branch name to clipboard

Conversation

@miss-islington
Copy link
Contributor

_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 74e2acd:
this restores Modules/_testclinic.c to match the same file in the 3.14
branch.
(cherry picked from commit d5e75c0)

Co-authored-by: Zachary Ware zach@python.org

_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 74e2acd:
this restores Modules/_testclinic.c to match the same file in the 3.14
branch.
(cherry picked from commit d5e75c0)

Co-authored-by: Zachary Ware <zach@python.org>
@zware
Copy link
Member

zware commented Jul 24, 2025

@hugovk This should clean up CI for the 3.14 branch. Please note that the commit message should be amended from what was merged into main; the "partially revert ..." bit is not true for this branch.

@hugovk hugovk merged commit d996cb6 into python:3.14 Jul 24, 2025
51 checks passed
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
…python#137089)

Exclude _testclinic_depr.c.h from c-analyzer (pythonGH-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 d5e75c0)

Co-authored-by: Zachary Ware <zach@python.org>
@miss-islington miss-islington deleted the backport-d5e75c0-3.14 branch January 2, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.