diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2020-08-25 14:57:20 +0100 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2020-08-26 17:41:33 +0100 |
commit | a68a3ada494d9f66625c7ae94d12635021992e3a (patch) | |
tree | c757368fd4c86ead7c6ff70df032f710a804d7a7 /numpy/core/fromnumeric.py | |
parent | ed2cd346034d3af49a364bce5acaee719d88379f (diff) | |
download | numpy-a68a3ada494d9f66625c7ae94d12635021992e3a.tar.gz |
BUG: Do not throw UnicodeError for non-ascii typestrs in __array_interface__
Instead, just throw ValueError like `np.dtype` does
This also fixes unsafe error handling of a call to PyArray_DescrConverter2
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions