summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-04-17 18:01:31 +0100
committerEric Wieser <wieser.eric@gmail.com>2020-04-27 12:12:20 +0100
commit35b0a051c19265f5643f6011ee11e31d30c8bc4c (patch)
tree8064ec91919db76e64a91007460c489a8322a3f5 /numpy/array_api/_array_object.py
parent9dac4d51713f14ab013ac68b9d72ee430d1f89e2 (diff)
downloadnumpy-35b0a051c19265f5643f6011ee11e31d30c8bc4c.tar.gz
BUG: Unify handling of string enum converters
This fixes a collection of bugs: * Confusion between `TypeError` and `ValueError` * Allowing invalid arguments if they are valid up to the first embedded null * Producing better errors for non-ascii unicode strings
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions