Index: org/python/compiler/CodeCompiler.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/compiler/CodeCompiler.java,v retrieving revision 2.32 diff -u -r2.32 CodeCompiler.java --- org/python/compiler/CodeCompiler.java 25 Aug 2003 12:24:14 -0000 2.32 +++ org/python/compiler/CodeCompiler.java 2 Jan 2004 03:43:45 -0000 @@ -1107,6 +1107,9 @@ } InFinally inFinally = new InFinally(yieldCount + 1); + // get the finally local early; it shouldn't be used for anything in + // the try block. + inFinally.retLocal = code.getFinallyLocal("ret"); finallyLabels.push(inFinally); @@ -1147,7 +1150,6 @@ // Do finally suite inFinally.labels[0].setPosition(); code.stack = 1; - inFinally.retLocal = code.getFinallyLocal("ret"); code.astore(inFinally.retLocal); // Trick the JVM verifier into thinking this code might not