You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Another python 3 ELSE fixes and ...
Makefile: - test python 3.0 bytecode - turn full --verify back on Python 3.x
This commit is contained in:
@@ -799,9 +799,10 @@ class Scanner3(Scanner):
|
||||
self.not_continue.add(prev_op[rtarget])
|
||||
|
||||
if rtarget < end and (
|
||||
code[rtarget] != self.opc.END_FINALLY
|
||||
and code[prev_op[rrtarget]] not in (self.opc.POP_EXCEPT,
|
||||
self.opc.END_FINALLY)):
|
||||
code[rtarget] not in (self.opc.END_FINALLY,
|
||||
self.opc.JUMP_ABSOLUTE) and
|
||||
code[prev_op[rrtarget]] not in (self.opc.POP_EXCEPT,
|
||||
self.opc.END_FINALLY)):
|
||||
self.structs.append({'type': 'else',
|
||||
'start': rtarget,
|
||||
'end': end})
|
||||
|
Reference in New Issue
Block a user