]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-153903: Fix ctypes wrap_dll_function() with string annotations (#154042)
authorVictor Stinner <vstinner@python.org>
Sun, 19 Jul 2026 10:04:40 +0000 (12:04 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Jul 2026 10:04:40 +0000 (12:04 +0200)
commitd5eb31209699ef59857780a5530191031ee3f796
treebeab7b972c97249a860f16a4647fb1f62315f47a
parentcae8ec822b6e5f93df28897255984c2c16fb64a9
gh-153903: Fix ctypes wrap_dll_function() with string annotations (#154042)

Call get_annotations() with eval_str=True.
Lib/ctypes/util.py
Lib/test/test_ctypes/test_funcptr.py
Lib/test/test_ctypes/wrap_str_ann.py [new file with mode: 0644]