Skip to content

[3.15] gh-155503: Add more PyType C API tests (#155505) - #159085

Merged
vstinner merged 1 commit into
python:3.15from
vstinner:test_capi15
Oct 9, 2026
Merged

vstinner merged 1 commit into
python:3.15from
vstinner:test_capi15

Conversation

@vstinner

@vstinner vstinner commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Add tests on functions:

  • PyType_ClearCache()
  • PyType_GetFlags()
  • PyType_IsSubtype()
  • PyType_Ready()

Move PyType limited C API tests from _testcapi to _testlimitedcapi. Add a new Modules/_testlimitedcapi/type.c file.

(cherry picked from commit 29837a9)

Add tests on functions:

* PyType_ClearCache()
* PyType_GetFlags()
* PyType_IsSubtype()
* PyType_Ready()

Move PyType limited C API tests from _testcapi to _testlimitedcapi.
Add a new Modules/_testlimitedcapi/type.c file.

(cherry picked from commit 29837a9)
@vstinner
vstinner enabled auto-merge (squash) October 9, 2026 20:09
@vstinner
vstinner merged commit 18c0067 into python:3.15 Oct 9, 2026
56 checks passed
@vstinner
vstinner deleted the test_capi15 branch October 9, 2026 20:33
@bedevere-app

bedevere-app Bot commented Oct 9, 2026

Copy link
Copy Markdown

GH-159089 is a backport of this pull request to the 3.14 branch.

vstinner added a commit that referenced this pull request Oct 9, 2026
…59089)

[3.15] gh-155503: Add more PyType C API tests (#155505) (#159085)

gh-155503: Add more PyType C API tests (#155505)

Add tests on functions:

* PyType_ClearCache()
* PyType_GetFlags()
* PyType_IsSubtype()
* PyType_Ready()

Move PyType limited C API tests from _testcapi to _testlimitedcapi.
Add a new Modules/_testlimitedcapi/type.c file.

(cherry picked from commit 29837a9)
(cherry picked from commit 18c0067)
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.

1 participant