-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
API: Remove interrupt handling and noprefix.h
#23919
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
Major downstream packages don't use |
6214744
to
c2f963c
Compare
c2f963c
to
2560870
Compare
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. Nice cleanup
directory = "c_api_removal" | ||
name = "NumPy 2.0 C API removals" | ||
showcontent = true | ||
|
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.
Do you want to add snippets for the removals in #23916?
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.
I wasn't going to, because those have all been effectively removed already (use is always an error)
Thanks @seberg |
The `npy_interrupt.h` header that needed it was removed in numpygh-23919 for 2.0.0.
The `npy_interrupt.h` header that needed it was removed in numpygh-23919 for 2.0.0.
We have removed the interrupt handling from the docs a long time ago with a big comment to try to discourage them, so I don't think this should be controversial.
The
noprefix.h
is also so old, that I suspect we can get away with asking users to fix their code, but if anyone thinks otherwise (or maybe rather complains strongly after the fact), I am OK with reconsidering.Adds a category in the release notes for the removals, since I think the list will get long (likely we should format it as a table at some point, but for now I think I prefer not to have two processes in parallel).
This is a draft because it is based on top of gh-23916