Skip to content

Refactor slot/metatype access #14

Open

Description

@seberg

There are a lot of patterns where it is necessary to get the metatype only for slow lookup. We should have internal macros for this and simplify/refactor all code.

Activity

  1. seberg commented on Nov 22, 2019

    @seberg
    OwnerAuthor

    Need a replacement for:

            PyArray_Descr *descr = PyArray_DescrFromType(NPY_DOUBLE);
            PyArray_DTypeMeta *dtype = NPY_DTMeta(descr);
    

    Although it might be best if this was reorganized larger (i.e. easier/better after cleaning up how the DTypeMeta objects are currently created.

  2. added a commit that references this issue on Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions