TYP: False positives in ndarray.__setitem__
with object_
dtype in NumPy 2.2
#27964
Labels
ndarray.__setitem__
with object_
dtype in NumPy 2.2
#27964
Describe the issue:
Under NumPy 2.2, assignment of a slice to an object array results in a type check failure
Reproduce the code example:
Error message:
Python and NumPy Versions:
Runtime Environment:
Context for the issue:
Related to #27957; this is a reduction of an error we're seeing in the JAX CI under NumPy 2.2
The text was updated successfully, but these errors were encountered: