You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
PyPy 3.7 scanner bug
This commit is contained in:
@@ -6,7 +6,7 @@ Does some additional massaging of xdis-disassembled instructions to
|
||||
make things easier for decompilation.
|
||||
"""
|
||||
|
||||
import decompyle3.scanners.scanner3y as scan
|
||||
import decompyle3.scanners.scanner37 as scan
|
||||
|
||||
# bytecode verification, verify(), uses JUMP_OPS from here
|
||||
from xdis.opcodes import opcode_37pypy as opc # is this right?
|
||||
@@ -21,4 +21,5 @@ class ScannerPyPy37(scan.Scanner37):
|
||||
scan.Scanner37.__init__(self, show_asm, is_pypy=True)
|
||||
self.version = (3, 7)
|
||||
self.opc = opc
|
||||
self.is_pypy = True
|
||||
return
|
||||
|
Reference in New Issue
Block a user