On Mon, Feb 15, 2010 at 12:03 PM, Pauli Virtanen <p...@iki.fi> wrote:
> su, 2010-02-14 kello 11:51 -0700, Charles R Harris kirjoitti: > [clip] > > There are more - grep -r ob_type numpy/* - how do you want to go about > > fixing these things? > > self->ob_type is fine if `self` is a plain PyObject* and not a subclass > pointer. > > The issue in changing all of them to Py_TYPE is that there's no Py_TYPE > on Python 2.4, and we define it locally only in core/src/private so it's > a bit icky to include npy_3kcompat.h outside that subtree. > > I was wondering about that. Why do we have a private include directory? Would it make more sense to move it to core/include/numpy/private. Chuck
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion