On 18 April 2011 22:26, Robert Bradshaw <rober...@math.washington.edu> wrote: > 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.
Ok, cool :) >> 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)? I haven't looked at all the functions, but most of them are documented in both Python 2 and Python 3. I'll be vigilant. > - Robert > _______________________________________________ > cython-devel mailing list > cython-devel@python.org > http://mail.python.org/mailman/listinfo/cython-devel > _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel