]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-125206: Bug in ctypes with old libffi is fixed (#125322)
authorMikhail Efimov <efimov.mikhail@gmail.com>
Tue, 15 Oct 2024 16:17:10 +0000 (19:17 +0300)
committerGitHub <noreply@github.com>
Tue, 15 Oct 2024 16:17:10 +0000 (16:17 +0000)
commitaac89b54c5ee03c4d64fbdfbb6ea3001e26aa83a
treeaa230ae67d67afd54720d2e187a8c77e0f21c30e
parent54c6fcbefd33a8d8bf8c004cf1aad3be3d37b933
gh-125206: Bug in ctypes with old libffi is fixed (#125322)

Workaround for old libffi versions is added.
Module ctypes now supports C11 double complex only with libffi >= 3.3.0.

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Lib/test/test_ctypes/test_libc.py
Misc/NEWS.d/next/Library/2024-10-11-18-03-05.gh-issue-125206.pWRRK6.rst [new file with mode: 0644]
Modules/_ctypes/_ctypes.c
Modules/_ctypes/_ctypes_test.c
Modules/_ctypes/callproc.c
Modules/_ctypes/cfield.c
Modules/_ctypes/ctypes.h
configure
configure.ac
pyconfig.h.in