Skip to content

structured void dtypes #92

Open
@jorenham

Description

@jorenham

The void scalar type should be made generic, with parameters bound to the (optional) nested field dtypes (.fields), and perhaps also its shape (.shape).

The fields type parameter should be bound to Mapping[str, tuple[dtype, int] | tuple[dtype, int, str]] | None, so that a TypedDict can be used to precisely specify the structure.


Note to self: Once implemented, be sure to also update the numpy.lib.recfunctions accordingly.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions