8000 Missing `tp_traverse` · Issue #18 · hpyproject/numpy-hpy · GitHub
[go: up one dir, main page]

Skip to content
Missing tp_traverse #18
Open
Open
@mattip

Description

@mattip

There is a missing tp_traverse on the New_PyArrayDescr_spec (which derives from the New_PyArrayDescr_spec_prototype), since PyArray_Descr has HPyFields. PyPy requires these, and will not let HPyField_Store work if the tp_traverse is missing. Since HPyField_Store has a void return value, PyPy will exit. I will submit a PR to add the missing tp_traverse and also raise a HPy issue to change the return value so an error can properly be reported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0