1.1 --- a/simplify.py Tue Feb 06 00:57:50 2007 +0100
1.2 +++ b/simplify.py Wed Feb 14 01:34:35 2007 +0100
1.3 @@ -1267,9 +1267,9 @@
1.4 Try (body)
1.5 (else)
1.6 (handler) -> Conditional (test) -> (stmt)
1.7 - (body) -> ...
1.8 + (body) -> ResetExc ...
1.9 (else) -> Conditional (test) -> (stmt)
1.10 - (body) -> ...
1.11 + (body) -> ResetExc ...
1.12 (else) -> ...
1.13 """
1.14
1.15 @@ -1311,7 +1311,7 @@
1.16 )
1.17 )
1.18
1.19 - test.body += self.dispatch(stmt)
1.20 + test.body += [ResetExc()] + self.dispatch(stmt)
1.21 nodes.append(test)
1.22 nodes = test.else_ = []
1.23