Skip to content

Conversation

@MarcoGorelli
Copy link
Member

No description provided.

@github-actions

This comment has been minimized.

@MarcoGorelli MarcoGorelli marked this pull request as ready for review July 29, 2025 19:47
@jorenham jorenham self-requested a review July 30, 2025 00:19
@jorenham jorenham added the component: numpy.ma masked arrays label Jul 30, 2025
@github-actions
Copy link

Diff from mypy_primer, showing the effect of this PR on type check results on a corpus of open source code:

xarray (https://github.com/pydata/xarray)
- xarray/tests/test_namedarray.py: note: In member "test_duck_array_class" of class "TestNamedArray":
- xarray/tests/test_namedarray.py:377: error: Argument 1 to "check_duck_array_typevar" has incompatible type "MaskedArray[Any, dtype[signedinteger[_64Bit]]]"; expected "_arrayfunction[Any, Never] | _arrayapi[Any, Never]"  [arg-type]
- xarray/tests/test_namedarray.py: note: In class "TestNamedArray":

@jorenham jorenham merged commit 00bbfef into numpy:main Jul 30, 2025
78 checks passed
@jorenham
Copy link
Member

Thanks!

IndifferentArea pushed a commit to IndifferentArea/numpy that referenced this pull request Dec 7, 2025
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.

2 participants