/snap/core20/2769/usr/lib/python3/dist-packages/setuptools
NameSizeModeActions
command/-0755rm
extern/-0755rm
_vendor/-0755rm
__pycache__/-0755rm
archive_util.py66260644editdlrm
build_meta.py99600644editdlrm
cli-32.exe655360644editdlrm
cli-64.exe747520644editdlrm
cli.exe655360644editdlrm
config.py205750644editdlrm
depends.py55170644editdlrm
dep_util.py9490644editdlrm
dist.py498720644editdlrm
errors.py5240644editdlrm
extension.py17290644editdlrm
glob.py50840644editdlrm
gui-32.exe655360644editdlrm
gui-64.exe752640644editdlrm
gui.exe655360644editdlrm
installer.py53360644editdlrm
launch.py7870644editdlrm
lib2to3_ex.py20130644editdlrm
monkey.py52640644editdlrm
msvc.py468070644editdlrm
namespaces.py32230644editdlrm
package_index.py423940644editdlrm
py27compat.py15040644editdlrm
py31compat.py8380644editdlrm
py33compat.py13300644editdlrm
py34compat.py2450644editdlrm
sandbox.py142840644editdlrm
script (dev).tmpl2180644editdlrm
script.tmpl1380644editdlrm
site-patch.py23460644editdlrm
ssl_support.py85430644editdlrm
unicode_utils.py9960644editdlrm
version.py1440644editdlrm
wheel.py84680644editdlrm
windows_support.py7140644editdlrm
_deprecation_warning.py2180644editdlrm
_imp.py23880644editdlrm
__init__.py72730644editdlrm
Edit: /snap/core20/2769/usr/lib/python3/dist-packages/setuptools/py33compat.py (1330B)
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