Comment 3 for bug 349304

Revision history for this message
rick_dean (rick-fdd) wrote :

Apparently python 2.4 doesn't have Py_ssize_t which is the
return type for PySequence_GetItem() in 2.5. This patch
replaces that type to match int of previous releases
as I believe we are trying to support compatability back
to 2.3. Apply the patch over the one above.

I'm sure there is a better way to do this, such as
a preprocessor directive that is aware of the python
version, and defines Py_ssize_t when need be.