diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2018-04-24 21:34:40 -0700 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2018-05-26 01:21:02 -0700 |
commit | 8a8be508d2b2ce719de94209286293973c278b46 (patch) | |
tree | 234cbbbd5ab2ff15b5bf817556c45c15047df127 /numpy/f2py/tests/test_compile_function.py | |
parent | 4ec8930f0b60d7fff059d0f005ed2a0efbf41fb7 (diff) | |
download | numpy-8a8be508d2b2ce719de94209286293973c278b46.tar.gz |
BUG: Remove fragile use of __array_interface__ in ctypeslib.as_array
Everything behaves a lot better if we let the array constructor handle it, which will use the ctypes PEP3118 support.
Bugs this fixes:
* Stale state being attached to pointer objects (fixes gh-2671, closes gh-6214)
* Weird failure modes on structured arrays (fixes-10978)
* A regression in gh-10882 (fixes gh-10968)
Diffstat (limited to 'numpy/f2py/tests/test_compile_function.py')
0 files changed, 0 insertions, 0 deletions