summaryrefslogtreecommitdiff
path: root/numpy/testing/utils.py
diff options
context:
space:
mode:
authorGreg Thomsen <gthomsen@gmail.com>2015-07-11 12:40:07 -0500
committerGreg Thomsen <gthomsen@gmail.com>2015-07-11 12:40:07 -0500
commitbe59b83bd906817e2beee2910f745bdc65a7f347 (patch)
treea7f29ee9a24060977161da9e6f1123397ea486bd /numpy/testing/utils.py
parent0c97cdeb1b29776f927fea4830c802e0339ac8dd (diff)
downloadnumpy-be59b83bd906817e2beee2910f745bdc65a7f347.tar.gz
BUG: Fixed downcasting with boolean indexing.
Fixed downcasting complex types to a real type using boolean indices which previously caused a segfault. Acquiring the appropriate dtype transfer function raises a warning that requires holding the GIL, which had been released in a previous revision. Now the GIL is held while the transfer function is acquired. This fixes issue #5896.
Diffstat (limited to 'numpy/testing/utils.py')
0 files changed, 0 insertions, 0 deletions