Repository navigation
Support complex (float/double) types in array.array and memoryview #146151
Copy link
Copy link
Closed
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-featureA feature request or enhancementA feature request or enhancement
Description
Activity
- addedtype-featureA feature request or enhancementA feature request or enhancementextension-modulesC modules in the Modules dirC modules in the Modules dir
on Mar 19, 2026 If this is supported in the struct module, there is no reasons to not support it in
array.arrayandmemoryview.- changed the title
[-]Support complex (float/double) types in the array module[/-][+]Support complex (float/double) types in array.array and memoryview[/+]on Mar 19, 2026 BTW, currently the lack of support for 'F'/'D' types in the memoryview looks as a documentation error, it references the struct module formatting types.
I merged the two PRs (array and memoryview). I close the issue.
- moved this to Todo in Struct, memoryview and array issues 🏗️
on Jul 13, 2026 - moved this from Todo to Done in Struct, memoryview and array issues 🏗️
on Jul 13, 2026
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-featureA feature request or enhancementA feature request or enhancement
Projects
- StatusShow more project fieldsDone
Currently, we have support for this in the struct and the ctypes modules, working rather with heterogeneous binary data. Lets add these types to the array module as well ('F'/'D' type codes).
I think this feature can be available unconditionally, like for the struct module.
Linked PRs