]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-61103: Add What's New entry for complex types in ctypes (GH-129129)
authorPetr Viktorin <encukou@gmail.com>
Wed, 22 Jan 2025 09:59:20 +0000 (10:59 +0100)
committerGitHub <noreply@github.com>
Wed, 22 Jan 2025 09:59:20 +0000 (10:59 +0100)
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Doc/whatsnew/3.14.rst

index 0dcecd4944f2f662f9df736278bd40b7f17f51e5..5652a63ce8d7017d0fe076e1313f01fe78803857 100644 (file)
@@ -351,6 +351,12 @@ ctypes
   callback functions that are passed dynamically-sized buffers.
   (Contributed by Rian Hunter in :gh:`112018`.)
 
+* Complex types, :class:`~ctypes.c_float_complex`,
+  :class:`~ctypes.c_double_complex` and :class:`~ctypes.c_longdouble_complex`,
+  are now available if both the compiler and the ``libffi`` library support
+  complex C types.
+  (Contributed by Sergey B Kirpichev in :gh:`61103`).
+
 
 datetime
 --------