Skip to content

BUG: Fix ma coercion list-of-ma-arrays if they do not cast to bool#18638

Merged
charris merged 3 commits intonumpy:maintenance/1.20.xfrom
charris:backport-18605
Mar 17, 2021
Merged

BUG: Fix ma coercion list-of-ma-arrays if they do not cast to bool#18638
charris merged 3 commits intonumpy:maintenance/1.20.xfrom
charris:backport-18605

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Mar 17, 2021

Backport of #18605.

There was a regression here due to force casting to bool, but if that
happens to fail (it does, but should not for strings). The mask
would just be dropped.

Of course masked arrays are held together by faith here, but its
a regression.

Closes gh-18551

seberg added 3 commits March 17, 2021 09:18
There was a regression here due to force casting to bool, but if that
happens to fail (it does, but should not for strings). The mask
would just be dropped.

Of course masked arrays are held together by faith here, but its
a regression.

Closes numpygh-18551
@charris charris added this to the 1.20.2 release milestone Mar 17, 2021
@charris charris merged commit 59c99e4 into numpy:maintenance/1.20.x Mar 17, 2021
@charris charris deleted the backport-18605 branch March 17, 2021 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants