Skip to content

DEP: remove deprecated select behaviour - #14583

Merged
seberg merged 1 commit into
numpy:masterfrom
mattip:select-deprecation
Sep 26, 2019
Merged

seberg merged 1 commit into
numpy:masterfrom
mattip:select-deprecation

Conversation

@mattip

@mattip mattip commented Sep 23, 2019

Copy link
Copy Markdown
Member

xref gh-11521. This behaviour was deprecated in NumPy 1.9.

I am not sure about how we refer to expired deprecations. "Remove", "Resolve", "Retire" ?

@rgommers

Copy link
Copy Markdown
Member

I am not sure about how we refer to expired deprecations. "Remove", "Resolve", "Retire" ?

I believe the file should be expired.rst rather than deprecation.rst, and in language I'd say "feature X was removed" or "we removed support for ..."

Comment thread numpy/lib/function_base.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this be a TypeError? "Expired" is great, and right now they are all formatted as bullets too (whidch I think works well for the expired ones). Sorry to make this abit of a rabbit hole, but unless there are obvious tests elsewhere, they should probably be morpfed into assert_raises...

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

ok

@seberg seberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

OK, LGTM. Thanks matti, just waiting for tests, otherwise we can merge (or you can also).

@seberg
seberg merged commit cb89f88 into numpy:master Sep 26, 2019
@mattip
mattip deleted the select-deprecation branch June 8, 2020 06:58
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