massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / setuptools / setuptools / sandbox.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/setuptools/setuptools/sandbox.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/setuptools/setuptools/sandbox.pyi
new file mode 100644 (file)
index 0000000..293d112
--- /dev/null
@@ -0,0 +1,28 @@
+from distutils.errors import DistutilsError
+from typing import Any
+
+class UnpickleableException(Exception):
+    @staticmethod
+    def dump(type, exc): ...
+
+class ExceptionSaver:
+    def __enter__(self): ...
+    def __exit__(self, type, exc, tb): ...
+    def resume(self) -> None: ...
+
+def run_setup(setup_script, args): ...
+
+class AbstractSandbox:
+    def __init__(self) -> None: ...
+    def __enter__(self) -> None: ...
+    def __exit__(self, exc_type, exc_value, traceback) -> None: ...
+    def run(self, func): ...
+
+class DirectorySandbox(AbstractSandbox):
+    write_ops: Any
+    def __init__(self, sandbox, exceptions=...) -> None: ...
+    def tmpnam(self) -> None: ...
+    def open(self, file, flags, mode: int = ..., *args, **kw): ...
+
+class SandboxViolation(DistutilsError):
+    tmpl: Any