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

BUG: properly define PyArray_DescrCheck #14687

Merged
merged 1 commit into from Oct 12, 2019

Conversation

charris
Copy link
Member

@charris charris commented Oct 12, 2019

Backport of #14605.

PyArray_DescrCheck was defined incorrectly. Redefine and add PyArray_DescrCheckExact.

This becomes a problem if we allow subclassing PyArrayDescr_Type, and should be backported to any version we still support to prevent issues when using a newer NumPy with code compiled with an older NumPy. Searching scipy/pandas/astropy/numba only turned up a use inside numba. Once this is merged we should submit an issue there to work around this for old versions.

@charris charris added this to the 1.17.3 release milestone Oct 12, 2019
@charris charris merged commit acb10b0 into numpy:maintenance/1.17.x Oct 12, 2019
@charris charris deleted the backport-14605 branch October 12, 2019 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants