]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-153903: Use `@ctypes.util.wrap_dll_function()` with pythonapi (#154030)
authorVictor Stinner <vstinner@python.org>
Sun, 19 Jul 2026 12:04:30 +0000 (14:04 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Jul 2026 12:04:30 +0000 (12:04 +0000)
commit84897d2e30b1b478f3de4fb9a7cd41fc2363da80
tree95ac807b7fe2e99ce80bdddb8e92a4570fa0e509
parent5380589615515fa9e2c48820073a3fd8e32a930d
gh-153903: Use `@ctypes.util.wrap_dll_function()` with pythonapi (#154030)

Use the `@ctypes.util.wrap_dll_function()` decorator with
ctypes.pythonapi to wrap Python C API functions in the test suite.
Lib/test/test_capi/test_misc.py
Lib/test/test_code.py
Lib/test/test_ctypes/test_refcounts.py
Lib/test/test_exceptions.py
Lib/test/test_frame.py
Lib/test/test_free_threading/test_capi.py
Lib/test/test_free_threading/test_code.py
Lib/test/test_gc.py
Lib/test/test_threading.py