PyPy 3.7 scanner bug

This commit is contained in:
rocky
2021-11-21 00:04:16 -05:00
parent 88dd5d7756
commit d752f63d12

View File

@@ -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