Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- parrot/share/terminfo/t/t1061 +0 -0
- parrot/share/terminfo/t/t1061f +0 -0
- parrot/share/terminfo/t/t16 +0 -0
- parrot/share/terminfo/t/tab +0 -0
- parrot/share/terminfo/t/tab132-15 +0 -0
- parrot/share/terminfo/t/tandem6510 +0 -0
- parrot/share/terminfo/t/tandem653 +0 -0
- parrot/share/terminfo/t/tek4024 +0 -0
- parrot/share/terminfo/t/tek4107brl +0 -0
- parrot/share/terminfo/t/tek4112-nd +0 -0
- parrot/share/terminfo/t/tek4113-34 +0 -0
- parrot/share/terminfo/t/tek4114 +0 -0
- parrot/share/terminfo/t/tek4125 +0 -0
- parrot/share/terminfo/t/teken-2022 +0 -0
- parrot/share/terminfo/t/teletec +0 -0
- parrot/share/terminfo/t/teraterm2.3 +0 -0
- parrot/share/terminfo/t/terminet1200 +0 -0
- parrot/share/terminfo/t/terminology-1.8.1 +0 -0
- parrot/share/terminfo/t/ti916-132 +0 -0
- parrot/share/terminfo/t/ti916-8 +0 -0
- parrot/share/terminfo/t/ti916-8-132 +0 -0
- parrot/share/terminfo/t/ti931 +0 -0
- parrot/share/terminfo/t/tmux-direct +0 -0
- parrot/share/terminfo/t/tn1200 +0 -0
- parrot/share/terminfo/t/trs2 +0 -0
- parrot/share/terminfo/t/tty35 +0 -0
- parrot/share/terminfo/t/tty4426 +0 -0
- parrot/share/terminfo/t/tty5420 +0 -0
- parrot/share/terminfo/t/tty5420-w +0 -0
- parrot/share/terminfo/t/tty5420-w-nl +0 -0
- parrot/share/terminfo/t/tty5620-s +0 -0
- parrot/share/terminfo/t/tvi912 +0 -0
- parrot/share/terminfo/t/tvi912b-vb-mc +0 -0
- parrot/share/terminfo/t/tvi912c-2p +0 -0
- parrot/share/terminfo/t/tvi912c-unk-2p +0 -0
- parrot/share/terminfo/t/tvi914 +0 -0
- parrot/share/terminfo/t/tvi920b-2p-mc +0 -0
- parrot/share/terminfo/t/tvi920b-2p-unk +0 -0
- parrot/share/terminfo/t/tvi920b-unk-vb +0 -0
- parrot/share/terminfo/t/tvi920c-2p-unk +0 -0
- parrot/share/terminfo/t/tvi920c-mc-2p +0 -0
- parrot/share/terminfo/t/tvi920c-unk-vb +0 -0
- parrot/share/terminfo/t/tvi920c-vb-unk +0 -0
- parrot/share/terminfo/t/tvi924 +0 -0
- parrot/share/terminfo/t/tvi925-hi +0 -0
- parrot/share/terminfo/u/ultima2 +0 -0
- parrot/share/terminfo/u/uniterm +0 -0
- parrot/share/terminfo/u/uniterm49 +0 -0
- videollama2/lib/python3.10/site-packages/_distutils_hack/__init__.py +239 -0
- videollama2/lib/python3.10/site-packages/_distutils_hack/__pycache__/__init__.cpython-310.pyc +0 -0
parrot/share/terminfo/t/t1061
ADDED
|
Binary file (566 Bytes). View file
|
|
|
parrot/share/terminfo/t/t1061f
ADDED
|
Binary file (556 Bytes). View file
|
|
|
parrot/share/terminfo/t/t16
ADDED
|
Binary file (488 Bytes). View file
|
|
|
parrot/share/terminfo/t/tab
ADDED
|
Binary file (1.2 kB). View file
|
|
|
parrot/share/terminfo/t/tab132-15
ADDED
|
Binary file (1.2 kB). View file
|
|
|
parrot/share/terminfo/t/tandem6510
ADDED
|
Binary file (957 Bytes). View file
|
|
|
parrot/share/terminfo/t/tandem653
ADDED
|
Binary file (467 Bytes). View file
|
|
|
parrot/share/terminfo/t/tek4024
ADDED
|
Binary file (669 Bytes). View file
|
|
|
parrot/share/terminfo/t/tek4107brl
ADDED
|
Binary file (920 Bytes). View file
|
|
|
parrot/share/terminfo/t/tek4112-nd
ADDED
|
Binary file (489 Bytes). View file
|
|
|
parrot/share/terminfo/t/tek4113-34
ADDED
|
Binary file (498 Bytes). View file
|
|
|
parrot/share/terminfo/t/tek4114
ADDED
|
Binary file (482 Bytes). View file
|
|
|
parrot/share/terminfo/t/tek4125
ADDED
|
Binary file (1.1 kB). View file
|
|
|
parrot/share/terminfo/t/teken-2022
ADDED
|
Binary file (1.25 kB). View file
|
|
|
parrot/share/terminfo/t/teletec
ADDED
|
Binary file (362 Bytes). View file
|
|
|
parrot/share/terminfo/t/teraterm2.3
ADDED
|
Binary file (1.6 kB). View file
|
|
|
parrot/share/terminfo/t/terminet1200
ADDED
|
Binary file (384 Bytes). View file
|
|
|
parrot/share/terminfo/t/terminology-1.8.1
ADDED
|
Binary file (3.44 kB). View file
|
|
|
parrot/share/terminfo/t/ti916-132
ADDED
|
Binary file (1.7 kB). View file
|
|
|
parrot/share/terminfo/t/ti916-8
ADDED
|
Binary file (1.7 kB). View file
|
|
|
parrot/share/terminfo/t/ti916-8-132
ADDED
|
Binary file (1.68 kB). View file
|
|
|
parrot/share/terminfo/t/ti931
ADDED
|
Binary file (533 Bytes). View file
|
|
|
parrot/share/terminfo/t/tmux-direct
ADDED
|
Binary file (3.45 kB). View file
|
|
|
parrot/share/terminfo/t/tn1200
ADDED
|
Binary file (384 Bytes). View file
|
|
|
parrot/share/terminfo/t/trs2
ADDED
|
Binary file (451 Bytes). View file
|
|
|
parrot/share/terminfo/t/tty35
ADDED
|
Binary file (340 Bytes). View file
|
|
|
parrot/share/terminfo/t/tty4426
ADDED
|
Binary file (807 Bytes). View file
|
|
|
parrot/share/terminfo/t/tty5420
ADDED
|
Binary file (1.38 kB). View file
|
|
|
parrot/share/terminfo/t/tty5420-w
ADDED
|
Binary file (1.39 kB). View file
|
|
|
parrot/share/terminfo/t/tty5420-w-nl
ADDED
|
Binary file (1.4 kB). View file
|
|
|
parrot/share/terminfo/t/tty5620-s
ADDED
|
Binary file (470 Bytes). View file
|
|
|
parrot/share/terminfo/t/tvi912
ADDED
|
Binary file (816 Bytes). View file
|
|
|
parrot/share/terminfo/t/tvi912b-vb-mc
ADDED
|
Binary file (1.45 kB). View file
|
|
|
parrot/share/terminfo/t/tvi912c-2p
ADDED
|
Binary file (1.3 kB). View file
|
|
|
parrot/share/terminfo/t/tvi912c-unk-2p
ADDED
|
Binary file (1.3 kB). View file
|
|
|
parrot/share/terminfo/t/tvi914
ADDED
|
Binary file (816 Bytes). View file
|
|
|
parrot/share/terminfo/t/tvi920b-2p-mc
ADDED
|
Binary file (1.51 kB). View file
|
|
|
parrot/share/terminfo/t/tvi920b-2p-unk
ADDED
|
Binary file (1.39 kB). View file
|
|
|
parrot/share/terminfo/t/tvi920b-unk-vb
ADDED
|
Binary file (1.41 kB). View file
|
|
|
parrot/share/terminfo/t/tvi920c-2p-unk
ADDED
|
Binary file (1.39 kB). View file
|
|
|
parrot/share/terminfo/t/tvi920c-mc-2p
ADDED
|
Binary file (1.51 kB). View file
|
|
|
parrot/share/terminfo/t/tvi920c-unk-vb
ADDED
|
Binary file (1.41 kB). View file
|
|
|
parrot/share/terminfo/t/tvi920c-vb-unk
ADDED
|
Binary file (1.41 kB). View file
|
|
|
parrot/share/terminfo/t/tvi924
ADDED
|
Binary file (1.14 kB). View file
|
|
|
parrot/share/terminfo/t/tvi925-hi
ADDED
|
Binary file (601 Bytes). View file
|
|
|
parrot/share/terminfo/u/ultima2
ADDED
|
Binary file (772 Bytes). View file
|
|
|
parrot/share/terminfo/u/uniterm
ADDED
|
Binary file (1.68 kB). View file
|
|
|
parrot/share/terminfo/u/uniterm49
ADDED
|
Binary file (1.68 kB). View file
|
|
|
videollama2/lib/python3.10/site-packages/_distutils_hack/__init__.py
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# don't import any costly modules
|
| 2 |
+
import os
|
| 3 |
+
import sys
|
| 4 |
+
|
| 5 |
+
report_url = (
|
| 6 |
+
"https://github.com/pypa/setuptools/issues/new?template=distutils-deprecation.yml"
|
| 7 |
+
)
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
def warn_distutils_present():
|
| 11 |
+
if 'distutils' not in sys.modules:
|
| 12 |
+
return
|
| 13 |
+
import warnings
|
| 14 |
+
|
| 15 |
+
warnings.warn(
|
| 16 |
+
"Distutils was imported before Setuptools, but importing Setuptools "
|
| 17 |
+
"also replaces the `distutils` module in `sys.modules`. This may lead "
|
| 18 |
+
"to undesirable behaviors or errors. To avoid these issues, avoid "
|
| 19 |
+
"using distutils directly, ensure that setuptools is installed in the "
|
| 20 |
+
"traditional way (e.g. not an editable install), and/or make sure "
|
| 21 |
+
"that setuptools is always imported before distutils."
|
| 22 |
+
)
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
def clear_distutils():
|
| 26 |
+
if 'distutils' not in sys.modules:
|
| 27 |
+
return
|
| 28 |
+
import warnings
|
| 29 |
+
|
| 30 |
+
warnings.warn(
|
| 31 |
+
"Setuptools is replacing distutils. Support for replacing "
|
| 32 |
+
"an already imported distutils is deprecated. In the future, "
|
| 33 |
+
"this condition will fail. "
|
| 34 |
+
f"Register concerns at {report_url}"
|
| 35 |
+
)
|
| 36 |
+
mods = [
|
| 37 |
+
name
|
| 38 |
+
for name in sys.modules
|
| 39 |
+
if name == "distutils" or name.startswith("distutils.")
|
| 40 |
+
]
|
| 41 |
+
for name in mods:
|
| 42 |
+
del sys.modules[name]
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
def enabled():
|
| 46 |
+
"""
|
| 47 |
+
Allow selection of distutils by environment variable.
|
| 48 |
+
"""
|
| 49 |
+
which = os.environ.get('SETUPTOOLS_USE_DISTUTILS', 'local')
|
| 50 |
+
if which == 'stdlib':
|
| 51 |
+
import warnings
|
| 52 |
+
|
| 53 |
+
warnings.warn(
|
| 54 |
+
"Reliance on distutils from stdlib is deprecated. Users "
|
| 55 |
+
"must rely on setuptools to provide the distutils module. "
|
| 56 |
+
"Avoid importing distutils or import setuptools first, "
|
| 57 |
+
"and avoid setting SETUPTOOLS_USE_DISTUTILS=stdlib. "
|
| 58 |
+
f"Register concerns at {report_url}"
|
| 59 |
+
)
|
| 60 |
+
return which == 'local'
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
def ensure_local_distutils():
|
| 64 |
+
import importlib
|
| 65 |
+
|
| 66 |
+
clear_distutils()
|
| 67 |
+
|
| 68 |
+
# With the DistutilsMetaFinder in place,
|
| 69 |
+
# perform an import to cause distutils to be
|
| 70 |
+
# loaded from setuptools._distutils. Ref #2906.
|
| 71 |
+
with shim():
|
| 72 |
+
importlib.import_module('distutils')
|
| 73 |
+
|
| 74 |
+
# check that submodules load as expected
|
| 75 |
+
core = importlib.import_module('distutils.core')
|
| 76 |
+
assert '_distutils' in core.__file__, core.__file__
|
| 77 |
+
assert 'setuptools._distutils.log' not in sys.modules
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
def do_override():
|
| 81 |
+
"""
|
| 82 |
+
Ensure that the local copy of distutils is preferred over stdlib.
|
| 83 |
+
|
| 84 |
+
See https://github.com/pypa/setuptools/issues/417#issuecomment-392298401
|
| 85 |
+
for more motivation.
|
| 86 |
+
"""
|
| 87 |
+
if enabled():
|
| 88 |
+
warn_distutils_present()
|
| 89 |
+
ensure_local_distutils()
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
class _TrivialRe:
|
| 93 |
+
def __init__(self, *patterns) -> None:
|
| 94 |
+
self._patterns = patterns
|
| 95 |
+
|
| 96 |
+
def match(self, string):
|
| 97 |
+
return all(pat in string for pat in self._patterns)
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
class DistutilsMetaFinder:
|
| 101 |
+
def find_spec(self, fullname, path, target=None):
|
| 102 |
+
# optimization: only consider top level modules and those
|
| 103 |
+
# found in the CPython test suite.
|
| 104 |
+
if path is not None and not fullname.startswith('test.'):
|
| 105 |
+
return None
|
| 106 |
+
|
| 107 |
+
method_name = 'spec_for_{fullname}'.format(**locals())
|
| 108 |
+
method = getattr(self, method_name, lambda: None)
|
| 109 |
+
return method()
|
| 110 |
+
|
| 111 |
+
def spec_for_distutils(self):
|
| 112 |
+
if self.is_cpython():
|
| 113 |
+
return None
|
| 114 |
+
|
| 115 |
+
import importlib
|
| 116 |
+
import importlib.abc
|
| 117 |
+
import importlib.util
|
| 118 |
+
|
| 119 |
+
try:
|
| 120 |
+
mod = importlib.import_module('setuptools._distutils')
|
| 121 |
+
except Exception:
|
| 122 |
+
# There are a couple of cases where setuptools._distutils
|
| 123 |
+
# may not be present:
|
| 124 |
+
# - An older Setuptools without a local distutils is
|
| 125 |
+
# taking precedence. Ref #2957.
|
| 126 |
+
# - Path manipulation during sitecustomize removes
|
| 127 |
+
# setuptools from the path but only after the hook
|
| 128 |
+
# has been loaded. Ref #2980.
|
| 129 |
+
# In either case, fall back to stdlib behavior.
|
| 130 |
+
return None
|
| 131 |
+
|
| 132 |
+
class DistutilsLoader(importlib.abc.Loader):
|
| 133 |
+
def create_module(self, spec):
|
| 134 |
+
mod.__name__ = 'distutils'
|
| 135 |
+
return mod
|
| 136 |
+
|
| 137 |
+
def exec_module(self, module):
|
| 138 |
+
pass
|
| 139 |
+
|
| 140 |
+
return importlib.util.spec_from_loader(
|
| 141 |
+
'distutils', DistutilsLoader(), origin=mod.__file__
|
| 142 |
+
)
|
| 143 |
+
|
| 144 |
+
@staticmethod
|
| 145 |
+
def is_cpython():
|
| 146 |
+
"""
|
| 147 |
+
Suppress supplying distutils for CPython (build and tests).
|
| 148 |
+
Ref #2965 and #3007.
|
| 149 |
+
"""
|
| 150 |
+
return os.path.isfile('pybuilddir.txt')
|
| 151 |
+
|
| 152 |
+
def spec_for_pip(self):
|
| 153 |
+
"""
|
| 154 |
+
Ensure stdlib distutils when running under pip.
|
| 155 |
+
See pypa/pip#8761 for rationale.
|
| 156 |
+
"""
|
| 157 |
+
if sys.version_info >= (3, 12) or self.pip_imported_during_build():
|
| 158 |
+
return
|
| 159 |
+
clear_distutils()
|
| 160 |
+
self.spec_for_distutils = lambda: None
|
| 161 |
+
|
| 162 |
+
@classmethod
|
| 163 |
+
def pip_imported_during_build(cls):
|
| 164 |
+
"""
|
| 165 |
+
Detect if pip is being imported in a build script. Ref #2355.
|
| 166 |
+
"""
|
| 167 |
+
import traceback
|
| 168 |
+
|
| 169 |
+
return any(
|
| 170 |
+
cls.frame_file_is_setup(frame) for frame, line in traceback.walk_stack(None)
|
| 171 |
+
)
|
| 172 |
+
|
| 173 |
+
@staticmethod
|
| 174 |
+
def frame_file_is_setup(frame):
|
| 175 |
+
"""
|
| 176 |
+
Return True if the indicated frame suggests a setup.py file.
|
| 177 |
+
"""
|
| 178 |
+
# some frames may not have __file__ (#2940)
|
| 179 |
+
return frame.f_globals.get('__file__', '').endswith('setup.py')
|
| 180 |
+
|
| 181 |
+
def spec_for_sensitive_tests(self):
|
| 182 |
+
"""
|
| 183 |
+
Ensure stdlib distutils when running select tests under CPython.
|
| 184 |
+
|
| 185 |
+
python/cpython#91169
|
| 186 |
+
"""
|
| 187 |
+
clear_distutils()
|
| 188 |
+
self.spec_for_distutils = lambda: None
|
| 189 |
+
|
| 190 |
+
sensitive_tests = (
|
| 191 |
+
[
|
| 192 |
+
'test.test_distutils',
|
| 193 |
+
'test.test_peg_generator',
|
| 194 |
+
'test.test_importlib',
|
| 195 |
+
]
|
| 196 |
+
if sys.version_info < (3, 10)
|
| 197 |
+
else [
|
| 198 |
+
'test.test_distutils',
|
| 199 |
+
]
|
| 200 |
+
)
|
| 201 |
+
|
| 202 |
+
|
| 203 |
+
for name in DistutilsMetaFinder.sensitive_tests:
|
| 204 |
+
setattr(
|
| 205 |
+
DistutilsMetaFinder,
|
| 206 |
+
f'spec_for_{name}',
|
| 207 |
+
DistutilsMetaFinder.spec_for_sensitive_tests,
|
| 208 |
+
)
|
| 209 |
+
|
| 210 |
+
|
| 211 |
+
DISTUTILS_FINDER = DistutilsMetaFinder()
|
| 212 |
+
|
| 213 |
+
|
| 214 |
+
def add_shim():
|
| 215 |
+
DISTUTILS_FINDER in sys.meta_path or insert_shim()
|
| 216 |
+
|
| 217 |
+
|
| 218 |
+
class shim:
|
| 219 |
+
def __enter__(self) -> None:
|
| 220 |
+
insert_shim()
|
| 221 |
+
|
| 222 |
+
def __exit__(self, exc: object, value: object, tb: object) -> None:
|
| 223 |
+
_remove_shim()
|
| 224 |
+
|
| 225 |
+
|
| 226 |
+
def insert_shim():
|
| 227 |
+
sys.meta_path.insert(0, DISTUTILS_FINDER)
|
| 228 |
+
|
| 229 |
+
|
| 230 |
+
def _remove_shim():
|
| 231 |
+
try:
|
| 232 |
+
sys.meta_path.remove(DISTUTILS_FINDER)
|
| 233 |
+
except ValueError:
|
| 234 |
+
pass
|
| 235 |
+
|
| 236 |
+
|
| 237 |
+
if sys.version_info < (3, 12):
|
| 238 |
+
# DistutilsMetaFinder can only be disabled in Python < 3.12 (PEP 632)
|
| 239 |
+
remove_shim = _remove_shim
|
videollama2/lib/python3.10/site-packages/_distutils_hack/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (8.21 kB). View file
|
|
|