You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Show line numbers in 2.6 "after" asm ..
start to understand some of the Python 2.6 bytecode parse failures.
This commit is contained in:
@@ -877,8 +877,13 @@ class Scanner2(scan.Scanner):
|
||||
and ((self.code[offset+3] == self.opc.END_FINALLY)
|
||||
or (self.code[offset+3] == self.opc.POP_TOP
|
||||
and self.code[offset+4] == self.opc.END_FINALLY))):
|
||||
|
||||
# FIXME: rocky: I think we need something like this...
|
||||
# if offset not in set(self.ignore_if):
|
||||
# targets[label] = targets.get(label, []) + [offset]
|
||||
targets[label] = targets.get(label, []) + [offset]
|
||||
pass
|
||||
|
||||
pass
|
||||
pass
|
||||
elif op == self.opc.END_FINALLY and offset in self.fixed_jumps and self.version == 2.7:
|
||||
|
Reference in New Issue
Block a user