summaryrefslogtreecommitdiff
path: root/numpy/lib/arraysetops.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-11-15 13:53:57 -0700
committerCharles Harris <charlesr.harris@gmail.com>2017-11-15 14:03:37 -0700
commit0a1069ae98f49ba7fa87a37fc62f0db904265c2c (patch)
treee3b03fb8184cbd95dc8cba5bb808ce932215b945 /numpy/lib/arraysetops.py
parentabbf4155a0b068520138245b67c34a034a52c42a (diff)
downloadnumpy-0a1069ae98f49ba7fa87a37fc62f0db904265c2c.tar.gz
BUG: Fix f2py string variables in callbacks.
When NPY_CHAR was deprecated and replaced by NPY_STRING in f2py, calls to PyArray_New that previously relied on the type to get the itemsize needed the size explicitly specified, but that modification was missed in some of the code. Because the strings that replacee the 'c' type are always 'S1', we use an itemsize of 1 for the string types and pass it explicitly. Closes #10027.
Diffstat (limited to 'numpy/lib/arraysetops.py')
0 files changed, 0 insertions, 0 deletions