You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
Generalize 3.7 attribute with LOAD_METHOD
This commit is contained in:
BIN
test/bytecode_3.7/03_double_star_unpack.pyc
Normal file
BIN
test/bytecode_3.7/03_double_star_unpack.pyc
Normal file
Binary file not shown.
BIN
test/bytecode_3.7/03_if_elif.pyc
Normal file
BIN
test/bytecode_3.7/03_if_elif.pyc
Normal file
Binary file not shown.
BIN
test/bytecode_3.7/03_weird26.pyc
Normal file
BIN
test/bytecode_3.7/03_weird26.pyc
Normal file
Binary file not shown.
BIN
test/bytecode_3.7/03_while-if-break.pyc
Normal file
BIN
test/bytecode_3.7/03_while-if-break.pyc
Normal file
Binary file not shown.
BIN
test/bytecode_3.7/04_class_kwargs.pyc
Normal file
BIN
test/bytecode_3.7/04_class_kwargs.pyc
Normal file
Binary file not shown.
@@ -62,9 +62,7 @@ class Python37Parser(Python36Parser):
|
|||||||
# Is there a pattern here?
|
# Is there a pattern here?
|
||||||
attributes ::= IMPORT_FROM ROT_TWO POP_TOP IMPORT_FROM
|
attributes ::= IMPORT_FROM ROT_TWO POP_TOP IMPORT_FROM
|
||||||
|
|
||||||
# FIXME: generalize and specialize
|
attribute37 ::= expr LOAD_METHOD
|
||||||
attribute37 ::= LOAD_FAST LOAD_METHOD
|
|
||||||
attribute37 ::= LOAD_NAME LOAD_METHOD
|
|
||||||
expr ::= attribute37
|
expr ::= attribute37
|
||||||
|
|
||||||
# FIXME: generalize and specialize
|
# FIXME: generalize and specialize
|
||||||
|
Reference in New Issue
Block a user