Commit 097b08db authored by Xavier Thompson's avatar Xavier Thompson

Ensure flattened lock acquisition for inplace operations

parent ace04473
...@@ -540,6 +540,10 @@ class CypclassLockTransform(Visitor.EnvTransform): ...@@ -540,6 +540,10 @@ class CypclassLockTransform(Visitor.EnvTransform):
self.visit_assignment(node) self.visit_assignment(node)
return node return node
def visit_InPlaceAssignmentNode(self, node):
self.visit_assignment(node)
return node
def visit_DelStatNode(self, node): def visit_DelStatNode(self, node):
for arg in node.args: for arg in node.args:
arg_entry = self.id(arg) arg_entry = self.id(arg)
......
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