diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-05-19 14:27:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-19 15:27:49 -0600 |
commit | 290a0345c8a0eb33ba98172267e6d392110fe905 (patch) | |
tree | 29ce02d76a0b181d21b24ed2262fa4229ca19632 /numpy/lib/arrayterator.py | |
parent | e108c76f870c94d5fd2f50126cc40cb1258d89e3 (diff) | |
download | numpy-290a0345c8a0eb33ba98172267e6d392110fe905.tar.gz |
DEP: Deprecate error clearing for special method in array-coercion (#19001)
* DEP: Deprecate error clearing for special method in array-coercion
When looking up `__array__` and `__array_interface__`, previously
most errors were ignored (during the attribute lookup for __array__).
This deprecates this, in the future only AttributeError (which is
ignored in `LookupSpecial` itself) will be ignored.
Closes gh-18723
* DOC: Fixups from Eric's review and prefer exception over error
* TST: Fixup the error message in the test as well
Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
Diffstat (limited to 'numpy/lib/arrayterator.py')
0 files changed, 0 insertions, 0 deletions