On Thu, Oct 2, 2008 at 1:06 AM, Greg Ewing <[EMAIL PROTECTED]> wrote:
> Lisandro Dalcin wrote:
>
>> 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))) ...
>
> On further investigation, it seems it doesn't make a
> difference in this situation. But "r" is conceptually
> more correct, and it may become important in a future
> version of Pyrex.
>

OK, good to know! Robert, should we fix this in Cython?



-- 
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

Reply via email to