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

DEP: Do not cast boolean indices to integers in np.delete #15815

Merged

Conversation

eric-wieser
Copy link
Member

This expires a deprecation from 1.8.

The corresponding deprecation in np.insert has less clear semantics, so has been left to a future patch.

This expires a deprecation from 1.8.

The corresponding deprecation in `np.insert` has less clear semantics, so has been left to a future patch.
Copy link
Member

@seberg seberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

numpy/lib/function_base.py Outdated Show resolved Hide resolved
Copy link
Member

@WarrenWeckesser WarrenWeckesser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggested one correction, otherwise looks good.

@WarrenWeckesser WarrenWeckesser merged commit b03c575 into numpy:master Mar 25, 2020
@WarrenWeckesser
Copy link
Member

Suggested fix was trivial, so just commited it and merged. Thanks @eric-wieser.

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

3 participants