[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.116.81.161: ~ $
import functools
import itertools
import platform
import sys


def add_ext_suffix_39(vars):
    """
    Ensure vars contains 'EXT_SUFFIX'. pypa/distutils#130
    """
    import _imp

    ext_suffix = _imp.extension_suffixes()[0]
    vars.update(
        EXT_SUFFIX=ext_suffix,
        # sysconfig sets SO to match EXT_SUFFIX, so maintain
        # that expectation.
        # https://github.com/python/cpython/blob/785cc6770588de087d09e89a69110af2542be208/Lib/sysconfig.py#L671-L673
        SO=ext_suffix,
    )


needs_ext_suffix = sys.version_info < (3, 10) and platform.system() == 'Windows'
add_ext_suffix = add_ext_suffix_39 if needs_ext_suffix else lambda vars: None


# from more_itertools
class UnequalIterablesError(ValueError):
    def __init__(self, details=None):
        msg = 'Iterables have different lengths'
        if details is not None:
            msg += (': index 0 has length {}; index {} has length {}').format(*details)

        super().__init__(msg)


# from more_itertools
def _zip_equal_generator(iterables):
    _marker = object()
    for combo in itertools.zip_longest(*iterables, fillvalue=_marker):
        for val in combo:
            if val is _marker:
                raise UnequalIterablesError()
        yield combo


# from more_itertools
def _zip_equal(*iterables):
    # Check whether the iterables are all the same size.
    try:
        first_size = len(iterables[0])
        for i, it in enumerate(iterables[1:], 1):
            size = len(it)
            if size != first_size:
                raise UnequalIterablesError(details=(first_size, i, size))
        # All sizes are equal, we can use the built-in zip.
        return zip(*iterables)
    # If any one of the iterables didn't have a length, start reading
    # them until one runs out.
    except TypeError:
        return _zip_equal_generator(iterables)


zip_strict = (
    _zip_equal if sys.version_info < (3, 10) else functools.partial(zip, strict=True)
)

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
command Folder 0755
__init__.py File 359 B 0644
_collections.py File 5.18 KB 0644
_functools.py File 1.73 KB 0644
_log.py File 43 B 0644
_macos_compat.py File 239 B 0644
_modified.py File 2.35 KB 0644
_msvccompiler.py File 19.16 KB 0644
archive_util.py File 8.37 KB 0644
bcppcompiler.py File 14.38 KB 0644
ccompiler.py File 47.5 KB 0644
cmd.py File 17.44 KB 0644
config.py File 4.8 KB 0644
core.py File 9.18 KB 0644
cygwinccompiler.py File 11.64 KB 0644
debug.py File 139 B 0644
dep_util.py File 349 B 0644
dir_util.py File 7.88 KB 0644
dist.py File 49 KB 0644
errors.py File 3.5 KB 0644
extension.py File 10.03 KB 0644
fancy_getopt.py File 17.48 KB 0644
file_util.py File 8.02 KB 0644
filelist.py File 13.39 KB 0644
log.py File 1.17 KB 0644
msvc9compiler.py File 29.48 KB 0644
msvccompiler.py File 23.02 KB 0644
py38compat.py File 217 B 0644
py39compat.py File 1.92 KB 0644
spawn.py File 3.41 KB 0644
sysconfig.py File 18.48 KB 0644
text_file.py File 11.8 KB 0644
unixccompiler.py File 15.24 KB 0644
util.py File 17.68 KB 0644
version.py File 12.65 KB 0644
versionpredicate.py File 5.08 KB 0644