| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Replace ctypes with _testlimitedcapi. ctypes is not always available, and _testlimitedcapi is a thin wrapper to the C API.
|
test_free_threading.test_capi failed on AMD64 FreeBSD15 NoGIL 3.x: https://buildbot.python.org/#/builders/2364/builds/1. It failed because the _ctypes extension module is missing. That's why I proposed this change. Note: _testlimitedcapi.PyImport_AddModuleRef also exists in Python 3.14. |
Sorry, something went wrong.
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
Sorry, something went wrong.
|
Sorry, @vstinner, I could not cleanly backport this to 3.15 due to a conflict. Please backport manually with cherry_picker, see the devguide for more information. cherry_picker 1818fba7e737320b4241fdde095146a4c52c0e63 3.15 |
Sorry, something went wrong.
|
Sorry, @vstinner, I could not cleanly backport this to 3.14 due to a conflict. Please backport manually with cherry_picker, see the devguide for more information. cherry_picker 1818fba7e737320b4241fdde095146a4c52c0e63 3.14 |
Sorry, something went wrong.
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)
|
GH-159146 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
…) (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>
| Back | FazBrowse Home | New Git URL |
Replace ctypes with _testlimitedcapi. ctypes is not always available, and _testlimitedcapi is a thin wrapper to the C API.