On 2 February 2018 at 17:43, Hart, William E <weh...@sandia.gov> wrote:
> References the exception `SystemError('PyTuple_SetItem called on tuple after
> use of tuple")’ but it’s not clear when/why this exception gets triggered.
It's because scipy uses the CPython C API in a way that is arguably
wrong, but most likely works fine on CPython.
It would help if you can track down the source code of the .c file
with the call to PyTuple_SetItem() that causes the crash. I tried to
install scipy on my laptop but it seems to be quite involved so I gave
up for now (it depends on non-Python packages).
pypy-dev mailing list