-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
BUG: fix refcounting for dtypemeta aliases #25329
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
Conversation
NewRef is nice, maybe we should just put it into the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks, please feel free to merge. I guess this version can be a static inline functions (want to avoid the need for casting here for sure).
Thanks for the quick fix! When should I expect a new nightly wheel with this patch? |
When this actions run finishes. |
Looks like the build failed for |
It looks like that's due to #25149, i'll open another issue about it. |
We didn't take a reference to this type, so we shouldn't be freeing one. This appears to have been missed by PR numpy#25329.
We didn't take a reference to this type, so we shouldn't be freeing one. This appears to have been missed by PR numpy#25329.
We didn't take a reference to this type, so we shouldn't be freeing one. This appears to have been missed by PR numpy#25329.
Fixes #25327.
I introduced
NPY_DT_NewRef
, which is basically the same asPy_NewRef
. If we aren't supporting Python 3.9 I could just usePy_NewRef
instead.