diff --git a/test/bytecode_2.5/07_try_except.pyc b/test/bytecode_2.5/07_try_except.pyc new file mode 100644 index 00000000..f5634516 Binary files /dev/null and b/test/bytecode_2.5/07_try_except.pyc differ diff --git a/uncompyle6/parsers/parse25.py b/uncompyle6/parsers/parse25.py index 435b904e..d7aa0c17 100644 --- a/uncompyle6/parsers/parse25.py +++ b/uncompyle6/parsers/parse25.py @@ -36,6 +36,8 @@ class Python25Parser(Python26Parser): with_as ::= expr setupwithas store suite_stmts_opt POP_BLOCK LOAD_CONST COME_FROM with_cleanup + # The last except of a "try: ... except" can do this... + except_suite ::= c_stmts_opt COME_FROM JUMP_ABSOLUTE POP_TOP store ::= STORE_NAME store ::= STORE_FAST