Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing tp_traverse #18

Open
mattip opened this issue Nov 30, 2023 · 0 comments
Open

Missing tp_traverse #18

mattip opened this issue Nov 30, 2023 · 0 comments

Comments

@mattip
Copy link

mattip commented Nov 30, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant