diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-01-22 14:44:33 -0800 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2021-02-17 23:05:39 -0600 |
commit | a1ec3385b8390046029591ba51c94c17cd31f5ae (patch) | |
tree | 3fb95a3a501759aecad09f004c71e0fa33a9b906 /numpy/array_api/tests/test_array_object.py | |
parent | 0eb9f54e5e466c8d7a76ae116712b368d045c7e0 (diff) | |
download | numpy-a1ec3385b8390046029591ba51c94c17cd31f5ae.tar.gz |
BUG: Remove temporary change of descr/flags in VOID functions
This is done using a hack around stack allocated arrays, which
requires some dark magic with respect to the setting the base
object (we skip normal arrays and INCREF/DECREF during base setting,
which _does_ work for such static arrays, but only if we give them
a (not quite) fake refcount of 1 and set the base and their type
correctly to PyArrayType.
Closes gh-15387
Diffstat (limited to 'numpy/array_api/tests/test_array_object.py')
0 files changed, 0 insertions, 0 deletions