On Mon, Sep 8, 2008 at 5:12 PM, Lisandro Dalcin <[EMAIL PROTECTED]> wrote: > 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.
Either way is fine. Clearly the current state, that it prints the warnings is a bug, so it should be fixed (either way). Ondrej _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
