You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
Fix import and 3.x class bugs...
import x.y as z was failing across all Python versions class decorators for Python 3.0..3.3 was failing reduce 3.x while grammar rules
This commit is contained in:
@@ -373,11 +373,6 @@ class Python3Parser(PythonParser):
|
||||
whilestmt ::= SETUP_LOOP testexpr l_stmts_opt JUMP_BACK POP_BLOCK
|
||||
COME_FROM_LOOP
|
||||
|
||||
# The JUMP_ABSOLUTE below comes from escaping an "if" block which surrounds
|
||||
# the while. This is messy
|
||||
whilestmt ::= SETUP_LOOP testexpr l_stmts_opt JUMP_BACK POP_BLOCK
|
||||
JUMP_ABSOLUTE COME_FROM_LOOP
|
||||
|
||||
whilestmt ::= SETUP_LOOP testexpr return_stmts POP_BLOCK
|
||||
COME_FROM_LOOP
|
||||
|
||||
|
Reference in New Issue
Block a user