]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-128156: Guard use of `ffi_type_complex_double` on macOS system libffi (GH-128680)
authorPetr Viktorin <encukou@gmail.com>
Tue, 21 Jan 2025 09:59:18 +0000 (10:59 +0100)
committerGitHub <noreply@github.com>
Tue, 21 Jan 2025 09:59:18 +0000 (10:59 +0100)
commitd3b1bb228c951f8245f36ee28d9b175786522730
tree8061d2aa84e492a60496465d82e3c0f7247d617c
parent7239da75592081b6e8d0917a2cd2bf19907c8165
gh-128156: Guard use of `ffi_type_complex_double` on macOS system libffi (GH-128680)

* Determine ffi complex support at runtime
* Also, generate SIMPLE_TYPE_CHARS once at runtime
Doc/library/ctypes.rst
Lib/test/test_ctypes/test_c_simple_type_meta.py
Misc/NEWS.d/next/Library/2025-01-09-16-20-34.gh-issue-128156.GfObBq.rst [new file with mode: 0644]
Modules/_ctypes/_ctypes.c
Modules/_ctypes/cfield.c
Modules/_ctypes/ctypes.h
Tools/c-analyzer/cpython/globals-to-fix.tsv