We do not need GIL locking for attribute setters (spotted by Stuart Stock)
This commit is contained in:
1 parent
1537862c23
commit
86e357d2d8
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user