<p dir="ltr">Hi Britton,</p>
<p dir="ltr">You can do this to get around it:</p>
<p dir="ltr">with gil:<br>
    print ...<br></p>
<p dir="ltr">Matt</p>
<div class="gmail_quote">On Jul 5, 2014 7:01 AM, "Britton Smith" <<a href="mailto:brittonsmith@gmail.com">brittonsmith@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hey yt-devs,<div><br></div><div>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:</div>

<div><br></div><div>Python print statement not allowed without gil<br></div><div><br></div><div>Is there other way to do this here?  Any other Cython debugging tips people have would also be very welcome.</div><div><br></div>

<div>Britton</div></div>
<br>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div>