We do not need GIL locking for attribute setters (spotted by Stuart Stock)

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2009-01-26 11:58:19 +00:00
1 parent 1537862c23
commit 86e357d2d8
1 file changed
+1
+1
View File
@@ -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