Skip to content

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

Merged
WarrenWeckesser merged 3 commits intonumpy:masterfrom
eric-wieser:expired-insert-delete-boolean
Mar 25, 2020
Merged

DEP: Do not cast boolean indices to integers in np.delete#15815
WarrenWeckesser merged 3 commits intonumpy:masterfrom
eric-wieser:expired-insert-delete-boolean

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.

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.

3 participants