data-apis / array-api-strict

Strict implementation of the Python array API (previously numpy.array_api)
http://data-apis.org/array-api-strict/
Other
7 stars 4 forks source link

Allow any combination of real dtypes in comparisons #53

Closed asmeurer closed 2 months ago

asmeurer commented 2 months ago

This does not change == or != because the standard is currently unclear about that so I'd like to see what happens there first.

asmeurer commented 2 months ago

Actually I went ahead and updated equal/not_equal/==/!= because it was easier.

asmeurer commented 2 months ago

The test suite needs to be updated to test for this (and that will need to wait for update to the spec). I need this to unblock the CI here for #49 which is also blocking the test suite CI.

asmeurer commented 1 month ago

It's looking like the standard is going to be updated to match the existing behavior, so this should be reverted https://github.com/data-apis/array-api/pull/822.