diff options
author | Pauli Virtanen <pav@iki.fi> | 2018-02-24 22:18:57 +0100 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2018-02-24 22:43:16 +0100 |
commit | 3957976a7676c49fc1377539c11cddb2c50f3a0b (patch) | |
tree | f6103336ba3648078b7ef7551fb79ff8692850d4 /numpy/lib/tests/test_packbits.py | |
parent | 2748d2eab969465ef2d93f45b839458ca25f6ff8 (diff) | |
download | numpy-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_packbits.py')
0 files changed, 0 insertions, 0 deletions