diff --git a/test/bytecode_3.7/03_double_star_unpack.pyc b/test/bytecode_3.7/03_double_star_unpack.pyc new file mode 100644 index 00000000..8a56f377 Binary files /dev/null and b/test/bytecode_3.7/03_double_star_unpack.pyc differ diff --git a/test/bytecode_3.7/03_if_elif.pyc b/test/bytecode_3.7/03_if_elif.pyc new file mode 100644 index 00000000..33f5a30a Binary files /dev/null and b/test/bytecode_3.7/03_if_elif.pyc differ diff --git a/test/bytecode_3.7/03_weird26.pyc b/test/bytecode_3.7/03_weird26.pyc new file mode 100644 index 00000000..fbeb1238 Binary files /dev/null and b/test/bytecode_3.7/03_weird26.pyc differ diff --git a/test/bytecode_3.7/03_while-if-break.pyc b/test/bytecode_3.7/03_while-if-break.pyc new file mode 100644 index 00000000..893e9bb5 Binary files /dev/null and b/test/bytecode_3.7/03_while-if-break.pyc differ diff --git a/test/bytecode_3.7/04_class_kwargs.pyc b/test/bytecode_3.7/04_class_kwargs.pyc new file mode 100644 index 00000000..a8317b70 Binary files /dev/null and b/test/bytecode_3.7/04_class_kwargs.pyc differ diff --git a/uncompyle6/parsers/parse37.py b/uncompyle6/parsers/parse37.py index 4dd15cd8..de5d880a 100644 --- a/uncompyle6/parsers/parse37.py +++ b/uncompyle6/parsers/parse37.py @@ -62,9 +62,7 @@ class Python37Parser(Python36Parser): # Is there a pattern here? attributes ::= IMPORT_FROM ROT_TWO POP_TOP IMPORT_FROM - # FIXME: generalize and specialize - attribute37 ::= LOAD_FAST LOAD_METHOD - attribute37 ::= LOAD_NAME LOAD_METHOD + attribute37 ::= expr LOAD_METHOD expr ::= attribute37 # FIXME: generalize and specialize