Skip to content

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 [email protected]

_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 <[email protected]>
@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 <[email protected]>
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