2016-12-08 | Paul Boddie | raw files shortlog changelog graph | Fixed re-raising of exceptions. | |
translator.py (file) |
1.1 --- a/translator.py Thu Dec 08 19:26:53 2016 +0100 1.2 +++ b/translator.py Thu Dec 08 19:29:12 2016 +0100 1.3 @@ -1396,7 +1396,7 @@ 1.4 else: 1.5 self.writestmt("__Raise(__ensure_instance(%s));" % exc) 1.6 else: 1.7 - self.writestmt("__Complete;") 1.8 + self.writestmt("__Throw(__tmp_exc);") 1.9 1.10 def process_return_node(self, n): 1.11