summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-08-25 14:57:20 +0100
committerEric Wieser <wieser.eric@gmail.com>2020-08-26 17:41:33 +0100
commita68a3ada494d9f66625c7ae94d12635021992e3a (patch)
treec757368fd4c86ead7c6ff70df032f710a804d7a7 /numpy/core/fromnumeric.py
parented2cd346034d3af49a364bce5acaee719d88379f (diff)
downloadnumpy-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