[Numpy-discussion] Py_ssize_t

David Cournapeau cournape at gmail.com
Sun Mar 15 15:19:45 EDT 2009


On Mon, Mar 16, 2009 at 4:10 AM, Charles R Harris
<charlesr.harris at gmail.com> wrote:
> Some of the calls to the python c-api have been changed to use Py_ssize_t.
> As Py_ssize_t was not available in Python 2.4 I wonder if we check if it is
> defined and set it to int if not.

Yes, we do, in ndarrayobject.h

> Also, are we running tests on Python 2.4
> for the release?

At least I do - I have access to a RHEL machine, where the default
python is 2.4. Since it is 64 bits as well, it is pretty good to
detect those kind of problems.

David



More information about the NumPy-Discussion mailing list