X7ROOT File Manager
Current Path:
/usr/lib/python3.8/site-packages/setuptools
usr
/
lib
/
python3.8
/
site-packages
/
setuptools
/
ðŸ“
..
📄
__init__.py
(7.11 KB)
ðŸ“
__pycache__
📄
_deprecation_warning.py
(218 B)
📄
_imp.py
(2.17 KB)
ðŸ“
_vendor
📄
archive_util.py
(6.44 KB)
📄
build_meta.py
(9.37 KB)
ðŸ“
command
📄
config.py
(20.05 KB)
📄
dep_util.py
(935 B)
📄
depends.py
(5.39 KB)
📄
dist.py
(49.13 KB)
📄
extension.py
(1.69 KB)
ðŸ“
extern
📄
glibc.py
(3.07 KB)
📄
glob.py
(4.96 KB)
📄
launch.py
(787 B)
📄
lib2to3_ex.py
(1.97 KB)
📄
monkey.py
(5.14 KB)
📄
msvc.py
(45.66 KB)
📄
namespaces.py
(3.12 KB)
📄
package_index.py
(39.65 KB)
📄
pep425tags.py
(10.61 KB)
📄
py27compat.py
(1.46 KB)
📄
py31compat.py
(838 B)
📄
py33compat.py
(1.3 KB)
📄
py34compat.py
(245 B)
📄
sandbox.py
(13.94 KB)
📄
script (dev).tmpl
(218 B)
📄
script.tmpl
(138 B)
📄
site-patch.py
(2.25 KB)
📄
ssl_support.py
(8.29 KB)
📄
unicode_utils.py
(996 B)
📄
version.py
(144 B)
📄
wheel.py
(7.9 KB)
📄
windows_support.py
(714 B)
Editing: py33compat.py
import dis import array import collections try: import html except ImportError: html = None from setuptools.extern import six from setuptools.extern.six.moves import html_parser __metaclass__ = type OpArg = collections.namedtuple('OpArg', 'opcode arg') class Bytecode_compat: def __init__(self, code): self.code = code def __iter__(self): """Yield '(op,arg)' pair for each operation in code object 'code'""" bytes = array.array('b', self.code.co_code) eof = len(self.code.co_code) ptr = 0 extended_arg = 0 while ptr < eof: op = bytes[ptr] if op >= dis.HAVE_ARGUMENT: arg = bytes[ptr + 1] + bytes[ptr + 2] * 256 + extended_arg ptr += 3 if op == dis.EXTENDED_ARG: long_type = six.integer_types[-1] extended_arg = arg * long_type(65536) continue else: arg = None ptr += 1 yield OpArg(op, arg) Bytecode = getattr(dis, 'Bytecode', Bytecode_compat) unescape = getattr(html, 'unescape', None) if unescape is None: # HTMLParser.unescape is deprecated since Python 3.4, and will be removed # from 3.9. unescape = html_parser.HTMLParser().unescape
Upload File
Create Folder