From 86e357d2d874a2d837273e628c84f757b922b39b Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Mon, 26 Jan 2009 11:58:19 +0000 Subject: [PATCH] We do not need GIL locking for attribute setters (spotted by Stuart Stock) --- pybindgen/cppattribute.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pybindgen/cppattribute.py b/pybindgen/cppattribute.py index 2d348b0..d54660b 100644 --- a/pybindgen/cppattribute.py +++ b/pybindgen/cppattribute.py @@ -19,6 +19,7 @@ class PyGetter(ForwardWrapperBase): class PySetter(ReverseWrapperBase): """generates a setter, for use in a PyGetSetDef table""" + NO_GIL_LOCKING = True def generate(self, code_sink): """Generate the code of the setter to the given code sink""" raise NotImplementedError