1.1 --- a/inspector.py Sun Nov 27 22:48:35 2016 +0100
1.2 +++ b/inspector.py Sun Nov 27 23:21:35 2016 +0100
1.3 @@ -927,7 +927,7 @@
1.4 # Establish the local for the handler.
1.5
1.6 if var is not None:
1.7 - self.process_structure_node(var)
1.8 + self.process_assignment_node(var, None)
1.9 if handler is not None:
1.10 self.process_structure_node(handler)
1.11
2.1 --- a/translator.py Sun Nov 27 22:48:35 2016 +0100
2.2 +++ b/translator.py Sun Nov 27 23:21:35 2016 +0100
2.3 @@ -1369,7 +1369,7 @@
2.4 # Establish the local for the handler.
2.5
2.6 if var is not None:
2.7 - var_ref = self.process_name_node(var, make_expression("__tmp_exc"))
2.8 + self.writestmt("%s;" % self.process_name_node(var, make_expression("__tmp_exc.arg")))
2.9
2.10 if handler is not None:
2.11 self.process_structure_node(handler)