[Cython] gilnanny

mark florisson markflorisson88 at gmail.com
Tue Apr 19 09:09:53 CEST 2011

On 18 April 2011 22:26, Robert Bradshaw <robertwb at math.washington.edu> wrote:
> On Mon, Apr 18, 2011 at 12:08 PM, mark florisson
> <markflorisson88 at 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 at python.org
> http://mail.python.org/mailman/listinfo/cython-devel

More information about the cython-devel mailing list