Skip to content

Backport 7194, BUG: Raise a quieter MaskedArrayFutureWarning for mask changes #7218

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

Merged
merged 2 commits into from
Feb 9, 2016

Conversation

charris
Copy link
Member

@charris charris commented Feb 9, 2016

#7194.

Fixes #7164
Related: #7020
Related: #5580

Drop the getitem warning. In setitem, check to see if the masked array is shared. If it is shared, we know it will propagate upstream in the future. Also, use a more specific warning type instead of using FutureWarning so that this can be explicitly ignored.

Drop the `__getitem__` warning. In `__setitem__` check to see if the
masked array is shared. If it is shared, we know it will propagate
upstream in the future. Also, use a more specific warning type instead
of using `FutureWarning` so that this can be explicitly ignored.
@charris charris added component: numpy.ma masked arrays 03 - Maintenance 08 - Backport Used to tag backport PRs labels Feb 9, 2016
@charris charris added this to the 1.11.0 release milestone Feb 9, 2016
@jakirkham
Copy link
Contributor

Looks like one VM failed to finish apt-get installation of dependencies. One of the wheel installs seems to not find numpy? Not sure what is going on there.

charris added a commit that referenced this pull request Feb 9, 2016
Backport 7194, BUG: Raise a quieter `MaskedArrayFutureWarning` for mask changes
@charris charris merged commit 7fa12e5 into numpy:maintenance/1.11.x Feb 9, 2016
@charris charris deleted the backport-7194 branch February 9, 2016 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
03 - Maintenance 08 - Backport Used to tag backport PRs component: numpy.ma masked arrays
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants