FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.15] Use _testlimitedcapi in test_free_threading.test_capi (#158935) by vstinner · Pull Request #159146 · python/cpython · GitHub

Repository navigation

[3.15] Use _testlimitedcapi in test_free_threading.test_capi (#158935) - #159146

Merged
vstinner merged 1 commit into
python:3.15from
vstinner:test_ft_capi15
Oct 10, 2026
Merged

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

Conversation

Copy link
Copy Markdown
Member

Replace ctypes with _testlimitedcapi. ctypes is not always available, and _testlimitedcapi is a thin wrapper to the C API.

Skip the test if _testlimitedcapi is missing.

(cherry picked from commit 1818fba)

Replace ctypes with _testlimitedcapi. ctypes is not always available,
and _testlimitedcapi is a thin wrapper to the C API.

Skip the test if _testlimitedcapi is missing.

(cherry picked from commit 1818fba)
bedevere-app Bot added awaiting core review tests Tests in the Lib/test dir labels Oct 10, 2026
vstinner added the needs backport to 3.14 bugs and security fixes label Oct 10, 2026
vstinner enabled auto-merge (squash) October 10, 2026 20:36
vstinner merged commit c777fe5 into python:3.15 Oct 10, 2026
60 checks passed
vstinner deleted the test_ft_capi15 branch October 10, 2026 20:57

Copy link
Copy Markdown

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

bedevere-app Bot commented Oct 10, 2026

Copy link
Copy Markdown

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

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Oct 10, 2026
vstinner added a commit that referenced this pull request Oct 10, 2026
…) (GH-159146) (#159147)

[3.15] Use _testlimitedcapi in test_free_threading.test_capi (GH-158935) (GH-159146)

Use _testlimitedcapi in test_free_threading.test_capi (GH-158935)

Replace ctypes with _testlimitedcapi. ctypes is not always available,
and _testlimitedcapi is a thin wrapper to the C API.

Skip the test if _testlimitedcapi is missing.
(cherry picked from commit c777fe5)


(cherry picked from commit 1818fba)

Co-authored-by: Victor Stinner <vstinner@python.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issue skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL