Commit f6004d0d authored by Xavier Thompson's avatar Xavier Thompson

Lock around attribute access in wrapping properties also in 'autolock' mode

parent e34544cd
...@@ -335,7 +335,7 @@ def NAME(self, ARGDECLS): ...@@ -335,7 +335,7 @@ def NAME(self, ARGDECLS):
return None return None
if not attr_entry.type.can_coerce_from_pyobject(self.module_scope): if not attr_entry.type.can_coerce_from_pyobject(self.module_scope):
return None return None
if node_entry.type.lock_mode == 'checklock': if node_entry.type.lock_mode in ('checklock', 'autolock'):
template = self.locked_property template = self.locked_property
else: else:
template = self.unlocked_property template = self.unlocked_property
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment