[pypy-issue] [issue1621] CPyExt: PyObject_GetItem() fails on NumPyPy array objects

Yury V. Zaytsev tracker at bugs.pypy.org
Wed Oct 9 22:54:06 CEST 2013


Yury V. Zaytsev <yury at shurup.com> added the comment:

Yep, I've attached the patch and the trace in the previous comment. By the way,
when loading the original reproducer I had to do

    import cpyext; cpyext.load_module("test_getitem.so", "test_getitem")

before

    import test_getitem

Otherwise, it fails with "ImportError: No module named test_getitem".

Is this supposed to be this way or I have translated pypy in a wrong way /
running with incorrect arguments, etc.?

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1621>
________________________________________


More information about the pypy-issue mailing list