Commit 5a40d545 authored by Stefan Behnel's avatar Stefan Behnel

fix compiler crash due to infinite recursing while deep copying finally clauses

parent 554b2a47
...@@ -418,6 +418,7 @@ class NameReference(object): ...@@ -418,6 +418,7 @@ class NameReference(object):
ref.node = deepcopy(self.node, memo) ref.node = deepcopy(self.node, memo)
ref.entry = self.entry ref.entry = self.entry
ref.pos = self.node.pos ref.pos = self.node.pos
return ref
class ControlFlowState(list): class ControlFlowState(list):
......
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