summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2018-11-20 18:36:43 -0800
committerEric Wieser <wieser.eric@gmail.com>2018-11-21 14:34:25 -0800
commit73322a0ba923ff6e6429463ba1e31acc69ce1ea7 (patch)
tree850794921aef547c14a48be870aca3574d4f5904 /numpy/core/setup.py
parent4f1541e1cb68beb3049a21cbdec6e3d30c2afbbb (diff)
downloadnumpy-73322a0ba923ff6e6429463ba1e31acc69ce1ea7.tar.gz
BUG/ENH: Fix use of ndpointer in return values
This: * fixes a regression in 1.15, where it became impossible to set the return value of a cdll function to an ndpointer. * removes ndpointer.__array_interface__, which was being ignored anyway in favor of the PEP3118 buffer protocol * adds `ndpointer.contents` to recover the lost functionality, while staying in line with the ctypes behavior * removes another instance of `descr`, which enables overlapping fields to be returned from C functions (such as unions). * Fixes a long-term bug where using ndpointer as a return type without specifying both type and dtype would produce an object array containing a single `ndpointer`. Now the ndpointer is returned directly. This relates to gh-12421, and likely fixes toinsson/pyrealsense#82
Diffstat (limited to 'numpy/core/setup.py')
0 files changed, 0 insertions, 0 deletions