[Cython] OpenMP support

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 9 00:27:20 CET 2011


Stefan Behnel wrote:

> You *can* use Python references inside of nogil blocks, even if there's 
> a lot of stuff that you can't do with them, ... But you can access cdef 
 > attributes on them,

Strictly speaking it's not even safe to do that, unless
you know there's some locking mechanism in effect that
prevents the underlying Python object going away from
under you.

-- 
Greg


More information about the cython-devel mailing list