Skip to content

Commit b10dd0e

Browse files
committed
2.6 bug appears in 2.4 and 2.5
1 parent 6fe8a1d commit b10dd0e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/bytecode_2.5/07_try_except.pyc

1.44 KB
Binary file not shown.

uncompyle6/parsers/parse25.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ def p_misc25(self, args):
3636
with_as ::= expr setupwithas store suite_stmts_opt
3737
POP_BLOCK LOAD_CONST COME_FROM with_cleanup
3838
39+
# The last except of a "try: ... except" can do this...
40+
except_suite ::= c_stmts_opt COME_FROM JUMP_ABSOLUTE POP_TOP
3941
4042
store ::= STORE_NAME
4143
store ::= STORE_FAST

0 commit comments

Comments
 (0)