You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Add a missing 3.6 generator rule
This commit is contained in:
Binary file not shown.
BIN
test/bytecode_3.6/08_genexpr.pyc
Normal file
BIN
test/bytecode_3.6/08_genexpr.pyc
Normal file
Binary file not shown.
BIN
test/bytecode_3.6/10_genexpr.pyc
Normal file
BIN
test/bytecode_3.6/10_genexpr.pyc
Normal file
Binary file not shown.
@@ -872,6 +872,9 @@ class Python3Parser(PythonParser):
|
||||
self.add_unique_rule(rule, opname, token.attr, customize)
|
||||
|
||||
if has_get_iter_call_function1:
|
||||
rule_pat = ("generator_exp ::= %sload_genexpr %%s%s expr "
|
||||
"GET_ITER CALL_FUNCTION_1" % ('pos_arg '* args_pos, opname))
|
||||
self.add_make_function_rule(rule_pat, opname, token.attr, customize)
|
||||
rule_pat = ("generator_exp ::= %sload_closure load_genexpr %%s%s expr "
|
||||
"GET_ITER CALL_FUNCTION_1" % ('pos_arg '* args_pos, opname))
|
||||
self.add_make_function_rule(rule_pat, opname, token.attr, customize)
|
||||
|
Reference in New Issue
Block a user