
Jan. 2, 2009
12:39 a.m.
Hi, Does anyone have an insight on the following problem? PyObject* descr(PyObject* self, PyObject* args) { PyObject *d; PyArg_ParseTuple(args, "O&", PyArray_DescrConverter, &d); return d; }
import numpy import mymodule numpy.__version__ '1.2.1' mymodule.descr([('a', 'i4'), ('b', 'i8')]) segmentation fault (core dumped) ipython
Thanks! -Igor