Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /lib/python3.6/site-packages/setuptools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3.6/site-packages/setuptools/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


OpArg = collections.namedtuple('OpArg', 'opcode arg')


class Bytecode_compat(object):
    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', html_parser.HTMLParser().unescape)
Name
Size
Permissions
Options
__pycache__
--
drwxr-xr-x
_vendor
--
drwxr-xr-x
command
--
drwxr-xr-x
extern
--
drwxr-xr-x
__init__.py
5.566 KB
-rw-r--r--
archive_util.py
6.438 KB
-rw-r--r--
build_meta.py
5.538 KB
-rw-r--r--
config.py
17.584 KB
-rw-r--r--
dep_util.py
0.913 KB
-rw-r--r--
depends.py
5.7 KB
-rw-r--r--
dist.py
41.614 KB
-rw-r--r--
extension.py
1.688 KB
-rw-r--r--
glibc.py
3.072 KB
-rw-r--r--
glob.py
5.085 KB
-rw-r--r--
launch.py
0.769 KB
-rw-r--r--
lib2to3_ex.py
1.966 KB
-rw-r--r--
monkey.py
5.138 KB
-rw-r--r--
msvc.py
39.919 KB
-rw-r--r--
namespaces.py
3.124 KB
-rw-r--r--
package_index.py
39.375 KB
-rw-r--r--
pep425tags.py
10.618 KB
-rw-r--r--
py27compat.py
0.523 KB
-rw-r--r--
py31compat.py
1.164 KB
-rw-r--r--
py33compat.py
1.154 KB
-rw-r--r--
py36compat.py
2.823 KB
-rw-r--r--
sandbox.py
13.941 KB
-rw-r--r--
script (dev).tmpl
0.196 KB
-rw-r--r--
script.tmpl
0.135 KB
-rw-r--r--
site-patch.py
2.253 KB
-rw-r--r--
ssl_support.py
8.293 KB
-rw-r--r--
unicode_utils.py
0.973 KB
-rw-r--r--
version.py
0.141 KB
-rw-r--r--
wheel.py
7.596 KB
-rw-r--r--
windows_support.py
0.697 KB
-rw-r--r--