Commit b3ed1e90 authored by Xavier Thompson's avatar Xavier Thompson

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

parent 53ccaf3c
......@@ -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