[Numpy-discussion] numpy 2.0, what else to do?

Charles R Harris charlesr.harris at gmail.com
Mon Feb 15 14:08:41 EST 2010


On Mon, Feb 15, 2010 at 12:03 PM, Pauli Virtanen <pav at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100215/9fc4a621/attachment.html>


More information about the NumPy-Discussion mailing list