--
---
You received this message because you are subscribed to the Google Groups "cython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No, this isn't possible. You're probably better off generating two copies of the pxd. (That is, assuming you actually take advantage of releasing the gil in the one cases where you can--if not then you don't even need to worry about it.)