On Tue, Feb 3, 2009 at 7:16 AM, Dag Sverre Seljebotn
<[email protected]> wrote:
> Lisandro Dalcin wrote:
>>
> Can't you declare the function as "nogil"? I.e.
>
> cdef nogil int myfunc(): ...
>

I'll give a try. That would be fine with me...

>
> I've applied your patch, thanks! RTLD_GLOBAL-issues aside, it is a lot
> easier to set up the refnanny on other code than the test suite now.
>

Indeed.

> Please vote: Should we install the refnanny into site-packages when
> doing a Cython install? Then we could just tell users "try compiling
> with the -DCYTHON_REFNANNY flag" to get diagnostics.
>

Perhaps betther would be to put iside Cython.Runtime, in such a way
that the full dotted name would be 'Cython.Runtime.refnanny' ?? I'm
not a big fan of populating site-packages directory. Perhaps if the
module is renamed to 'pyxrefnanny'?




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