[Numpy-discussion] Py_ssize_t

David Cournapeau cournape@gmail....
Sun Mar 15 14:19:45 CDT 2009

On Mon, Mar 16, 2009 at 4:10 AM, Charles R Harris
<charlesr.harris@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.


More information about the Numpy-discussion mailing list