summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_utils.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2018-02-24 22:18:57 +0100
committerPauli Virtanen <pav@iki.fi>2018-02-24 22:43:16 +0100
commit3957976a7676c49fc1377539c11cddb2c50f3a0b (patch)
treef6103336ba3648078b7ef7551fb79ff8692850d4 /numpy/lib/tests/test_utils.py
parent2748d2eab969465ef2d93f45b839458ca25f6ff8 (diff)
downloadnumpy-3957976a7676c49fc1377539c11cddb2c50f3a0b.tar.gz
BUG: f2py: fix f2py generated code to work on Pypy
F2py generates code that uses PyTuple_SetItem on a tuple that has been "used", which is invalid on Pypy. Add #ifdefs that make the generated code convert the object to a list, use PyList_SetItem, and then convert it back to a tuple.
Diffstat (limited to 'numpy/lib/tests/test_utils.py')
0 files changed, 0 insertions, 0 deletions