Skip to content

Conversation

@ev-br
Copy link
Member

@ev-br ev-br commented Jan 21, 2026

Make it follow numpy 2.x, and all array-api-compat wrapped namespaces.

cross-ref data-apis/array-api-compat#382 for a test of wrapped namespaces.

Reference behavior:

In [1]: import numpy as np

In [2]: np.__version__
Out[2]: '2.3.5'

In [3]: x = np.arange(8)

In [4]: y = np.clip(x)

In [5]: y[1] = 42

In [6]: y
Out[6]: array([ 0, 42,  2,  3,  4,  5,  6,  7])

In [7]: x
Out[7]: array([0, 1, 2, 3, 4, 5, 6, 7])

Make it follow numpy 2.x, and all array-api-compat wrapped namespaces.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant