diff options
| author | Sebastian Berg <sebastianb@nvidia.com> | 2022-12-01 14:25:57 +0100 |
|---|---|---|
| committer | Sebastian Berg <sebastianb@nvidia.com> | 2022-12-01 14:25:57 +0100 |
| commit | 19ba7c4529a17a10abf0d52615011336a0deb606 (patch) | |
| tree | f07abc68de5a8ff1111433b87aac012d395264a2 /numpy/array_api/_array_object.py | |
| parent | e21a20592454e81dc686c49304768be854f55eaf (diff) | |
| download | numpy-19ba7c4529a17a10abf0d52615011336a0deb606.tar.gz | |
DEP: Finalize the comparison FutureWarning/DeprecationWarning
This finalize the deprecation warning, there are a couple of corner
cases that we don't get as nicely as we could. E.g. we (for now?)
manually create the all-false or all-true result array with a bit
clunky subclass support (subclasses can always override `==` and
`!=` though).
We also keep some (existing) behavior for 0-D objects where we
just return `NotImplemented`, which means the result should end
up with Python booleans (which is probably just as well).
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions
