Hi Britton,

You can do this to get around it:

with gil:
    print ...

Matt

On Jul 5, 2014 7:01 AM, "Britton Smith" <brittonsmith@gmail.com> wrote:
Hey yt-devs,

I'm trying to debug some Cython routines and want to throw in some print statements.  However, when adding a simple python print statement I get the following compile error:

Python print statement not allowed without gil

Is there other way to do this here?  Any other Cython debugging tips people have would also be very welcome.

Britton

_______________________________________________
yt-dev mailing list
yt-dev@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org