Adjust for xdis opcode JUMP_OPS. release 2.12.0

This commit is contained in:
rocky
2017-09-25 20:00:27 -04:00
24 changed files with 200 additions and 46 deletions

View File

@@ -15,7 +15,7 @@ from uncompyle6.scanners.scanner3 import Scanner3
# bytecode verification, verify(), uses JUMP_OPs from here
from xdis.opcodes import opcode_36 as opc
JUMP_OPs = map(lambda op: opc.opname[op], opc.hasjrel + opc.hasjabs)
JUMP_OPs = opc.JUMP_OPS
class Scanner37(Scanner3):