You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
2.5/2.6 fn name clash
fixes list conprehension problem
This commit is contained in:
BIN
test/bytecode_2.5/05_list_comprehension.pyc
Normal file
BIN
test/bytecode_2.5/05_list_comprehension.pyc
Normal file
Binary file not shown.
@@ -12,7 +12,7 @@ class Python25Parser(Python26Parser):
|
||||
super(Python25Parser, self).__init__(debug_parser)
|
||||
self.customized = {}
|
||||
|
||||
def p_misc(self, args):
|
||||
def p_misc25(self, args):
|
||||
'''
|
||||
|
||||
# If "return_if_stmt" is in a loop, a JUMP_BACK can be emitted. In 2.6 the
|
||||
|
@@ -208,7 +208,7 @@ class Python26Parser(Python2Parser):
|
||||
except_suite ::= c_stmts_opt jmp_abs come_from_pop
|
||||
'''
|
||||
|
||||
def p_misc(self, args):
|
||||
def p_misc26(self, args):
|
||||
'''
|
||||
conditional ::= expr jmp_false expr jf_cf_pop expr come_from_opt
|
||||
and ::= expr JUMP_IF_FALSE POP_TOP expr JUMP_IF_FALSE POP_TOP
|
||||
|
Reference in New Issue
Block a user