Skip to content

Support complex (float/double) types in array.array and memoryview #146151

@skirpichev

Description

@skirpichev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions