On Mon, Apr 18, 2011 at 12:08 PM, mark florisson
<markflorisso...@gmail.com> wrote:
> Can I add a gilnanny to refnanny? I want to do a PyThreadState_Get()
> for every refnanny inc- and decref, so that it will issue a fatal
> error whenever reference counting is done without the gil, to make
> sure we never do any illegal things in nogil code blocks.

Sounds like a good idea to me.

> While I'm at it, I also want to add a pystate.pxd to the cpython includes.

Sure, corresponding to pystate.h? Have you looked into how stable this
API is (e.g. Py2 vs. Py3)?

- Robert
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to