Commit cdfe4a08 authored by Xavier Thompson's avatar Xavier Thompson

Let autolock mode automatically lock around attribute accesses in cypclass property wrappers

parent e9f40d35
......@@ -286,7 +286,7 @@ def NAME(self, ARGDECLS):
return None
if not attr_entry.type.can_coerce_from_pyobject(self.module_scope):
return None
if node_entry.type.lock_mode in ('checklock', 'autolock'):
if node_entry.type.lock_mode == 'checklock':
template = self.locked_property
else:
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