You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Small changes - bump required xdis version
This commit is contained in:
@@ -57,7 +57,7 @@ entry_points = {
|
|||||||
]}
|
]}
|
||||||
ftp_url = None
|
ftp_url = None
|
||||||
install_requires = ['spark-parser >= 1.8.7, < 1.9.0',
|
install_requires = ['spark-parser >= 1.8.7, < 1.9.0',
|
||||||
'xdis >= 3.9.1, < 4.1.0']
|
'xdis >= 4.0.0, < 4.1.0']
|
||||||
|
|
||||||
license = 'GPL3'
|
license = 'GPL3'
|
||||||
mailing_list = 'python-debugger@googlegroups.com'
|
mailing_list = 'python-debugger@googlegroups.com'
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2018 by Rocky Bernstein
|
# Copyright (c) 2018-2019 by Rocky Bernstein
|
||||||
"""
|
"""
|
||||||
Python 1.3 bytecode decompiler massaging.
|
Python 1.3 bytecode decompiler massaging.
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ class Scanner13(scan.Scanner14):
|
|||||||
self.version = 1.3
|
self.version = 1.3
|
||||||
return
|
return
|
||||||
|
|
||||||
# def ingest22(self, co, classname=None, code_objects={}, show_asm=None):
|
# def ingest(self, co, classname=None, code_objects={}, show_asm=None):
|
||||||
# tokens, customize = self.parent_ingest(co, classname, code_objects, show_asm)
|
# tokens, customize = self.parent_ingest(co, classname, code_objects, show_asm)
|
||||||
# tokens = [t for t in tokens if t.kind != 'SET_LINENO']
|
# tokens = [t for t in tokens if t.kind != 'SET_LINENO']
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2018 by Rocky Bernstein
|
# Copyright (c) 2018-2019 by Rocky Bernstein
|
||||||
"""
|
"""
|
||||||
Python 1.4 bytecode decompiler massaging.
|
Python 1.4 bytecode decompiler massaging.
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ class Scanner14(scan.Scanner15):
|
|||||||
self.genexpr_name = '<generator expression>'
|
self.genexpr_name = '<generator expression>'
|
||||||
return
|
return
|
||||||
|
|
||||||
# def ingest22(self, co, classname=None, code_objects={}, show_asm=None):
|
# def ingest(self, co, classname=None, code_objects={}, show_asm=None):
|
||||||
# tokens, customize = self.parent_ingest(co, classname, code_objects, show_asm)
|
# tokens, customize = self.parent_ingest(co, classname, code_objects, show_asm)
|
||||||
# tokens = [t for t in tokens if t.kind != 'SET_LINENO']
|
# tokens = [t for t in tokens if t.kind != 'SET_LINENO']
|
||||||
|
|
||||||
|
@@ -24,10 +24,10 @@ scanner routine for Python 3.
|
|||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
from uncompyle6.scanners.scanner37 import Scanner3
|
from uncompyle6.scanners.scanner3 import Scanner3
|
||||||
|
|
||||||
# bytecode verification, verify(), uses JUMP_OPs from here
|
# bytecode verification, verify(), uses JUMP_OPs from here
|
||||||
from xdis.opcodes import opcode_37 as opc
|
from xdis.opcodes import opcode_38 as opc
|
||||||
JUMP_OPs = opc.JUMP_OPS
|
JUMP_OPs = opc.JUMP_OPS
|
||||||
|
|
||||||
class Scanner38(Scanner3):
|
class Scanner38(Scanner3):
|
||||||
|
Reference in New Issue
Block a user