You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
Python 3.0 bytecode decoding
This commit is contained in:
@@ -1437,8 +1437,18 @@ class Python3Parser(PythonParser):
|
||||
except_handler COME_FROM else_suitel
|
||||
opt_come_from_except
|
||||
""",
|
||||
nop_func,
|
||||
nop_func
|
||||
)
|
||||
if self.version == 3.0:
|
||||
self.addRule(
|
||||
"""
|
||||
tryelsestmtl3 ::= SETUP_EXCEPT suite_stmts_opt POP_BLOCK
|
||||
except_handler COME_FROM else_suitel
|
||||
come_froms
|
||||
""",
|
||||
nop_func
|
||||
)
|
||||
|
||||
custom_ops_processed.add(opname)
|
||||
elif opname_base in ("UNPACK_EX",):
|
||||
before_count, after_count = token.attr
|
||||
|
Reference in New Issue
Block a user