-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Remove deprecated PolyBase
from np.polynomial.polyutils
#15658
Comments
Would be OK to try I think. We could also use the module |
The getattr idea is an interesting one. We'll see if there are other names in the polynomial/poly1d cleanup that could benefit from this. |
Another option would be to add a |
I thought it unlikely anyone was using it at the time, but played it safe. It can probably be removed without causing problems. |
I can pick up this one |
Addresses issue numpy#15658 by removing PolyBase class. Happy to submit alternative PR using getattr approach instead if desired.
Closing as completed. |
np.polynomial.polyutils
defines aPolyBase
class that, according to the source, was deprecated back in v1.9.0:numpy/numpy/polynomial/polyutils.py
Lines 81 to 91 in acba244
I am wondering if it can be removed from the code base. v1.9 was quite some time ago, though I'm not sure this proposal is in line with whatever the official deprecation policy is. For what it's worth,
PolyBase
does not appear to be used within thenumpy
code base anymore, so the question is whether downstream libraries have had sufficient time (and notification) to removePolyBase
from their codebases.The text was updated successfully, but these errors were encountered: