[Cython] [PATCH] Make __Pyx_ArgTypeTest() use "const char*" to suppress warning

Lisandro Dalcin dalcinl at gmail.com
Wed Sep 10 17:10:41 CEST 2008


On Wed, Sep 10, 2008 at 11:35 AM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> This specific case is easy to handle as we can replace
> PyObject_GetAttrString() by the equivalent PyObject_GetAttr() call and
> create the Python string ourselves (which would normally happen inside of
> PyObject_GetAttrString).

As a reminder, please use PyString_InternFromString() (or the py3k equivalent).

>
> I'll fix it.
>
> Stefan
>
> _______________________________________________
> Cython-dev mailing list
> Cython-dev at codespeak.net
> 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


More information about the Cython-dev mailing list