diff options
author | Steve Stagg <ste@sta.gg> | 2019-07-03 22:39:18 +0100 |
---|---|---|
committer | Steve Stagg <ste@sta.gg> | 2019-07-03 23:08:37 +0100 |
commit | b9668d4cb709c74e4848aed4950f676fbbc743a5 (patch) | |
tree | fc06fe39c826977e0fd279bdf801ac96d32daa6a /numpy/core/fromnumeric.py | |
parent | deea4983aedfa96905bbaee64e3d1de84144303f (diff) | |
download | numpy-b9668d4cb709c74e4848aed4950f676fbbc743a5.tar.gz |
BUG: handle weird bytestrings in dtype() (#13902)
* Explicit check for negative type value in PyArray_DescrFromType
* PyArray_DescrConverter casts to unsigned char to match python bytes
* Add some tests
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions