[Numpy-discussion] numpy 2.0, what else to do?
Charles R Harris
Mon Feb 15 13:08:41 CST 2010
On Mon, Feb 15, 2010 at 12:03 PM, Pauli Virtanen <firstname.lastname@example.org> wrote:
> su, 2010-02-14 kello 11:51 -0700, Charles R Harris kirjoitti:
> > 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
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion