BUG: MaskedArray ignores __array_priority__#5230
BUG: MaskedArray ignores __array_priority__#5230abalkin wants to merge 2 commits intonumpy:masterfrom
Conversation
There was a problem hiding this comment.
Causes universal test failures.
|
@abalkin Could you finish this up? |
There was a problem hiding this comment.
I'm slightly confused why this is being done. It makes this a descriptor, right?
There was a problem hiding this comment.
Or is this what allows you to directly define __add__ below?
|
@abalkin - pointed to this by @charris -- this seems a good approach, and is probably the safest one can be. In a slightly larger picture, though, I wonder if one isn't duplicating more of the Anyway, this mostly as a curiosity; I fear removing the methods would imply a great deal more work, and possibly a lot of rewriting of |
|
@mhvk - I agree that |
|
@abalkin - from my work on If you want to have some sense of what a |
|
Is the suggestion that I can close this in favor of a |
|
I believe that #5864 also addresses the issues here in a different way.
|
|
Specifically, njsmith@c3c819a |
|
Currently there are two different mechanisms used to handle the interaction
|
fixes: #5227
This patch partially fixes the issue (I only covered addition, subtraction and multiplication). If you agree that this is the right approach - I will add remaining operations.