Came across this as a solution to a problem I am having http://lists.copyleft.no/pipermail/pyrex/2004-February/000612.html Would kind of be nice if pyrex added some attribute and handled the GIL itself: cdef GIL my_callback(): or cdef callback my_callback(): -- John (J5) Palmieri <johnp at redhat.com>