Sturla Molden, 19.04.2011 00:18:
Den 18.04.2011 22:26, skrev Robert Bradshaw:
On Mon, Apr 18, 2011 at 12:08 PM, mark florisson 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.


Have you ever considered to allow a "with gil:" statement?

Yes, that's what this is all about.

https://github.com/markflorisson88/cython/commits/master

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

Reply via email to