In Python 2.3 and 2.4 we have this: PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, char *);
In Python 2.5 and above, we have this: PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); So pehaps we need the a define of inline function __Pyx_PyObject_GetAttr() that do the special-case according to the Python version. On Sun, Sep 7, 2008 at 11:16 AM, Stefan Behnel <[EMAIL PROTECTED]> wrote: > > Ondrej Certik wrote: >> On Sun, Sep 7, 2008 at 3:28 PM, Stefan Behnel <[EMAIL PROTECTED]> wrote: >>> Ondrej Certik wrote: >>>> please pull from here another const fix. >>>> >>>> http://freehg.org/u/certik/cython-devel/ >>> Sorry, the const change in __Pyx_ImportType() breaks building under Py2.3, >>> so >>> it can't go in. >> >> I see -- if you have the error log around, could you please post it, >> so that I can see if it can be fixed? > > No, lost it already, so I don't know which of the two consts was the problem. > But you can run runtests.py under Py2.3 to see for yourself. > > Stefan > _______________________________________________ > Cython-dev mailing list > [email protected] > http://codespeak.net/mailman/listinfo/cython-dev > -- Lisandro Dalcín --------------- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
