summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorSteve Stagg <ste@sta.gg>2019-07-03 22:39:18 +0100
committerSteve Stagg <ste@sta.gg>2019-07-03 23:08:37 +0100
commitb9668d4cb709c74e4848aed4950f676fbbc743a5 (patch)
treefc06fe39c826977e0fd279bdf801ac96d32daa6a /numpy/core/fromnumeric.py
parentdeea4983aedfa96905bbaee64e3d1de84144303f (diff)
downloadnumpy-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