On Fri, Oct 23, 2009 at 11:25 AM, Stefan Behnel <[email protected]> wrote: > > Lisandro Dalcin wrote: >> Patch updated: >> http://trac.cython.org/cython_trac/attachment/ticket/417/typetest.diff > > Ah, yes, that's a smart way of doing it. > > Just one thing: are there cases where this may lead to multiple evaluation > of the tested expression? I doubt it, since Python values tend to live in > temp variables, but I'm not sure how this interacts with C function calls, > for example. >
Can you provide a bit code about what you are talking? (then i could integrate such cases in the test) -- 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
