diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-01-20 15:29:21 -0600 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2021-01-20 15:32:54 -0600 |
commit | a054ffd20ba2cd865a53e6ab149ae7d24acc97d9 (patch) | |
tree | 6d3bf30490c291982a2eabeabb487fbdfd7e0335 /numpy/array_api/tests/test_elementwise_functions.py | |
parent | f10da39336097fca740dd1c407939eb9c6c4ca3e (diff) | |
download | numpy-a054ffd20ba2cd865a53e6ab149ae7d24acc97d9.tar.gz |
BUG: Keep ignoring most errors during array-protocol lookup
Closes (the later point) in gh-17965 and reverts parts of
gh-17817.
Shapely did rely on being able to raise a NotImplementedError
which then got ignored in the attribute lookup.
Arguably, this should probably just raise an AttributeError to
achieve that behaviour, but it means we can't just rip the band-aid
off here.
Since 1.20 is practically released, just reverting most of the change
(leaving only recursion and memory error which are both arguably
pretty fatal).
Ignoring most errors should be deprecated (and I am happy to do so),
but it is not important enough for 1.20 or very important in itself.
Closes gh-17965
Diffstat (limited to 'numpy/array_api/tests/test_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions