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

API: Remove PyArray_REFCNT and NPY_REFCOUNT #25156

Merged
merged 1 commit into from Nov 16, 2023

Conversation

seberg
Copy link
Member

@seberg seberg commented Nov 15, 2023

These don't really make sense, even less as public API.

These don't really make sense, even less as public API.
@ngoldbaum
Copy link
Member

ngoldbaum commented Nov 16, 2023

I can find no usages of these macros in any downstream code.

Anyone trying to use this with numpy 2.0 in code I don't find with a github search will see a new compilation error with the name of the macro in it and hopefully that will be enough to find this pull request.

That seems fine to me. Any other concern that I should have before hitting the merge button? This isn't an ABI break, right? And even if it is, we're about to do some of those...

@seberg
Copy link
Member Author

seberg commented Nov 16, 2023

Any other concern that I should have before hitting the merge button?

No. Exactly right, even if there was usage, it is an obvious replacement.

@ngoldbaum
Copy link
Member

In it goes, thanks @seberg.

@ngoldbaum ngoldbaum merged commit 83112cd into numpy:main Nov 16, 2023
61 checks passed
@seberg seberg deleted the refcount-cleanup branch November 16, 2023 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants