You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Plough forward on 3.7 CALL_FUNCTION_EX
This commit is contained in:
BIN
test/bytecode_3.7/01_class.pyc
Normal file
BIN
test/bytecode_3.7/01_class.pyc
Normal file
Binary file not shown.
BIN
test/bytecode_3.7/01_named_and_kwargs.pyc
Normal file
BIN
test/bytecode_3.7/01_named_and_kwargs.pyc
Normal file
Binary file not shown.
@@ -251,10 +251,13 @@ class Python36Parser(Python35Parser):
|
||||
if self.version > 3.6:
|
||||
self.addRule("""
|
||||
expr ::= call_ex_kw3
|
||||
expr ::= call_ex_kw
|
||||
call_ex_kw3 ::= expr
|
||||
build_tuple_unpack_with_call
|
||||
expr
|
||||
CALL_FUNCTION_EX
|
||||
call_ex_kw ::= expr expr
|
||||
build_map_unpack_with_call CALL_FUNCTION_EX
|
||||
""", nop_func)
|
||||
pass
|
||||
else:
|
||||
|
Reference in New Issue
Block a user