On Wed, Oct 1, 2008 at 11:40 PM, Greg Ewing <[EMAIL PROTECTED]> wrote:
> Robert Bradshaw wrote:
>> "OO" means PyList_Append takes two arguments of type O = object. "i"
>
> That should really be "r", not "i" ("r" is an int used only
> to signal an error, "i" is an actual int to be used).
>Mmm.. Perhaps some black magic in Cython? "i" is being used, and the generated code interprets this as a return flag for errors, with checks like if(unlikely(__pyx_1 == -1))) ... -- 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
