You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
use totally xdis's opcodes
Needs xdis 1.1.0 or greater
This commit is contained in:
@@ -8,12 +8,12 @@ scanner routine for Python 3.
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import xdis
|
||||
# import xdis
|
||||
|
||||
from uncompyle6.scanners.scanner3 import Scanner3
|
||||
|
||||
# bytecode verification, verify(), uses JUMP_OPs from here
|
||||
JUMP_OPs = xdis.opcodes.opcode_35.JUMP_OPs
|
||||
# JUMP_OPs = xdis.opcodes.opcode_35.JUMP_OPs
|
||||
|
||||
class Scanner35(Scanner3):
|
||||
|
||||
|
Reference in New Issue
Block a user