Skip to content

Conversation

kritisingh1
Copy link
Member

Related to #11521

numpy/ma/core.py Outdated

"""
# NumPy 1.15.0, 2017-12-10
warnings.warn(
Copy link
Member

Choose a reason for hiding this comment

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

There is the _pickle_warn function, which was handling the current DeprecationWarning, I think you may have missed it.

Copy link
Member Author

Choose a reason for hiding this comment

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

So, I should remove _pickle_warn or warnings.warn?
I introduced the latter since this was consistent in all the deprecated functions I've seen so far.

Copy link
Member

Choose a reason for hiding this comment

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

The warning was already in place since a long time. You can just remove these functions entirely I think. After your change, there would be two warnings given.

@mattip mattip removed the 56 - Needs Release Note. Needs an entry in doc/release/upcoming_changes label Aug 19, 2019
@mattip
Copy link
Member

mattip commented Aug 19, 2019

LGTM. @seberg is the formatting of the release note correct (first line beigns with a *)?

@seberg
Copy link
Member

seberg commented Aug 19, 2019

To be discussed. My plan is to not worry about it too much and allow both (it is easy to fix it up later) . I thought we used bullet points for these expired deprecations previously, but the fact is, that Chuck always added them later on.

Anyway: My plan is to change towncrier, that it does not add the bullets automatically, and then sort bullet points to the front of each section, so that it renders OK even if we end up with mixed style release notes.

@mattip mattip merged commit de33c1c into numpy:master Aug 20, 2019
@mattip
Copy link
Member

mattip commented Aug 20, 2019

Thanks @kritisingh1

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.

4 participants