assassinlike commited on
Commit
0f94ae2
·
verified ·
1 Parent(s): 59b6faf

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/__init__.pyi +0 -0
  2. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/archive_util.pyi +12 -0
  3. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/bcppcompiler.pyi +3 -0
  4. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/ccompiler.pyi +150 -0
  5. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/cmd.pyi +67 -0
  6. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/config.pyi +17 -0
  7. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/core.pyi +48 -0
  8. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/cygwinccompiler.pyi +4 -0
  9. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/debug.pyi +1 -0
  10. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/dep_util.pyi +5 -0
  11. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/dir_util.pyi +15 -0
  12. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/dist.pyi +9 -0
  13. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/emxccompiler.pyi +3 -0
  14. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/errors.pyi +19 -0
  15. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/extension.pyi +21 -0
  16. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/fancy_getopt.pyi +21 -0
  17. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/file_util.pyi +14 -0
  18. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/filelist.pyi +1 -0
  19. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/log.pyi +25 -0
  20. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/msvccompiler.pyi +3 -0
  21. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/spawn.pyi +4 -0
  22. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/sysconfig.pyi +14 -0
  23. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/text_file.pyi +21 -0
  24. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/unixccompiler.pyi +3 -0
  25. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/util.pyi +23 -0
  26. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/version.pyi +33 -0
  27. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/email/header.pyi +10 -0
  28. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/multiprocessing/__init__.pyi +50 -0
  29. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/multiprocessing/pool.pyi +52 -0
  30. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/multiprocessing/process.pyi +37 -0
  31. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/multiprocessing/util.pyi +29 -0
  32. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/os/__init__.pyi +385 -0
  33. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/os/path.pyi +85 -0
  34. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/_typeshed/__init__.pyi +183 -0
  35. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/_typeshed/wsgi.pyi +35 -0
  36. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/_typeshed/xml.pyi +10 -0
  37. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/ctypes/__init__.pyi +309 -0
  38. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/ctypes/util.pyi +7 -0
  39. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/ctypes/wintypes.pyi +234 -0
  40. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/curses/__init__.pyi +15 -0
  41. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/curses/ascii.pyi +62 -0
  42. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/curses/panel.pyi +20 -0
  43. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/curses/textpad.pyi +11 -0
  44. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/ensurepip/__init__.pyi +25 -0
  45. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/lib2to3/__init__.pyi +0 -0
  46. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/lib2to3/pgen2/__init__.pyi +0 -0
  47. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/lib2to3/pgen2/driver.pyi +20 -0
  48. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/lib2to3/pgen2/grammar.pyi +26 -0
  49. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/lib2to3/pgen2/literals.pyi +7 -0
  50. data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/lib2to3/pgen2/parse.pyi +26 -0
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/__init__.pyi ADDED
File without changes
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/archive_util.pyi ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Optional
2
+
3
+ def make_archive(
4
+ base_name: str,
5
+ format: str,
6
+ root_dir: Optional[str] = ...,
7
+ base_dir: Optional[str] = ...,
8
+ verbose: int = ...,
9
+ dry_run: int = ...,
10
+ ) -> str: ...
11
+ def make_tarball(base_name: str, base_dir: str, compress: Optional[str] = ..., verbose: int = ..., dry_run: int = ...) -> str: ...
12
+ def make_zipfile(base_name: str, base_dir: str, verbose: int = ..., dry_run: int = ...) -> str: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/bcppcompiler.pyi ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from distutils.ccompiler import CCompiler
2
+
3
+ class BCPPCompiler(CCompiler): ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/ccompiler.pyi ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, Callable, List, Optional, Tuple, Union
2
+
3
+ _Macro = Union[Tuple[str], Tuple[str, Optional[str]]]
4
+
5
+ def gen_lib_options(
6
+ compiler: CCompiler, library_dirs: List[str], runtime_library_dirs: List[str], libraries: List[str]
7
+ ) -> List[str]: ...
8
+ def gen_preprocess_options(macros: List[_Macro], include_dirs: List[str]) -> List[str]: ...
9
+ def get_default_compiler(osname: Optional[str] = ..., platform: Optional[str] = ...) -> str: ...
10
+ def new_compiler(
11
+ plat: Optional[str] = ..., compiler: Optional[str] = ..., verbose: int = ..., dry_run: int = ..., force: int = ...
12
+ ) -> CCompiler: ...
13
+ def show_compilers() -> None: ...
14
+
15
+ class CCompiler:
16
+ dry_run: bool
17
+ force: bool
18
+ verbose: bool
19
+ output_dir: Optional[str]
20
+ macros: List[_Macro]
21
+ include_dirs: List[str]
22
+ libraries: List[str]
23
+ library_dirs: List[str]
24
+ runtime_library_dirs: List[str]
25
+ objects: List[str]
26
+ def __init__(self, verbose: int = ..., dry_run: int = ..., force: int = ...) -> None: ...
27
+ def add_include_dir(self, dir: str) -> None: ...
28
+ def set_include_dirs(self, dirs: List[str]) -> None: ...
29
+ def add_library(self, libname: str) -> None: ...
30
+ def set_libraries(self, libnames: List[str]) -> None: ...
31
+ def add_library_dir(self, dir: str) -> None: ...
32
+ def set_library_dirs(self, dirs: List[str]) -> None: ...
33
+ def add_runtime_library_dir(self, dir: str) -> None: ...
34
+ def set_runtime_library_dirs(self, dirs: List[str]) -> None: ...
35
+ def define_macro(self, name: str, value: Optional[str] = ...) -> None: ...
36
+ def undefine_macro(self, name: str) -> None: ...
37
+ def add_link_object(self, object: str) -> None: ...
38
+ def set_link_objects(self, objects: List[str]) -> None: ...
39
+ def detect_language(self, sources: Union[str, List[str]]) -> Optional[str]: ...
40
+ def find_library_file(self, dirs: List[str], lib: str, debug: bool = ...) -> Optional[str]: ...
41
+ def has_function(
42
+ self,
43
+ funcname: str,
44
+ includes: Optional[List[str]] = ...,
45
+ include_dirs: Optional[List[str]] = ...,
46
+ libraries: Optional[List[str]] = ...,
47
+ library_dirs: Optional[List[str]] = ...,
48
+ ) -> bool: ...
49
+ def library_dir_option(self, dir: str) -> str: ...
50
+ def library_option(self, lib: str) -> str: ...
51
+ def runtime_library_dir_option(self, dir: str) -> str: ...
52
+ def set_executables(self, **args: str) -> None: ...
53
+ def compile(
54
+ self,
55
+ sources: List[str],
56
+ output_dir: Optional[str] = ...,
57
+ macros: Optional[_Macro] = ...,
58
+ include_dirs: Optional[List[str]] = ...,
59
+ debug: bool = ...,
60
+ extra_preargs: Optional[List[str]] = ...,
61
+ extra_postargs: Optional[List[str]] = ...,
62
+ depends: Optional[List[str]] = ...,
63
+ ) -> List[str]: ...
64
+ def create_static_lib(
65
+ self,
66
+ objects: List[str],
67
+ output_libname: str,
68
+ output_dir: Optional[str] = ...,
69
+ debug: bool = ...,
70
+ target_lang: Optional[str] = ...,
71
+ ) -> None: ...
72
+ def link(
73
+ self,
74
+ target_desc: str,
75
+ objects: List[str],
76
+ output_filename: str,
77
+ output_dir: Optional[str] = ...,
78
+ libraries: Optional[List[str]] = ...,
79
+ library_dirs: Optional[List[str]] = ...,
80
+ runtime_library_dirs: Optional[List[str]] = ...,
81
+ export_symbols: Optional[List[str]] = ...,
82
+ debug: bool = ...,
83
+ extra_preargs: Optional[List[str]] = ...,
84
+ extra_postargs: Optional[List[str]] = ...,
85
+ build_temp: Optional[str] = ...,
86
+ target_lang: Optional[str] = ...,
87
+ ) -> None: ...
88
+ def link_executable(
89
+ self,
90
+ objects: List[str],
91
+ output_progname: str,
92
+ output_dir: Optional[str] = ...,
93
+ libraries: Optional[List[str]] = ...,
94
+ library_dirs: Optional[List[str]] = ...,
95
+ runtime_library_dirs: Optional[List[str]] = ...,
96
+ debug: bool = ...,
97
+ extra_preargs: Optional[List[str]] = ...,
98
+ extra_postargs: Optional[List[str]] = ...,
99
+ target_lang: Optional[str] = ...,
100
+ ) -> None: ...
101
+ def link_shared_lib(
102
+ self,
103
+ objects: List[str],
104
+ output_libname: str,
105
+ output_dir: Optional[str] = ...,
106
+ libraries: Optional[List[str]] = ...,
107
+ library_dirs: Optional[List[str]] = ...,
108
+ runtime_library_dirs: Optional[List[str]] = ...,
109
+ export_symbols: Optional[List[str]] = ...,
110
+ debug: bool = ...,
111
+ extra_preargs: Optional[List[str]] = ...,
112
+ extra_postargs: Optional[List[str]] = ...,
113
+ build_temp: Optional[str] = ...,
114
+ target_lang: Optional[str] = ...,
115
+ ) -> None: ...
116
+ def link_shared_object(
117
+ self,
118
+ objects: List[str],
119
+ output_filename: str,
120
+ output_dir: Optional[str] = ...,
121
+ libraries: Optional[List[str]] = ...,
122
+ library_dirs: Optional[List[str]] = ...,
123
+ runtime_library_dirs: Optional[List[str]] = ...,
124
+ export_symbols: Optional[List[str]] = ...,
125
+ debug: bool = ...,
126
+ extra_preargs: Optional[List[str]] = ...,
127
+ extra_postargs: Optional[List[str]] = ...,
128
+ build_temp: Optional[str] = ...,
129
+ target_lang: Optional[str] = ...,
130
+ ) -> None: ...
131
+ def preprocess(
132
+ self,
133
+ source: str,
134
+ output_file: Optional[str] = ...,
135
+ macros: Optional[List[_Macro]] = ...,
136
+ include_dirs: Optional[List[str]] = ...,
137
+ extra_preargs: Optional[List[str]] = ...,
138
+ extra_postargs: Optional[List[str]] = ...,
139
+ ) -> None: ...
140
+ def executable_filename(self, basename: str, strip_dir: int = ..., output_dir: str = ...) -> str: ...
141
+ def library_filename(self, libname: str, lib_type: str = ..., strip_dir: int = ..., output_dir: str = ...) -> str: ...
142
+ def object_filenames(self, source_filenames: List[str], strip_dir: int = ..., output_dir: str = ...) -> List[str]: ...
143
+ def shared_object_filename(self, basename: str, strip_dir: int = ..., output_dir: str = ...) -> str: ...
144
+ def execute(self, func: Callable[..., None], args: Tuple[Any, ...], msg: Optional[str] = ..., level: int = ...) -> None: ...
145
+ def spawn(self, cmd: List[str]) -> None: ...
146
+ def mkpath(self, name: str, mode: int = ...) -> None: ...
147
+ def move_file(self, src: str, dst: str) -> str: ...
148
+ def announce(self, msg: str, level: int = ...) -> None: ...
149
+ def warn(self, msg: str) -> None: ...
150
+ def debug_print(self, msg: str) -> None: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/cmd.pyi ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from abc import abstractmethod
2
+ from distutils.dist import Distribution
3
+ from typing import Any, Callable, Iterable, List, Optional, Text, Tuple, Union
4
+
5
+ class Command:
6
+ sub_commands: List[Tuple[str, Optional[Callable[[Command], bool]]]]
7
+ def __init__(self, dist: Distribution) -> None: ...
8
+ @abstractmethod
9
+ def initialize_options(self) -> None: ...
10
+ @abstractmethod
11
+ def finalize_options(self) -> None: ...
12
+ @abstractmethod
13
+ def run(self) -> None: ...
14
+ def announce(self, msg: Text, level: int = ...) -> None: ...
15
+ def debug_print(self, msg: Text) -> None: ...
16
+ def ensure_string(self, option: str, default: Optional[str] = ...) -> None: ...
17
+ def ensure_string_list(self, option: Union[str, List[str]]) -> None: ...
18
+ def ensure_filename(self, option: str) -> None: ...
19
+ def ensure_dirname(self, option: str) -> None: ...
20
+ def get_command_name(self) -> str: ...
21
+ def set_undefined_options(self, src_cmd: Text, *option_pairs: Tuple[str, str]) -> None: ...
22
+ def get_finalized_command(self, command: Text, create: int = ...) -> Command: ...
23
+ def reinitialize_command(self, command: Union[Command, Text], reinit_subcommands: int = ...) -> Command: ...
24
+ def run_command(self, command: Text) -> None: ...
25
+ def get_sub_commands(self) -> List[str]: ...
26
+ def warn(self, msg: Text) -> None: ...
27
+ def execute(self, func: Callable[..., Any], args: Iterable[Any], msg: Optional[Text] = ..., level: int = ...) -> None: ...
28
+ def mkpath(self, name: str, mode: int = ...) -> None: ...
29
+ def copy_file(
30
+ self,
31
+ infile: str,
32
+ outfile: str,
33
+ preserve_mode: int = ...,
34
+ preserve_times: int = ...,
35
+ link: Optional[str] = ...,
36
+ level: Any = ...,
37
+ ) -> Tuple[str, bool]: ... # level is not used
38
+ def copy_tree(
39
+ self,
40
+ infile: str,
41
+ outfile: str,
42
+ preserve_mode: int = ...,
43
+ preserve_times: int = ...,
44
+ preserve_symlinks: int = ...,
45
+ level: Any = ...,
46
+ ) -> List[str]: ... # level is not used
47
+ def move_file(self, src: str, dst: str, level: Any = ...) -> str: ... # level is not used
48
+ def spawn(self, cmd: Iterable[str], search_path: int = ..., level: Any = ...) -> None: ... # level is not used
49
+ def make_archive(
50
+ self,
51
+ base_name: str,
52
+ format: str,
53
+ root_dir: Optional[str] = ...,
54
+ base_dir: Optional[str] = ...,
55
+ owner: Optional[str] = ...,
56
+ group: Optional[str] = ...,
57
+ ) -> str: ...
58
+ def make_file(
59
+ self,
60
+ infiles: Union[str, List[str], Tuple[str]],
61
+ outfile: str,
62
+ func: Callable[..., Any],
63
+ args: List[Any],
64
+ exec_msg: Optional[str] = ...,
65
+ skip_msg: Optional[str] = ...,
66
+ level: Any = ...,
67
+ ) -> None: ... # level is not used
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/config.pyi ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from abc import abstractmethod
2
+ from distutils.cmd import Command
3
+ from typing import ClassVar, List, Optional, Tuple
4
+
5
+ DEFAULT_PYPIRC: str
6
+
7
+ class PyPIRCCommand(Command):
8
+ DEFAULT_REPOSITORY: ClassVar[str]
9
+ DEFAULT_REALM: ClassVar[str]
10
+ repository: None
11
+ realm: None
12
+ user_options: ClassVar[List[Tuple[str, Optional[str], str]]]
13
+ boolean_options: ClassVar[List[str]]
14
+ def initialize_options(self) -> None: ...
15
+ def finalize_options(self) -> None: ...
16
+ @abstractmethod
17
+ def run(self) -> None: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/core.pyi ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from distutils.cmd import Command as Command
2
+ from distutils.dist import Distribution as Distribution
3
+ from distutils.extension import Extension as Extension
4
+ from typing import Any, List, Mapping, Optional, Tuple, Type, Union
5
+
6
+ def setup(
7
+ *,
8
+ name: str = ...,
9
+ version: str = ...,
10
+ description: str = ...,
11
+ long_description: str = ...,
12
+ author: str = ...,
13
+ author_email: str = ...,
14
+ maintainer: str = ...,
15
+ maintainer_email: str = ...,
16
+ url: str = ...,
17
+ download_url: str = ...,
18
+ packages: List[str] = ...,
19
+ py_modules: List[str] = ...,
20
+ scripts: List[str] = ...,
21
+ ext_modules: List[Extension] = ...,
22
+ classifiers: List[str] = ...,
23
+ distclass: Type[Distribution] = ...,
24
+ script_name: str = ...,
25
+ script_args: List[str] = ...,
26
+ options: Mapping[str, Any] = ...,
27
+ license: str = ...,
28
+ keywords: Union[List[str], str] = ...,
29
+ platforms: Union[List[str], str] = ...,
30
+ cmdclass: Mapping[str, Type[Command]] = ...,
31
+ data_files: List[Tuple[str, List[str]]] = ...,
32
+ package_dir: Mapping[str, str] = ...,
33
+ obsoletes: List[str] = ...,
34
+ provides: List[str] = ...,
35
+ requires: List[str] = ...,
36
+ command_packages: List[str] = ...,
37
+ command_options: Mapping[str, Mapping[str, Tuple[Any, Any]]] = ...,
38
+ package_data: Mapping[str, List[str]] = ...,
39
+ include_package_data: bool = ...,
40
+ libraries: List[str] = ...,
41
+ headers: List[str] = ...,
42
+ ext_package: str = ...,
43
+ include_dirs: List[str] = ...,
44
+ password: str = ...,
45
+ fullname: str = ...,
46
+ **attrs: Any,
47
+ ) -> None: ...
48
+ def run_setup(script_name: str, script_args: Optional[List[str]] = ..., stop_after: str = ...) -> Distribution: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/cygwinccompiler.pyi ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ from distutils.unixccompiler import UnixCCompiler
2
+
3
+ class CygwinCCompiler(UnixCCompiler): ...
4
+ class Mingw32CCompiler(CygwinCCompiler): ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/debug.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ DEBUG: bool
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/dep_util.pyi ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from typing import List, Tuple
2
+
3
+ def newer(source: str, target: str) -> bool: ...
4
+ def newer_pairwise(sources: List[str], targets: List[str]) -> List[Tuple[str, str]]: ...
5
+ def newer_group(sources: List[str], target: str, missing: str = ...) -> bool: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/dir_util.pyi ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import List
2
+
3
+ def mkpath(name: str, mode: int = ..., verbose: int = ..., dry_run: int = ...) -> List[str]: ...
4
+ def create_tree(base_dir: str, files: List[str], mode: int = ..., verbose: int = ..., dry_run: int = ...) -> None: ...
5
+ def copy_tree(
6
+ src: str,
7
+ dst: str,
8
+ preserve_mode: int = ...,
9
+ preserve_times: int = ...,
10
+ preserve_symlinks: int = ...,
11
+ update: int = ...,
12
+ verbose: int = ...,
13
+ dry_run: int = ...,
14
+ ) -> List[str]: ...
15
+ def remove_tree(directory: str, verbose: int = ..., dry_run: int = ...) -> None: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/dist.pyi ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from distutils.cmd import Command
2
+ from typing import Any, Dict, Iterable, Mapping, Optional, Text, Tuple, Type
3
+
4
+ class Distribution:
5
+ cmdclass: Dict[str, Type[Command]]
6
+ def __init__(self, attrs: Optional[Mapping[str, Any]] = ...) -> None: ...
7
+ def get_option_dict(self, command: str) -> Dict[str, Tuple[str, Text]]: ...
8
+ def parse_config_files(self, filenames: Optional[Iterable[Text]] = ...) -> None: ...
9
+ def get_command_obj(self, command: str, create: bool = ...) -> Optional[Command]: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/emxccompiler.pyi ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from distutils.unixccompiler import UnixCCompiler
2
+
3
+ class EMXCCompiler(UnixCCompiler): ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/errors.pyi ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class DistutilsError(Exception): ...
2
+ class DistutilsModuleError(DistutilsError): ...
3
+ class DistutilsClassError(DistutilsError): ...
4
+ class DistutilsGetoptError(DistutilsError): ...
5
+ class DistutilsArgError(DistutilsError): ...
6
+ class DistutilsFileError(DistutilsError): ...
7
+ class DistutilsOptionError(DistutilsError): ...
8
+ class DistutilsSetupError(DistutilsError): ...
9
+ class DistutilsPlatformError(DistutilsError): ...
10
+ class DistutilsExecError(DistutilsError): ...
11
+ class DistutilsInternalError(DistutilsError): ...
12
+ class DistutilsTemplateError(DistutilsError): ...
13
+ class DistutilsByteCompileError(DistutilsError): ...
14
+ class CCompilerError(Exception): ...
15
+ class PreprocessError(CCompilerError): ...
16
+ class CompileError(CCompilerError): ...
17
+ class LibError(CCompilerError): ...
18
+ class LinkError(CCompilerError): ...
19
+ class UnknownFileError(CCompilerError): ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/extension.pyi ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import List, Optional, Tuple
2
+
3
+ class Extension:
4
+ def __init__(
5
+ self,
6
+ name: str,
7
+ sources: List[str],
8
+ include_dirs: List[str] = ...,
9
+ define_macros: List[Tuple[str, Optional[str]]] = ...,
10
+ undef_macros: List[str] = ...,
11
+ library_dirs: List[str] = ...,
12
+ libraries: List[str] = ...,
13
+ runtime_library_dirs: List[str] = ...,
14
+ extra_objects: List[str] = ...,
15
+ extra_compile_args: List[str] = ...,
16
+ extra_link_args: List[str] = ...,
17
+ export_symbols: List[str] = ...,
18
+ swig_opts: Optional[str] = ..., # undocumented
19
+ depends: List[str] = ...,
20
+ language: str = ...,
21
+ ) -> None: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/fancy_getopt.pyi ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, List, Mapping, Optional, Tuple, Union, overload
2
+
3
+ _Option = Tuple[str, Optional[str], str]
4
+ _GR = Tuple[List[str], OptionDummy]
5
+
6
+ def fancy_getopt(
7
+ options: List[_Option], negative_opt: Mapping[_Option, _Option], object: Any, args: Optional[List[str]]
8
+ ) -> Union[List[str], _GR]: ...
9
+ def wrap_text(text: str, width: int) -> List[str]: ...
10
+
11
+ class FancyGetopt:
12
+ def __init__(self, option_table: Optional[List[_Option]] = ...) -> None: ...
13
+ # TODO kinda wrong, `getopt(object=object())` is invalid
14
+ @overload
15
+ def getopt(self, args: Optional[List[str]] = ...) -> _GR: ...
16
+ @overload
17
+ def getopt(self, args: Optional[List[str]], object: Any) -> List[str]: ...
18
+ def get_option_order(self) -> List[Tuple[str, str]]: ...
19
+ def generate_help(self, header: Optional[str] = ...) -> List[str]: ...
20
+
21
+ class OptionDummy: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/file_util.pyi ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Optional, Sequence, Tuple
2
+
3
+ def copy_file(
4
+ src: str,
5
+ dst: str,
6
+ preserve_mode: bool = ...,
7
+ preserve_times: bool = ...,
8
+ update: bool = ...,
9
+ link: Optional[str] = ...,
10
+ verbose: bool = ...,
11
+ dry_run: bool = ...,
12
+ ) -> Tuple[str, str]: ...
13
+ def move_file(src: str, dst: str, verbose: bool = ..., dry_run: bool = ...) -> str: ...
14
+ def write_file(filename: str, contents: Sequence[str]) -> None: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/filelist.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ class FileList: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/log.pyi ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, Text
2
+
3
+ DEBUG: int
4
+ INFO: int
5
+ WARN: int
6
+ ERROR: int
7
+ FATAL: int
8
+
9
+ class Log:
10
+ def __init__(self, threshold: int = ...) -> None: ...
11
+ def log(self, level: int, msg: Text, *args: Any) -> None: ...
12
+ def debug(self, msg: Text, *args: Any) -> None: ...
13
+ def info(self, msg: Text, *args: Any) -> None: ...
14
+ def warn(self, msg: Text, *args: Any) -> None: ...
15
+ def error(self, msg: Text, *args: Any) -> None: ...
16
+ def fatal(self, msg: Text, *args: Any) -> None: ...
17
+
18
+ def log(level: int, msg: Text, *args: Any) -> None: ...
19
+ def debug(msg: Text, *args: Any) -> None: ...
20
+ def info(msg: Text, *args: Any) -> None: ...
21
+ def warn(msg: Text, *args: Any) -> None: ...
22
+ def error(msg: Text, *args: Any) -> None: ...
23
+ def fatal(msg: Text, *args: Any) -> None: ...
24
+ def set_threshold(level: int) -> int: ...
25
+ def set_verbosity(v: int) -> None: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/msvccompiler.pyi ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from distutils.ccompiler import CCompiler
2
+
3
+ class MSVCCompiler(CCompiler): ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/spawn.pyi ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ from typing import List, Optional
2
+
3
+ def spawn(cmd: List[str], search_path: bool = ..., verbose: bool = ..., dry_run: bool = ...) -> None: ...
4
+ def find_executable(executable: str, path: Optional[str] = ...) -> Optional[str]: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/sysconfig.pyi ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from distutils.ccompiler import CCompiler
2
+ from typing import Mapping, Optional, Union
3
+
4
+ PREFIX: str
5
+ EXEC_PREFIX: str
6
+
7
+ def get_config_var(name: str) -> Union[int, str, None]: ...
8
+ def get_config_vars(*args: str) -> Mapping[str, Union[int, str]]: ...
9
+ def get_config_h_filename() -> str: ...
10
+ def get_makefile_filename() -> str: ...
11
+ def get_python_inc(plat_specific: bool = ..., prefix: Optional[str] = ...) -> str: ...
12
+ def get_python_lib(plat_specific: bool = ..., standard_lib: bool = ..., prefix: Optional[str] = ...) -> str: ...
13
+ def customize_compiler(compiler: CCompiler) -> None: ...
14
+ def set_python_build() -> None: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/text_file.pyi ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import IO, List, Optional, Tuple, Union
2
+
3
+ class TextFile:
4
+ def __init__(
5
+ self,
6
+ filename: Optional[str] = ...,
7
+ file: Optional[IO[str]] = ...,
8
+ *,
9
+ strip_comments: bool = ...,
10
+ lstrip_ws: bool = ...,
11
+ rstrip_ws: bool = ...,
12
+ skip_blanks: bool = ...,
13
+ join_lines: bool = ...,
14
+ collapse_join: bool = ...,
15
+ ) -> None: ...
16
+ def open(self, filename: str) -> None: ...
17
+ def close(self) -> None: ...
18
+ def warn(self, msg: str, line: Union[List[int], Tuple[int, int], int] = ...) -> None: ...
19
+ def readline(self) -> Optional[str]: ...
20
+ def readlines(self) -> List[str]: ...
21
+ def unreadline(self, line: str) -> str: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/unixccompiler.pyi ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from distutils.ccompiler import CCompiler
2
+
3
+ class UnixCCompiler(CCompiler): ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/util.pyi ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, Callable, List, Mapping, Optional, Tuple
2
+
3
+ def get_platform() -> str: ...
4
+ def convert_path(pathname: str) -> str: ...
5
+ def change_root(new_root: str, pathname: str) -> str: ...
6
+ def check_environ() -> None: ...
7
+ def subst_vars(s: str, local_vars: Mapping[str, str]) -> None: ...
8
+ def split_quoted(s: str) -> List[str]: ...
9
+ def execute(
10
+ func: Callable[..., None], args: Tuple[Any, ...], msg: Optional[str] = ..., verbose: bool = ..., dry_run: bool = ...
11
+ ) -> None: ...
12
+ def strtobool(val: str) -> bool: ...
13
+ def byte_compile(
14
+ py_files: List[str],
15
+ optimize: int = ...,
16
+ force: bool = ...,
17
+ prefix: Optional[str] = ...,
18
+ base_dir: Optional[str] = ...,
19
+ verbose: bool = ...,
20
+ dry_run: bool = ...,
21
+ direct: Optional[bool] = ...,
22
+ ) -> None: ...
23
+ def rfc822_escape(header: str) -> str: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/distutils/version.pyi ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from abc import abstractmethod
2
+ from typing import Optional, Pattern, Text, Tuple, TypeVar, Union
3
+
4
+ _T = TypeVar("_T", bound=Version)
5
+
6
+ class Version:
7
+ def __repr__(self) -> str: ...
8
+ @abstractmethod
9
+ def __init__(self, vstring: Optional[Text] = ...) -> None: ...
10
+ @abstractmethod
11
+ def parse(self: _T, vstring: Text) -> _T: ...
12
+ @abstractmethod
13
+ def __str__(self) -> str: ...
14
+ @abstractmethod
15
+ def __cmp__(self: _T, other: Union[_T, str]) -> bool: ...
16
+
17
+ class StrictVersion(Version):
18
+ version_re: Pattern[str]
19
+ version: Tuple[int, int, int]
20
+ prerelease: Optional[Tuple[Text, int]]
21
+ def __init__(self, vstring: Optional[Text] = ...) -> None: ...
22
+ def parse(self: _T, vstring: Text) -> _T: ...
23
+ def __str__(self) -> str: ...
24
+ def __cmp__(self: _T, other: Union[_T, str]) -> bool: ...
25
+
26
+ class LooseVersion(Version):
27
+ component_re: Pattern[str]
28
+ vstring: Text
29
+ version: Tuple[Union[Text, int], ...]
30
+ def __init__(self, vstring: Optional[Text] = ...) -> None: ...
31
+ def parse(self: _T, vstring: Text) -> _T: ...
32
+ def __str__(self) -> str: ...
33
+ def __cmp__(self: _T, other: Union[_T, str]) -> bool: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/email/header.pyi ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ def decode_header(header): ...
2
+ def make_header(decoded_seq, maxlinelen=..., header_name=..., continuation_ws=...): ...
3
+
4
+ class Header:
5
+ def __init__(self, s=..., charset=..., maxlinelen=..., header_name=..., continuation_ws=..., errors=...) -> None: ...
6
+ def __unicode__(self): ...
7
+ def __eq__(self, other): ...
8
+ def __ne__(self, other): ...
9
+ def append(self, s, charset=..., errors=...) -> None: ...
10
+ def encode(self, splitchars=...): ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/multiprocessing/__init__.pyi ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from multiprocessing import pool
2
+ from multiprocessing.process import Process as Process, active_children as active_children, current_process as current_process
3
+ from multiprocessing.util import SUBDEBUG as SUBDEBUG, SUBWARNING as SUBWARNING
4
+ from Queue import Queue as _BaseQueue
5
+ from typing import Any, Callable, Iterable, Optional, TypeVar
6
+
7
+ class ProcessError(Exception): ...
8
+ class BufferTooShort(ProcessError): ...
9
+ class TimeoutError(ProcessError): ...
10
+ class AuthenticationError(ProcessError): ...
11
+
12
+ _T = TypeVar("_T")
13
+
14
+ class Queue(_BaseQueue[_T]):
15
+ def __init__(self, maxsize: int = ...) -> None: ...
16
+ def get(self, block: bool = ..., timeout: Optional[float] = ...) -> _T: ...
17
+ def put(self, item: _T, block: bool = ..., timeout: Optional[float] = ...) -> None: ...
18
+ def qsize(self) -> int: ...
19
+ def empty(self) -> bool: ...
20
+ def full(self) -> bool: ...
21
+ def put_nowait(self, item: _T) -> None: ...
22
+ def get_nowait(self) -> _T: ...
23
+ def close(self) -> None: ...
24
+ def join_thread(self) -> None: ...
25
+ def cancel_join_thread(self) -> None: ...
26
+
27
+ def Manager(): ...
28
+ def Pipe(duplex: bool = ...): ...
29
+ def cpu_count() -> int: ...
30
+ def freeze_support(): ...
31
+ def get_logger(): ...
32
+ def log_to_stderr(level: Optional[Any] = ...): ...
33
+ def allow_connection_pickling(): ...
34
+ def Lock(): ...
35
+ def RLock(): ...
36
+ def Condition(lock: Optional[Any] = ...): ...
37
+ def Semaphore(value: int = ...): ...
38
+ def BoundedSemaphore(value: int = ...): ...
39
+ def Event(): ...
40
+ def JoinableQueue(maxsize: int = ...): ...
41
+ def RawValue(typecode_or_type, *args): ...
42
+ def RawArray(typecode_or_type, size_or_initializer): ...
43
+ def Value(typecode_or_type, *args, **kwds): ...
44
+ def Array(typecode_or_type, size_or_initializer, **kwds): ...
45
+ def Pool(
46
+ processes: Optional[int] = ...,
47
+ initializer: Optional[Callable[..., Any]] = ...,
48
+ initargs: Iterable[Any] = ...,
49
+ maxtasksperchild: Optional[int] = ...,
50
+ ) -> pool.Pool: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/multiprocessing/pool.pyi ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, Callable, Dict, Iterable, Iterator, List, Optional, TypeVar
2
+
3
+ _T = TypeVar("_T", bound=Pool)
4
+
5
+ class AsyncResult:
6
+ def get(self, timeout: Optional[float] = ...) -> Any: ...
7
+ def wait(self, timeout: Optional[float] = ...) -> None: ...
8
+ def ready(self) -> bool: ...
9
+ def successful(self) -> bool: ...
10
+
11
+ class IMapIterator(Iterator[Any]):
12
+ def __iter__(self) -> Iterator[Any]: ...
13
+ def next(self, timeout: Optional[float] = ...) -> Any: ...
14
+
15
+ class IMapUnorderedIterator(IMapIterator): ...
16
+
17
+ class Pool(object):
18
+ def __init__(
19
+ self,
20
+ processes: Optional[int] = ...,
21
+ initializer: Optional[Callable[..., None]] = ...,
22
+ initargs: Iterable[Any] = ...,
23
+ maxtasksperchild: Optional[int] = ...,
24
+ ) -> None: ...
25
+ def apply(self, func: Callable[..., Any], args: Iterable[Any] = ..., kwds: Dict[str, Any] = ...) -> Any: ...
26
+ def apply_async(
27
+ self,
28
+ func: Callable[..., Any],
29
+ args: Iterable[Any] = ...,
30
+ kwds: Dict[str, Any] = ...,
31
+ callback: Optional[Callable[..., None]] = ...,
32
+ ) -> AsyncResult: ...
33
+ def map(self, func: Callable[..., Any], iterable: Iterable[Any] = ..., chunksize: Optional[int] = ...) -> List[Any]: ...
34
+ def map_async(
35
+ self,
36
+ func: Callable[..., Any],
37
+ iterable: Iterable[Any] = ...,
38
+ chunksize: Optional[int] = ...,
39
+ callback: Optional[Callable[..., None]] = ...,
40
+ ) -> AsyncResult: ...
41
+ def imap(self, func: Callable[..., Any], iterable: Iterable[Any] = ..., chunksize: Optional[int] = ...) -> IMapIterator: ...
42
+ def imap_unordered(
43
+ self, func: Callable[..., Any], iterable: Iterable[Any] = ..., chunksize: Optional[int] = ...
44
+ ) -> IMapIterator: ...
45
+ def close(self) -> None: ...
46
+ def terminate(self) -> None: ...
47
+ def join(self) -> None: ...
48
+
49
+ class ThreadPool(Pool):
50
+ def __init__(
51
+ self, processes: Optional[int] = ..., initializer: Optional[Callable[..., Any]] = ..., initargs: Iterable[Any] = ...
52
+ ) -> None: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/multiprocessing/process.pyi ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, Optional
2
+
3
+ def current_process(): ...
4
+ def active_children(): ...
5
+
6
+ class Process:
7
+ def __init__(
8
+ self, group: Optional[Any] = ..., target: Optional[Any] = ..., name: Optional[Any] = ..., args=..., kwargs=...
9
+ ): ...
10
+ def run(self): ...
11
+ def start(self): ...
12
+ def terminate(self): ...
13
+ def join(self, timeout: Optional[Any] = ...): ...
14
+ def is_alive(self): ...
15
+ @property
16
+ def name(self): ...
17
+ @name.setter
18
+ def name(self, name): ...
19
+ @property
20
+ def daemon(self): ...
21
+ @daemon.setter
22
+ def daemon(self, daemonic): ...
23
+ @property
24
+ def authkey(self): ...
25
+ @authkey.setter
26
+ def authkey(self, authkey): ...
27
+ @property
28
+ def exitcode(self): ...
29
+ @property
30
+ def ident(self): ...
31
+ pid: Any
32
+
33
+ class AuthenticationString(bytes):
34
+ def __reduce__(self): ...
35
+
36
+ class _MainProcess(Process):
37
+ def __init__(self): ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/multiprocessing/util.pyi ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import threading
2
+ from typing import Any, Optional
3
+
4
+ SUBDEBUG: Any
5
+ SUBWARNING: Any
6
+
7
+ def sub_debug(msg, *args): ...
8
+ def debug(msg, *args): ...
9
+ def info(msg, *args): ...
10
+ def sub_warning(msg, *args): ...
11
+ def get_logger(): ...
12
+ def log_to_stderr(level: Optional[Any] = ...): ...
13
+ def get_temp_dir(): ...
14
+ def register_after_fork(obj, func): ...
15
+
16
+ class Finalize:
17
+ def __init__(self, obj, callback, args=..., kwargs: Optional[Any] = ..., exitpriority: Optional[Any] = ...): ...
18
+ def __call__(self, wr: Optional[Any] = ...): ...
19
+ def cancel(self): ...
20
+ def still_active(self): ...
21
+
22
+ def is_exiting(): ...
23
+
24
+ class ForkAwareThreadLock:
25
+ def __init__(self): ...
26
+
27
+ class ForkAwareLocal(threading.local):
28
+ def __init__(self): ...
29
+ def __reduce__(self): ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/os/__init__.pyi ADDED
@@ -0,0 +1,385 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from _typeshed import AnyPath, FileDescriptorLike
3
+ from builtins import OSError
4
+ from io import TextIOWrapper as _TextIOWrapper
5
+ from posix import listdir as listdir, stat_result as stat_result # TODO: use this, see https://github.com/python/mypy/issues/3078
6
+ from typing import (
7
+ IO,
8
+ Any,
9
+ AnyStr,
10
+ Callable,
11
+ Dict,
12
+ Generic,
13
+ Iterator,
14
+ List,
15
+ Mapping,
16
+ MutableMapping,
17
+ NamedTuple,
18
+ NoReturn,
19
+ Optional,
20
+ Sequence,
21
+ Set,
22
+ Text,
23
+ Tuple,
24
+ TypeVar,
25
+ Union,
26
+ overload,
27
+ )
28
+
29
+ from . import path as path
30
+
31
+ # We need to use something from path, or flake8 and pytype get unhappy
32
+ _supports_unicode_filenames = path.supports_unicode_filenames
33
+
34
+ _T = TypeVar("_T")
35
+
36
+ # ----- os variables -----
37
+
38
+ error = OSError
39
+
40
+ if sys.version_info >= (3, 2):
41
+ supports_bytes_environ: bool
42
+
43
+ if sys.version_info >= (3, 3):
44
+ supports_dir_fd: Set[Callable[..., Any]]
45
+ supports_fd: Set[Callable[..., Any]]
46
+ supports_effective_ids: Set[Callable[..., Any]]
47
+ supports_follow_symlinks: Set[Callable[..., Any]]
48
+
49
+ SEEK_SET: int
50
+ SEEK_CUR: int
51
+ SEEK_END: int
52
+
53
+ O_RDONLY: int
54
+ O_WRONLY: int
55
+ O_RDWR: int
56
+ O_APPEND: int
57
+ O_CREAT: int
58
+ O_EXCL: int
59
+ O_TRUNC: int
60
+ # We don't use sys.platform for O_* flags to denote platform-dependent APIs because some codes,
61
+ # including tests for mypy, use a more finer way than sys.platform before using these APIs
62
+ # See https://github.com/python/typeshed/pull/2286 for discussions
63
+ O_DSYNC: int # Unix only
64
+ O_RSYNC: int # Unix only
65
+ O_SYNC: int # Unix only
66
+ O_NDELAY: int # Unix only
67
+ O_NONBLOCK: int # Unix only
68
+ O_NOCTTY: int # Unix only
69
+ O_SHLOCK: int # Unix only
70
+ O_EXLOCK: int # Unix only
71
+ O_BINARY: int # Windows only
72
+ O_NOINHERIT: int # Windows only
73
+ O_SHORT_LIVED: int # Windows only
74
+ O_TEMPORARY: int # Windows only
75
+ O_RANDOM: int # Windows only
76
+ O_SEQUENTIAL: int # Windows only
77
+ O_TEXT: int # Windows only
78
+ O_ASYNC: int # Gnu extension if in C library
79
+ O_DIRECT: int # Gnu extension if in C library
80
+ O_DIRECTORY: int # Gnu extension if in C library
81
+ O_NOFOLLOW: int # Gnu extension if in C library
82
+ O_NOATIME: int # Gnu extension if in C library
83
+ O_LARGEFILE: int # Gnu extension if in C library
84
+
85
+ curdir: str
86
+ pardir: str
87
+ sep: str
88
+ if sys.platform == "win32":
89
+ altsep: str
90
+ else:
91
+ altsep: Optional[str]
92
+ extsep: str
93
+ pathsep: str
94
+ defpath: str
95
+ linesep: str
96
+ devnull: str
97
+ name: str
98
+
99
+ F_OK: int
100
+ R_OK: int
101
+ W_OK: int
102
+ X_OK: int
103
+
104
+ class _Environ(MutableMapping[AnyStr, AnyStr], Generic[AnyStr]):
105
+ def copy(self) -> Dict[AnyStr, AnyStr]: ...
106
+ def __delitem__(self, key: AnyStr) -> None: ...
107
+ def __getitem__(self, key: AnyStr) -> AnyStr: ...
108
+ def __setitem__(self, key: AnyStr, value: AnyStr) -> None: ...
109
+ def __iter__(self) -> Iterator[AnyStr]: ...
110
+ def __len__(self) -> int: ...
111
+
112
+ environ: _Environ[str]
113
+ if sys.version_info >= (3, 2):
114
+ environb: _Environ[bytes]
115
+
116
+ if sys.platform != "win32":
117
+ # Unix only
118
+ confstr_names: Dict[str, int]
119
+ pathconf_names: Dict[str, int]
120
+ sysconf_names: Dict[str, int]
121
+
122
+ EX_OK: int
123
+ EX_USAGE: int
124
+ EX_DATAERR: int
125
+ EX_NOINPUT: int
126
+ EX_NOUSER: int
127
+ EX_NOHOST: int
128
+ EX_UNAVAILABLE: int
129
+ EX_SOFTWARE: int
130
+ EX_OSERR: int
131
+ EX_OSFILE: int
132
+ EX_CANTCREAT: int
133
+ EX_IOERR: int
134
+ EX_TEMPFAIL: int
135
+ EX_PROTOCOL: int
136
+ EX_NOPERM: int
137
+ EX_CONFIG: int
138
+ EX_NOTFOUND: int
139
+
140
+ P_NOWAIT: int
141
+ P_NOWAITO: int
142
+ P_WAIT: int
143
+ if sys.platform == "win32":
144
+ P_DETACH: int
145
+ P_OVERLAY: int
146
+
147
+ # wait()/waitpid() options
148
+ if sys.platform != "win32":
149
+ WNOHANG: int # Unix only
150
+ WCONTINUED: int # some Unix systems
151
+ WUNTRACED: int # Unix only
152
+
153
+ TMP_MAX: int # Undocumented, but used by tempfile
154
+
155
+ # ----- os classes (structures) -----
156
+ if sys.version_info >= (3, 6):
157
+ from builtins import _PathLike
158
+
159
+ PathLike = _PathLike # See comment in builtins
160
+
161
+ class _StatVFS(NamedTuple):
162
+ f_bsize: int
163
+ f_frsize: int
164
+ f_blocks: int
165
+ f_bfree: int
166
+ f_bavail: int
167
+ f_files: int
168
+ f_ffree: int
169
+ f_favail: int
170
+ f_flag: int
171
+ f_namemax: int
172
+
173
+ def getlogin() -> str: ...
174
+ def getpid() -> int: ...
175
+ def getppid() -> int: ...
176
+ def strerror(code: int) -> str: ...
177
+ def umask(mask: int) -> int: ...
178
+
179
+ if sys.platform != "win32":
180
+ def ctermid() -> str: ...
181
+ def getegid() -> int: ...
182
+ def geteuid() -> int: ...
183
+ def getgid() -> int: ...
184
+ def getgroups() -> List[int]: ... # Unix only, behaves differently on Mac
185
+ def initgroups(username: str, gid: int) -> None: ...
186
+ def getpgid(pid: int) -> int: ...
187
+ def getpgrp() -> int: ...
188
+ def getresuid() -> Tuple[int, int, int]: ...
189
+ def getresgid() -> Tuple[int, int, int]: ...
190
+ def getuid() -> int: ...
191
+ def setegid(egid: int) -> None: ...
192
+ def seteuid(euid: int) -> None: ...
193
+ def setgid(gid: int) -> None: ...
194
+ def setgroups(groups: Sequence[int]) -> None: ...
195
+ def setpgrp() -> None: ...
196
+ def setpgid(pid: int, pgrp: int) -> None: ...
197
+ def setregid(rgid: int, egid: int) -> None: ...
198
+ def setresgid(rgid: int, egid: int, sgid: int) -> None: ...
199
+ def setresuid(ruid: int, euid: int, suid: int) -> None: ...
200
+ def setreuid(ruid: int, euid: int) -> None: ...
201
+ def getsid(pid: int) -> int: ...
202
+ def setsid() -> None: ...
203
+ def setuid(uid: int) -> None: ...
204
+ def uname() -> Tuple[str, str, str, str, str]: ...
205
+
206
+ @overload
207
+ def getenv(key: Text) -> Optional[str]: ...
208
+ @overload
209
+ def getenv(key: Text, default: _T) -> Union[str, _T]: ...
210
+ def putenv(key: Union[bytes, Text], value: Union[bytes, Text]) -> None: ...
211
+ def unsetenv(key: Union[bytes, Text]) -> None: ...
212
+ def fdopen(fd: int, *args, **kwargs) -> IO[Any]: ...
213
+ def close(fd: int) -> None: ...
214
+ def closerange(fd_low: int, fd_high: int) -> None: ...
215
+ def dup(fd: int) -> int: ...
216
+ def dup2(fd: int, fd2: int) -> None: ...
217
+ def fstat(fd: int) -> Any: ...
218
+ def fsync(fd: FileDescriptorLike) -> None: ...
219
+ def lseek(fd: int, pos: int, how: int) -> int: ...
220
+ def open(file: AnyPath, flags: int, mode: int = ...) -> int: ...
221
+ def pipe() -> Tuple[int, int]: ...
222
+ def read(fd: int, n: int) -> bytes: ...
223
+ def write(fd: int, string: Union[bytes, buffer]) -> int: ...
224
+ def access(path: AnyPath, mode: int) -> bool: ...
225
+ def chdir(path: AnyPath) -> None: ...
226
+ def fchdir(fd: FileDescriptorLike) -> None: ...
227
+ def getcwd() -> str: ...
228
+ def getcwdu() -> unicode: ...
229
+ def chmod(path: AnyPath, mode: int) -> None: ...
230
+ def link(src: AnyPath, link_name: AnyPath) -> None: ...
231
+ def lstat(path: AnyPath) -> Any: ...
232
+ def mknod(filename: AnyPath, mode: int = ..., device: int = ...) -> None: ...
233
+ def major(device: int) -> int: ...
234
+ def minor(device: int) -> int: ...
235
+ def makedev(major: int, minor: int) -> int: ...
236
+ def mkdir(path: AnyPath, mode: int = ...) -> None: ...
237
+ def makedirs(path: AnyPath, mode: int = ...) -> None: ...
238
+ def readlink(path: AnyStr) -> AnyStr: ...
239
+ def remove(path: AnyPath) -> None: ...
240
+ def removedirs(path: AnyPath) -> None: ...
241
+ def rename(src: AnyPath, dst: AnyPath) -> None: ...
242
+ def renames(old: AnyPath, new: AnyPath) -> None: ...
243
+ def rmdir(path: AnyPath) -> None: ...
244
+ def stat(path: AnyPath) -> Any: ...
245
+ @overload
246
+ def stat_float_times() -> bool: ...
247
+ @overload
248
+ def stat_float_times(newvalue: bool) -> None: ...
249
+ def symlink(source: AnyPath, link_name: AnyPath) -> None: ...
250
+ def unlink(path: AnyPath) -> None: ...
251
+
252
+ # TODO: add ns, dir_fd, follow_symlinks argument
253
+ if sys.version_info >= (3, 0):
254
+ def utime(path: AnyPath, times: Optional[Tuple[float, float]] = ...) -> None: ...
255
+
256
+ else:
257
+ def utime(path: AnyPath, times: Optional[Tuple[float, float]]) -> None: ...
258
+
259
+ if sys.platform != "win32":
260
+ # Unix only
261
+ def fchmod(fd: int, mode: int) -> None: ...
262
+ def fchown(fd: int, uid: int, gid: int) -> None: ...
263
+ if sys.platform != "darwin":
264
+ def fdatasync(fd: FileDescriptorLike) -> None: ... # Unix only, not Mac
265
+ def fpathconf(fd: int, name: Union[str, int]) -> int: ...
266
+ def fstatvfs(fd: int) -> _StatVFS: ...
267
+ def ftruncate(fd: int, length: int) -> None: ...
268
+ def isatty(fd: int) -> bool: ...
269
+ def openpty() -> Tuple[int, int]: ... # some flavors of Unix
270
+ def tcgetpgrp(fd: int) -> int: ...
271
+ def tcsetpgrp(fd: int, pg: int) -> None: ...
272
+ def ttyname(fd: int) -> str: ...
273
+ def chflags(path: AnyPath, flags: int) -> None: ...
274
+ def chroot(path: AnyPath) -> None: ...
275
+ def chown(path: AnyPath, uid: int, gid: int) -> None: ...
276
+ def lchflags(path: AnyPath, flags: int) -> None: ...
277
+ def lchmod(path: AnyPath, mode: int) -> None: ...
278
+ def lchown(path: AnyPath, uid: int, gid: int) -> None: ...
279
+ def mkfifo(path: AnyPath, mode: int = ...) -> None: ...
280
+ def pathconf(path: AnyPath, name: Union[str, int]) -> int: ...
281
+ def statvfs(path: AnyPath) -> _StatVFS: ...
282
+
283
+ if sys.version_info >= (3, 6):
284
+ def walk(
285
+ top: Union[AnyStr, PathLike[AnyStr]],
286
+ topdown: bool = ...,
287
+ onerror: Optional[Callable[[OSError], Any]] = ...,
288
+ followlinks: bool = ...,
289
+ ) -> Iterator[Tuple[AnyStr, List[AnyStr], List[AnyStr]]]: ...
290
+
291
+ else:
292
+ def walk(
293
+ top: AnyStr, topdown: bool = ..., onerror: Optional[Callable[[OSError], Any]] = ..., followlinks: bool = ...
294
+ ) -> Iterator[Tuple[AnyStr, List[AnyStr], List[AnyStr]]]: ...
295
+
296
+ def abort() -> NoReturn: ...
297
+
298
+ # These are defined as execl(file, *args) but the first *arg is mandatory.
299
+ def execl(file: AnyPath, __arg0: Union[bytes, Text], *args: Union[bytes, Text]) -> NoReturn: ...
300
+ def execlp(file: AnyPath, __arg0: Union[bytes, Text], *args: Union[bytes, Text]) -> NoReturn: ...
301
+
302
+ # These are: execle(file, *args, env) but env is pulled from the last element of the args.
303
+ def execle(file: AnyPath, __arg0: Union[bytes, Text], *args: Any) -> NoReturn: ...
304
+ def execlpe(file: AnyPath, __arg0: Union[bytes, Text], *args: Any) -> NoReturn: ...
305
+
306
+ # The docs say `args: tuple or list of strings`
307
+ # The implementation enforces tuple or list so we can't use Sequence.
308
+ _ExecVArgs = Union[Tuple[Union[bytes, Text], ...], List[bytes], List[Text], List[Union[bytes, Text]]]
309
+
310
+ def execv(path: AnyPath, args: _ExecVArgs) -> NoReturn: ...
311
+ def execve(path: AnyPath, args: _ExecVArgs, env: Mapping[str, str]) -> NoReturn: ...
312
+ def execvp(file: AnyPath, args: _ExecVArgs) -> NoReturn: ...
313
+ def execvpe(file: AnyPath, args: _ExecVArgs, env: Mapping[str, str]) -> NoReturn: ...
314
+ def _exit(n: int) -> NoReturn: ...
315
+ def kill(pid: int, sig: int) -> None: ...
316
+
317
+ if sys.platform != "win32":
318
+ # Unix only
319
+ def fork() -> int: ...
320
+ def forkpty() -> Tuple[int, int]: ... # some flavors of Unix
321
+ def killpg(__pgid: int, __signal: int) -> None: ...
322
+ def nice(increment: int) -> int: ...
323
+ def plock(op: int) -> None: ... # ???op is int?
324
+
325
+ if sys.version_info >= (3, 0):
326
+ class popen(_TextIOWrapper):
327
+ # TODO 'b' modes or bytes command not accepted?
328
+ def __init__(self, command: str, mode: str = ..., bufsize: int = ...) -> None: ...
329
+ def close(self) -> Any: ... # may return int
330
+
331
+ else:
332
+ def popen(command: str, *args, **kwargs) -> IO[Any]: ...
333
+ def popen2(cmd: str, *args, **kwargs) -> Tuple[IO[Any], IO[Any]]: ...
334
+ def popen3(cmd: str, *args, **kwargs) -> Tuple[IO[Any], IO[Any], IO[Any]]: ...
335
+ def popen4(cmd: str, *args, **kwargs) -> Tuple[IO[Any], IO[Any]]: ...
336
+
337
+ def spawnl(mode: int, path: AnyPath, arg0: Union[bytes, Text], *args: Union[bytes, Text]) -> int: ...
338
+ def spawnle(mode: int, path: AnyPath, arg0: Union[bytes, Text], *args: Any) -> int: ... # Imprecise sig
339
+ def spawnv(mode: int, path: AnyPath, args: List[Union[bytes, Text]]) -> int: ...
340
+ def spawnve(mode: int, path: AnyPath, args: List[Union[bytes, Text]], env: Mapping[str, str]) -> int: ...
341
+ def system(command: AnyPath) -> int: ...
342
+ def times() -> Tuple[float, float, float, float, float]: ...
343
+ def waitpid(pid: int, options: int) -> Tuple[int, int]: ...
344
+ def urandom(n: int) -> bytes: ...
345
+
346
+ if sys.platform == "win32":
347
+ def startfile(path: AnyPath, operation: Optional[str] = ...) -> None: ...
348
+
349
+ else:
350
+ # Unix only
351
+ def spawnlp(mode: int, file: AnyPath, arg0: Union[bytes, Text], *args: Union[bytes, Text]) -> int: ...
352
+ def spawnlpe(mode: int, file: AnyPath, arg0: Union[bytes, Text], *args: Any) -> int: ... # Imprecise signature
353
+ def spawnvp(mode: int, file: AnyPath, args: List[Union[bytes, Text]]) -> int: ...
354
+ def spawnvpe(mode: int, file: AnyPath, args: List[Union[bytes, Text]], env: Mapping[str, str]) -> int: ...
355
+ def wait() -> Tuple[int, int]: ...
356
+ def wait3(options: int) -> Tuple[int, int, Any]: ...
357
+ def wait4(pid: int, options: int) -> Tuple[int, int, Any]: ...
358
+ def WCOREDUMP(status: int) -> bool: ...
359
+ def WIFCONTINUED(status: int) -> bool: ...
360
+ def WIFSTOPPED(status: int) -> bool: ...
361
+ def WIFSIGNALED(status: int) -> bool: ...
362
+ def WIFEXITED(status: int) -> bool: ...
363
+ def WEXITSTATUS(status: int) -> int: ...
364
+ def WSTOPSIG(status: int) -> int: ...
365
+ def WTERMSIG(status: int) -> int: ...
366
+ def confstr(name: Union[str, int]) -> Optional[str]: ...
367
+ def getloadavg() -> Tuple[float, float, float]: ...
368
+ def sysconf(name: Union[str, int]) -> int: ...
369
+
370
+ if sys.version_info >= (3, 0):
371
+ def sched_getaffinity(id: int) -> Set[int]: ...
372
+
373
+ if sys.version_info >= (3, 3):
374
+ class waitresult:
375
+ si_pid: int
376
+ def waitid(idtype: int, id: int, options: int) -> waitresult: ...
377
+
378
+ if sys.version_info < (3, 0):
379
+ def tmpfile() -> IO[Any]: ...
380
+ def tmpnam() -> str: ...
381
+ def tempnam(dir: str = ..., prefix: str = ...) -> str: ...
382
+
383
+ P_ALL: int
384
+ WEXITED: int
385
+ WNOWAIT: int
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2/os/path.pyi ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import sys
3
+ from _typeshed import AnyPath, BytesPath, StrPath
4
+ from genericpath import exists as exists
5
+ from typing import Any, AnyStr, Callable, List, Optional, Sequence, Text, Tuple, TypeVar, overload
6
+
7
+ _T = TypeVar("_T")
8
+
9
+ # ----- os.path variables -----
10
+ supports_unicode_filenames: bool
11
+ # aliases (also in os)
12
+ curdir: str
13
+ pardir: str
14
+ sep: str
15
+ if sys.platform == "win32":
16
+ altsep: str
17
+ else:
18
+ altsep: Optional[str]
19
+ extsep: str
20
+ pathsep: str
21
+ defpath: str
22
+ devnull: str
23
+
24
+ # ----- os.path function stubs -----
25
+ def abspath(path: AnyStr) -> AnyStr: ...
26
+ def basename(p: AnyStr) -> AnyStr: ...
27
+ def dirname(p: AnyStr) -> AnyStr: ...
28
+ def expanduser(path: AnyStr) -> AnyStr: ...
29
+ def expandvars(path: AnyStr) -> AnyStr: ...
30
+ def normcase(s: AnyStr) -> AnyStr: ...
31
+ def normpath(path: AnyStr) -> AnyStr: ...
32
+
33
+ if sys.platform == "win32":
34
+ def realpath(path: AnyStr) -> AnyStr: ...
35
+
36
+ else:
37
+ def realpath(filename: AnyStr) -> AnyStr: ...
38
+
39
+ # NOTE: Empty lists results in '' (str) regardless of contained type.
40
+ # Also, in Python 2 mixed sequences of Text and bytes results in either Text or bytes
41
+ # So, fall back to Any
42
+ def commonprefix(m: Sequence[AnyPath]) -> Any: ...
43
+ def lexists(path: AnyPath) -> bool: ...
44
+
45
+ # These return float if os.stat_float_times() == True,
46
+ # but int is a subclass of float.
47
+ def getatime(filename: AnyPath) -> float: ...
48
+ def getmtime(filename: AnyPath) -> float: ...
49
+ def getctime(filename: AnyPath) -> float: ...
50
+ def getsize(filename: AnyPath) -> int: ...
51
+ def isabs(s: AnyPath) -> bool: ...
52
+ def isfile(path: AnyPath) -> bool: ...
53
+ def isdir(s: AnyPath) -> bool: ...
54
+ def islink(path: AnyPath) -> bool: ...
55
+ def ismount(path: AnyPath) -> bool: ...
56
+
57
+ # Make sure signatures are disjunct, and allow combinations of bytes and unicode.
58
+ # (Since Python 2 allows that, too)
59
+ # Note that e.g. os.path.join("a", "b", "c", "d", u"e") will still result in
60
+ # a type error.
61
+ @overload
62
+ def join(__p1: bytes, *p: bytes) -> bytes: ...
63
+ @overload
64
+ def join(__p1: bytes, __p2: bytes, __p3: bytes, __p4: Text, *p: AnyPath) -> Text: ...
65
+ @overload
66
+ def join(__p1: bytes, __p2: bytes, __p3: Text, *p: AnyPath) -> Text: ...
67
+ @overload
68
+ def join(__p1: bytes, __p2: Text, *p: AnyPath) -> Text: ...
69
+ @overload
70
+ def join(__p1: Text, *p: AnyPath) -> Text: ...
71
+ @overload
72
+ def relpath(path: BytesPath, start: Optional[BytesPath] = ...) -> bytes: ...
73
+ @overload
74
+ def relpath(path: StrPath, start: Optional[StrPath] = ...) -> Text: ...
75
+ def samefile(f1: AnyPath, f2: AnyPath) -> bool: ...
76
+ def sameopenfile(fp1: int, fp2: int) -> bool: ...
77
+ def samestat(s1: os.stat_result, s2: os.stat_result) -> bool: ...
78
+ def split(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ...
79
+ def splitdrive(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ...
80
+ def splitext(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ...
81
+
82
+ if sys.platform == "win32":
83
+ def splitunc(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated
84
+
85
+ def walk(path: AnyStr, visit: Callable[[_T, AnyStr, List[AnyStr]], Any], arg: _T) -> None: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/_typeshed/__init__.pyi ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Utility types for typeshed
2
+
3
+ # This module contains various common types to be used by typeshed. The
4
+ # module and its types do not exist at runtime. You can use this module
5
+ # outside of typeshed, but no API stability guarantees are made. To use
6
+ # it in implementation (.py) files, the following construct must be used:
7
+ #
8
+ # from typing import TYPE_CHECKING
9
+ # if TYPE_CHECKING:
10
+ # from _typeshed import ...
11
+ #
12
+ # If on Python versions < 3.10 and "from __future__ import annotations"
13
+ # is not used, types from this module must be quoted.
14
+
15
+ import array
16
+ import mmap
17
+ import sys
18
+ from typing import AbstractSet, Any, Container, Iterable, Protocol, Text, Tuple, TypeVar, Union
19
+ from typing_extensions import Literal, final
20
+
21
+ _KT = TypeVar("_KT")
22
+ _KT_co = TypeVar("_KT_co", covariant=True)
23
+ _KT_contra = TypeVar("_KT_contra", contravariant=True)
24
+ _VT = TypeVar("_VT")
25
+ _VT_co = TypeVar("_VT_co", covariant=True)
26
+ _T_co = TypeVar("_T_co", covariant=True)
27
+ _T_contra = TypeVar("_T_contra", contravariant=True)
28
+
29
+ class SupportsLessThan(Protocol):
30
+ def __lt__(self, __other: Any) -> bool: ...
31
+
32
+ SupportsLessThanT = TypeVar("SupportsLessThanT", bound=SupportsLessThan) # noqa: Y001
33
+
34
+ # Mapping-like protocols
35
+
36
+ class SupportsItems(Protocol[_KT_co, _VT_co]):
37
+ if sys.version_info >= (3,):
38
+ def items(self) -> AbstractSet[Tuple[_KT_co, _VT_co]]: ...
39
+ else:
40
+ # We want dictionaries to support this on Python 2.
41
+ def items(self) -> Iterable[Tuple[_KT_co, _VT_co]]: ...
42
+
43
+ class SupportsKeysAndGetItem(Protocol[_KT, _VT_co]):
44
+ def keys(self) -> Iterable[_KT]: ...
45
+ def __getitem__(self, __k: _KT) -> _VT_co: ...
46
+
47
+ class SupportsGetItem(Container[_KT_contra], Protocol[_KT_contra, _VT_co]):
48
+ def __getitem__(self, __k: _KT_contra) -> _VT_co: ...
49
+
50
+ class SupportsItemAccess(SupportsGetItem[_KT_contra, _VT], Protocol[_KT_contra, _VT]):
51
+ def __setitem__(self, __k: _KT_contra, __v: _VT) -> None: ...
52
+ def __delitem__(self, __v: _KT_contra) -> None: ...
53
+
54
+ # StrPath and AnyPath can be used in places where a
55
+ # path can be used instead of a string, starting with Python 3.6.
56
+ if sys.version_info >= (3, 6):
57
+ from os import PathLike
58
+
59
+ StrPath = Union[str, PathLike[str]]
60
+ BytesPath = Union[bytes, PathLike[bytes]]
61
+ AnyPath = Union[str, bytes, PathLike[str], PathLike[bytes]]
62
+ else:
63
+ StrPath = Text
64
+ BytesPath = bytes
65
+ AnyPath = Union[Text, bytes]
66
+
67
+ OpenTextMode = Literal[
68
+ "r",
69
+ "r+",
70
+ "+r",
71
+ "rt",
72
+ "tr",
73
+ "rt+",
74
+ "r+t",
75
+ "+rt",
76
+ "tr+",
77
+ "t+r",
78
+ "+tr",
79
+ "w",
80
+ "w+",
81
+ "+w",
82
+ "wt",
83
+ "tw",
84
+ "wt+",
85
+ "w+t",
86
+ "+wt",
87
+ "tw+",
88
+ "t+w",
89
+ "+tw",
90
+ "a",
91
+ "a+",
92
+ "+a",
93
+ "at",
94
+ "ta",
95
+ "at+",
96
+ "a+t",
97
+ "+at",
98
+ "ta+",
99
+ "t+a",
100
+ "+ta",
101
+ "x",
102
+ "x+",
103
+ "+x",
104
+ "xt",
105
+ "tx",
106
+ "xt+",
107
+ "x+t",
108
+ "+xt",
109
+ "tx+",
110
+ "t+x",
111
+ "+tx",
112
+ "U",
113
+ "rU",
114
+ "Ur",
115
+ "rtU",
116
+ "rUt",
117
+ "Urt",
118
+ "trU",
119
+ "tUr",
120
+ "Utr",
121
+ ]
122
+ OpenBinaryModeUpdating = Literal[
123
+ "rb+",
124
+ "r+b",
125
+ "+rb",
126
+ "br+",
127
+ "b+r",
128
+ "+br",
129
+ "wb+",
130
+ "w+b",
131
+ "+wb",
132
+ "bw+",
133
+ "b+w",
134
+ "+bw",
135
+ "ab+",
136
+ "a+b",
137
+ "+ab",
138
+ "ba+",
139
+ "b+a",
140
+ "+ba",
141
+ "xb+",
142
+ "x+b",
143
+ "+xb",
144
+ "bx+",
145
+ "b+x",
146
+ "+bx",
147
+ ]
148
+ OpenBinaryModeWriting = Literal["wb", "bw", "ab", "ba", "xb", "bx"]
149
+ OpenBinaryModeReading = Literal["rb", "br", "rbU", "rUb", "Urb", "brU", "bUr", "Ubr"]
150
+ OpenBinaryMode = Union[OpenBinaryModeUpdating, OpenBinaryModeReading, OpenBinaryModeWriting]
151
+
152
+ class HasFileno(Protocol):
153
+ def fileno(self) -> int: ...
154
+
155
+ FileDescriptor = int
156
+ FileDescriptorLike = Union[int, HasFileno]
157
+
158
+ class SupportsRead(Protocol[_T_co]):
159
+ def read(self, __length: int = ...) -> _T_co: ...
160
+
161
+ class SupportsReadline(Protocol[_T_co]):
162
+ def readline(self, __length: int = ...) -> _T_co: ...
163
+
164
+ class SupportsNoArgReadline(Protocol[_T_co]):
165
+ def readline(self) -> _T_co: ...
166
+
167
+ class SupportsWrite(Protocol[_T_contra]):
168
+ def write(self, __s: _T_contra) -> int: ...
169
+
170
+ if sys.version_info >= (3,):
171
+ ReadableBuffer = Union[bytes, bytearray, memoryview, array.array, mmap.mmap]
172
+ WriteableBuffer = Union[bytearray, memoryview, array.array, mmap.mmap]
173
+ else:
174
+ ReadableBuffer = Union[bytes, bytearray, memoryview, array.array, mmap.mmap, buffer]
175
+ WriteableBuffer = Union[bytearray, memoryview, array.array, mmap.mmap, buffer]
176
+
177
+ if sys.version_info >= (3, 10):
178
+ from types import NoneType as NoneType
179
+ else:
180
+ # Used by type checkers for checks involving None (does not exist at runtime)
181
+ @final
182
+ class NoneType:
183
+ def __bool__(self) -> Literal[False]: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/_typeshed/wsgi.pyi ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Types to support PEP 3333 (WSGI)
2
+ #
3
+ # This module doesn't exist at runtime and neither do the types defined in this
4
+ # file. They are provided for type checking purposes.
5
+
6
+ from sys import _OptExcInfo
7
+ from typing import Any, Callable, Dict, Iterable, List, Optional, Protocol, Text, Tuple
8
+
9
+ class StartResponse(Protocol):
10
+ def __call__(
11
+ self, status: str, headers: List[Tuple[str, str]], exc_info: Optional[_OptExcInfo] = ...
12
+ ) -> Callable[[bytes], Any]: ...
13
+
14
+ WSGIEnvironment = Dict[Text, Any]
15
+ WSGIApplication = Callable[[WSGIEnvironment, StartResponse], Iterable[bytes]]
16
+
17
+ # WSGI input streams per PEP 3333
18
+ class InputStream(Protocol):
19
+ def read(self, size: int = ...) -> bytes: ...
20
+ def readline(self, size: int = ...) -> bytes: ...
21
+ def readlines(self, hint: int = ...) -> List[bytes]: ...
22
+ def __iter__(self) -> Iterable[bytes]: ...
23
+
24
+ # WSGI error streams per PEP 3333
25
+ class ErrorStream(Protocol):
26
+ def flush(self) -> None: ...
27
+ def write(self, s: str) -> None: ...
28
+ def writelines(self, seq: List[str]) -> None: ...
29
+
30
+ class _Readable(Protocol):
31
+ def read(self, size: int = ...) -> bytes: ...
32
+
33
+ # Optional file wrapper in wsgi.file_wrapper
34
+ class FileWrapper(Protocol):
35
+ def __call__(self, file: _Readable, block_size: int = ...) -> Iterable[bytes]: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/_typeshed/xml.pyi ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # Stub-only types. This module does not exist at runtime.
2
+
3
+ from typing import Any, Optional
4
+ from typing_extensions import Protocol
5
+
6
+ # As defined https://docs.python.org/3/library/xml.dom.html#domimplementation-objects
7
+ class DOMImplementation(Protocol):
8
+ def hasFeature(self, feature: str, version: Optional[str]) -> bool: ...
9
+ def createDocument(self, namespaceUri: str, qualifiedName: str, doctype: Optional[Any]) -> Any: ...
10
+ def createDocumentType(self, qualifiedName: str, publicId: str, systemId: str) -> Any: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/ctypes/__init__.pyi ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from array import array
3
+ from typing import (
4
+ Any,
5
+ Callable,
6
+ ClassVar,
7
+ Generic,
8
+ Iterable,
9
+ Iterator,
10
+ List,
11
+ Mapping,
12
+ Optional,
13
+ Sequence,
14
+ Text,
15
+ Tuple,
16
+ Type,
17
+ TypeVar,
18
+ Union as _UnionT,
19
+ overload,
20
+ )
21
+
22
+ if sys.version_info >= (3, 9):
23
+ from types import GenericAlias
24
+
25
+ _T = TypeVar("_T")
26
+ _DLLT = TypeVar("_DLLT", bound=CDLL)
27
+ _CT = TypeVar("_CT", bound=_CData)
28
+
29
+ RTLD_GLOBAL: int = ...
30
+ RTLD_LOCAL: int = ...
31
+ DEFAULT_MODE: int = ...
32
+
33
+ class CDLL(object):
34
+ _func_flags_: ClassVar[int] = ...
35
+ _func_restype_: ClassVar[_CData] = ...
36
+ _name: str = ...
37
+ _handle: int = ...
38
+ _FuncPtr: Type[_FuncPointer] = ...
39
+ def __init__(
40
+ self,
41
+ name: Optional[str],
42
+ mode: int = ...,
43
+ handle: Optional[int] = ...,
44
+ use_errno: bool = ...,
45
+ use_last_error: bool = ...,
46
+ winmode: Optional[int] = ...,
47
+ ) -> None: ...
48
+ def __getattr__(self, name: str) -> _NamedFuncPointer: ...
49
+ def __getitem__(self, name: str) -> _NamedFuncPointer: ...
50
+
51
+ if sys.platform == "win32":
52
+ class OleDLL(CDLL): ...
53
+ class WinDLL(CDLL): ...
54
+
55
+ class PyDLL(CDLL): ...
56
+
57
+ class LibraryLoader(Generic[_DLLT]):
58
+ def __init__(self, dlltype: Type[_DLLT]) -> None: ...
59
+ def __getattr__(self, name: str) -> _DLLT: ...
60
+ def __getitem__(self, name: str) -> _DLLT: ...
61
+ def LoadLibrary(self, name: str) -> _DLLT: ...
62
+ if sys.version_info >= (3, 9):
63
+ def __class_getitem__(cls, item: Any) -> GenericAlias: ...
64
+
65
+ cdll: LibraryLoader[CDLL] = ...
66
+ if sys.platform == "win32":
67
+ windll: LibraryLoader[WinDLL] = ...
68
+ oledll: LibraryLoader[OleDLL] = ...
69
+ pydll: LibraryLoader[PyDLL] = ...
70
+ pythonapi: PyDLL = ...
71
+
72
+ # Anything that implements the read-write buffer interface.
73
+ # The buffer interface is defined purely on the C level, so we cannot define a normal Protocol
74
+ # for it. Instead we have to list the most common stdlib buffer classes in a Union.
75
+ _WritableBuffer = _UnionT[bytearray, memoryview, array, _CData]
76
+ # Same as _WritableBuffer, but also includes read-only buffer types (like bytes).
77
+ _ReadOnlyBuffer = _UnionT[_WritableBuffer, bytes]
78
+
79
+ class _CDataMeta(type):
80
+ # By default mypy complains about the following two methods, because strictly speaking cls
81
+ # might not be a Type[_CT]. However this can never actually happen, because the only class that
82
+ # uses _CDataMeta as its metaclass is _CData. So it's safe to ignore the errors here.
83
+ def __mul__(cls: Type[_CT], other: int) -> Type[Array[_CT]]: ... # type: ignore
84
+ def __rmul__(cls: Type[_CT], other: int) -> Type[Array[_CT]]: ... # type: ignore
85
+
86
+ class _CData(metaclass=_CDataMeta):
87
+ _b_base: int = ...
88
+ _b_needsfree_: bool = ...
89
+ _objects: Optional[Mapping[Any, int]] = ...
90
+ @classmethod
91
+ def from_buffer(cls: Type[_CT], source: _WritableBuffer, offset: int = ...) -> _CT: ...
92
+ @classmethod
93
+ def from_buffer_copy(cls: Type[_CT], source: _ReadOnlyBuffer, offset: int = ...) -> _CT: ...
94
+ @classmethod
95
+ def from_address(cls: Type[_CT], address: int) -> _CT: ...
96
+ @classmethod
97
+ def from_param(cls: Type[_CT], obj: Any) -> _UnionT[_CT, _CArgObject]: ...
98
+ @classmethod
99
+ def in_dll(cls: Type[_CT], library: CDLL, name: str) -> _CT: ...
100
+
101
+ class _CanCastTo(_CData): ...
102
+ class _PointerLike(_CanCastTo): ...
103
+
104
+ _ECT = Callable[[Optional[Type[_CData]], _FuncPointer, Tuple[_CData, ...]], _CData]
105
+ _PF = _UnionT[Tuple[int], Tuple[int, str], Tuple[int, str, Any]]
106
+
107
+ class _FuncPointer(_PointerLike, _CData):
108
+ restype: _UnionT[Type[_CData], Callable[[int], None], None] = ...
109
+ argtypes: Sequence[Type[_CData]] = ...
110
+ errcheck: _ECT = ...
111
+ @overload
112
+ def __init__(self, address: int) -> None: ...
113
+ @overload
114
+ def __init__(self, callable: Callable[..., Any]) -> None: ...
115
+ @overload
116
+ def __init__(self, func_spec: Tuple[_UnionT[str, int], CDLL], paramflags: Tuple[_PF, ...] = ...) -> None: ...
117
+ @overload
118
+ def __init__(self, vtlb_index: int, name: str, paramflags: Tuple[_PF, ...] = ..., iid: pointer[c_int] = ...) -> None: ...
119
+ def __call__(self, *args: Any, **kwargs: Any) -> Any: ...
120
+
121
+ class _NamedFuncPointer(_FuncPointer):
122
+ __name__: str
123
+
124
+ class ArgumentError(Exception): ...
125
+
126
+ def CFUNCTYPE(
127
+ restype: Optional[Type[_CData]], *argtypes: Type[_CData], use_errno: bool = ..., use_last_error: bool = ...
128
+ ) -> Type[_FuncPointer]: ...
129
+
130
+ if sys.platform == "win32":
131
+ def WINFUNCTYPE(
132
+ restype: Optional[Type[_CData]], *argtypes: Type[_CData], use_errno: bool = ..., use_last_error: bool = ...
133
+ ) -> Type[_FuncPointer]: ...
134
+
135
+ def PYFUNCTYPE(restype: Optional[Type[_CData]], *argtypes: Type[_CData]) -> Type[_FuncPointer]: ...
136
+
137
+ class _CArgObject: ...
138
+
139
+ # Any type that can be implicitly converted to c_void_p when passed as a C function argument.
140
+ # (bytes is not included here, see below.)
141
+ _CVoidPLike = _UnionT[_PointerLike, Array[Any], _CArgObject, int]
142
+ # Same as above, but including types known to be read-only (i. e. bytes).
143
+ # This distinction is not strictly necessary (ctypes doesn't differentiate between const
144
+ # and non-const pointers), but it catches errors like memmove(b'foo', buf, 4)
145
+ # when memmove(buf, b'foo', 4) was intended.
146
+ _CVoidConstPLike = _UnionT[_CVoidPLike, bytes]
147
+
148
+ def addressof(obj: _CData) -> int: ...
149
+ def alignment(obj_or_type: _UnionT[_CData, Type[_CData]]) -> int: ...
150
+ def byref(obj: _CData, offset: int = ...) -> _CArgObject: ...
151
+
152
+ _CastT = TypeVar("_CastT", bound=_CanCastTo)
153
+
154
+ def cast(obj: _UnionT[_CData, _CArgObject, int], type: Type[_CastT]) -> _CastT: ...
155
+ def create_string_buffer(init: _UnionT[int, bytes], size: Optional[int] = ...) -> Array[c_char]: ...
156
+
157
+ c_buffer = create_string_buffer
158
+
159
+ def create_unicode_buffer(init: _UnionT[int, Text], size: Optional[int] = ...) -> Array[c_wchar]: ...
160
+
161
+ if sys.platform == "win32":
162
+ def DllCanUnloadNow() -> int: ...
163
+ def DllGetClassObject(rclsid: Any, riid: Any, ppv: Any) -> int: ... # TODO not documented
164
+ def FormatError(code: int) -> str: ...
165
+ def GetLastError() -> int: ...
166
+
167
+ def get_errno() -> int: ...
168
+
169
+ if sys.platform == "win32":
170
+ def get_last_error() -> int: ...
171
+
172
+ def memmove(dst: _CVoidPLike, src: _CVoidConstPLike, count: int) -> None: ...
173
+ def memset(dst: _CVoidPLike, c: int, count: int) -> None: ...
174
+ def POINTER(type: Type[_CT]) -> Type[pointer[_CT]]: ...
175
+
176
+ # The real ctypes.pointer is a function, not a class. The stub version of pointer behaves like
177
+ # ctypes._Pointer in that it is the base class for all pointer types. Unlike the real _Pointer,
178
+ # it can be instantiated directly (to mimic the behavior of the real pointer function).
179
+ class pointer(Generic[_CT], _PointerLike, _CData):
180
+ _type_: ClassVar[Type[_CT]] = ...
181
+ contents: _CT = ...
182
+ def __init__(self, arg: _CT = ...) -> None: ...
183
+ @overload
184
+ def __getitem__(self, i: int) -> _CT: ...
185
+ @overload
186
+ def __getitem__(self, s: slice) -> List[_CT]: ...
187
+ @overload
188
+ def __setitem__(self, i: int, o: _CT) -> None: ...
189
+ @overload
190
+ def __setitem__(self, s: slice, o: Iterable[_CT]) -> None: ...
191
+
192
+ def resize(obj: _CData, size: int) -> None: ...
193
+
194
+ if sys.version_info < (3,):
195
+ def set_conversion_mode(encoding: str, errors: str) -> Tuple[str, str]: ...
196
+
197
+ def set_errno(value: int) -> int: ...
198
+
199
+ if sys.platform == "win32":
200
+ def set_last_error(value: int) -> int: ...
201
+
202
+ def sizeof(obj_or_type: _UnionT[_CData, Type[_CData]]) -> int: ...
203
+ def string_at(address: _CVoidConstPLike, size: int = ...) -> bytes: ...
204
+
205
+ if sys.platform == "win32":
206
+ def WinError(code: Optional[int] = ..., descr: Optional[str] = ...) -> OSError: ...
207
+
208
+ def wstring_at(address: _CVoidConstPLike, size: int = ...) -> str: ...
209
+
210
+ class _SimpleCData(Generic[_T], _CData):
211
+ value: _T = ...
212
+ def __init__(self, value: _T = ...) -> None: ...
213
+
214
+ class c_byte(_SimpleCData[int]): ...
215
+
216
+ class c_char(_SimpleCData[bytes]):
217
+ def __init__(self, value: _UnionT[int, bytes] = ...) -> None: ...
218
+
219
+ class c_char_p(_PointerLike, _SimpleCData[Optional[bytes]]):
220
+ def __init__(self, value: Optional[_UnionT[int, bytes]] = ...) -> None: ...
221
+
222
+ class c_double(_SimpleCData[float]): ...
223
+ class c_longdouble(_SimpleCData[float]): ...
224
+ class c_float(_SimpleCData[float]): ...
225
+ class c_int(_SimpleCData[int]): ...
226
+ class c_int8(_SimpleCData[int]): ...
227
+ class c_int16(_SimpleCData[int]): ...
228
+ class c_int32(_SimpleCData[int]): ...
229
+ class c_int64(_SimpleCData[int]): ...
230
+ class c_long(_SimpleCData[int]): ...
231
+ class c_longlong(_SimpleCData[int]): ...
232
+ class c_short(_SimpleCData[int]): ...
233
+ class c_size_t(_SimpleCData[int]): ...
234
+ class c_ssize_t(_SimpleCData[int]): ...
235
+ class c_ubyte(_SimpleCData[int]): ...
236
+ class c_uint(_SimpleCData[int]): ...
237
+ class c_uint8(_SimpleCData[int]): ...
238
+ class c_uint16(_SimpleCData[int]): ...
239
+ class c_uint32(_SimpleCData[int]): ...
240
+ class c_uint64(_SimpleCData[int]): ...
241
+ class c_ulong(_SimpleCData[int]): ...
242
+ class c_ulonglong(_SimpleCData[int]): ...
243
+ class c_ushort(_SimpleCData[int]): ...
244
+ class c_void_p(_PointerLike, _SimpleCData[Optional[int]]): ...
245
+ class c_wchar(_SimpleCData[Text]): ...
246
+
247
+ class c_wchar_p(_PointerLike, _SimpleCData[Optional[Text]]):
248
+ def __init__(self, value: Optional[_UnionT[int, Text]] = ...) -> None: ...
249
+
250
+ class c_bool(_SimpleCData[bool]):
251
+ def __init__(self, value: bool = ...) -> None: ...
252
+
253
+ if sys.platform == "win32":
254
+ class HRESULT(_SimpleCData[int]): ... # TODO undocumented
255
+
256
+ class py_object(_CanCastTo, _SimpleCData[_T]): ...
257
+
258
+ class _CField:
259
+ offset: int = ...
260
+ size: int = ...
261
+
262
+ class _StructUnionMeta(_CDataMeta):
263
+ _fields_: Sequence[_UnionT[Tuple[str, Type[_CData]], Tuple[str, Type[_CData], int]]] = ...
264
+ _pack_: int = ...
265
+ _anonymous_: Sequence[str] = ...
266
+ def __getattr__(self, name: str) -> _CField: ...
267
+
268
+ class _StructUnionBase(_CData, metaclass=_StructUnionMeta):
269
+ def __init__(self, *args: Any, **kw: Any) -> None: ...
270
+ def __getattr__(self, name: str) -> Any: ...
271
+ def __setattr__(self, name: str, value: Any) -> None: ...
272
+
273
+ class Union(_StructUnionBase): ...
274
+ class Structure(_StructUnionBase): ...
275
+ class BigEndianStructure(Structure): ...
276
+ class LittleEndianStructure(Structure): ...
277
+
278
+ class Array(Generic[_CT], _CData):
279
+ _length_: ClassVar[int] = ...
280
+ _type_: ClassVar[Type[_CT]] = ...
281
+ raw: bytes = ... # Note: only available if _CT == c_char
282
+ value: Any = ... # Note: bytes if _CT == c_char, Text if _CT == c_wchar, unavailable otherwise
283
+ # TODO These methods cannot be annotated correctly at the moment.
284
+ # All of these "Any"s stand for the array's element type, but it's not possible to use _CT
285
+ # here, because of a special feature of ctypes.
286
+ # By default, when accessing an element of an Array[_CT], the returned object has type _CT.
287
+ # However, when _CT is a "simple type" like c_int, ctypes automatically "unboxes" the object
288
+ # and converts it to the corresponding Python primitive. For example, when accessing an element
289
+ # of an Array[c_int], a Python int object is returned, not a c_int.
290
+ # This behavior does *not* apply to subclasses of "simple types".
291
+ # If MyInt is a subclass of c_int, then accessing an element of an Array[MyInt] returns
292
+ # a MyInt, not an int.
293
+ # This special behavior is not easy to model in a stub, so for now all places where
294
+ # the array element type would belong are annotated with Any instead.
295
+ def __init__(self, *args: Any) -> None: ...
296
+ @overload
297
+ def __getitem__(self, i: int) -> Any: ...
298
+ @overload
299
+ def __getitem__(self, s: slice) -> List[Any]: ...
300
+ @overload
301
+ def __setitem__(self, i: int, o: Any) -> None: ...
302
+ @overload
303
+ def __setitem__(self, s: slice, o: Iterable[Any]) -> None: ...
304
+ def __iter__(self) -> Iterator[Any]: ...
305
+ # Can't inherit from Sized because the metaclass conflict between
306
+ # Sized and _CData prevents using _CDataMeta.
307
+ def __len__(self) -> int: ...
308
+ if sys.version_info >= (3, 9):
309
+ def __class_getitem__(cls, item: Any) -> GenericAlias: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/ctypes/util.pyi ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from typing import Optional
3
+
4
+ def find_library(name: str) -> Optional[str]: ...
5
+
6
+ if sys.platform == "win32":
7
+ def find_msvcrt() -> Optional[str]: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/ctypes/wintypes.pyi ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from ctypes import (
2
+ Array,
3
+ Structure,
4
+ _SimpleCData,
5
+ c_byte,
6
+ c_char,
7
+ c_char_p,
8
+ c_double,
9
+ c_float,
10
+ c_int,
11
+ c_long,
12
+ c_longlong,
13
+ c_short,
14
+ c_uint,
15
+ c_ulong,
16
+ c_ulonglong,
17
+ c_ushort,
18
+ c_void_p,
19
+ c_wchar,
20
+ c_wchar_p,
21
+ pointer,
22
+ )
23
+
24
+ BYTE = c_byte
25
+ WORD = c_ushort
26
+ DWORD = c_ulong
27
+ CHAR = c_char
28
+ WCHAR = c_wchar
29
+ UINT = c_uint
30
+ INT = c_int
31
+ DOUBLE = c_double
32
+ FLOAT = c_float
33
+ BOOLEAN = BYTE
34
+ BOOL = c_long
35
+
36
+ class VARIANT_BOOL(_SimpleCData[bool]): ...
37
+
38
+ ULONG = c_ulong
39
+ LONG = c_long
40
+ USHORT = c_ushort
41
+ SHORT = c_short
42
+ LARGE_INTEGER = c_longlong
43
+ _LARGE_INTEGER = c_longlong
44
+ ULARGE_INTEGER = c_ulonglong
45
+ _ULARGE_INTEGER = c_ulonglong
46
+
47
+ OLESTR = c_wchar_p
48
+ LPOLESTR = c_wchar_p
49
+ LPCOLESTR = c_wchar_p
50
+ LPWSTR = c_wchar_p
51
+ LPCWSTR = c_wchar_p
52
+ LPSTR = c_char_p
53
+ LPCSTR = c_char_p
54
+ LPVOID = c_void_p
55
+ LPCVOID = c_void_p
56
+
57
+ # These two types are pointer-sized unsigned and signed ints, respectively.
58
+ # At runtime, they are either c_[u]long or c_[u]longlong, depending on the host's pointer size
59
+ # (they are not really separate classes).
60
+ class WPARAM(_SimpleCData[int]): ...
61
+ class LPARAM(_SimpleCData[int]): ...
62
+
63
+ ATOM = WORD
64
+ LANGID = WORD
65
+ COLORREF = DWORD
66
+ LGRPID = DWORD
67
+ LCTYPE = DWORD
68
+ LCID = DWORD
69
+
70
+ HANDLE = c_void_p
71
+ HACCEL = HANDLE
72
+ HBITMAP = HANDLE
73
+ HBRUSH = HANDLE
74
+ HCOLORSPACE = HANDLE
75
+ HDC = HANDLE
76
+ HDESK = HANDLE
77
+ HDWP = HANDLE
78
+ HENHMETAFILE = HANDLE
79
+ HFONT = HANDLE
80
+ HGDIOBJ = HANDLE
81
+ HGLOBAL = HANDLE
82
+ HHOOK = HANDLE
83
+ HICON = HANDLE
84
+ HINSTANCE = HANDLE
85
+ HKEY = HANDLE
86
+ HKL = HANDLE
87
+ HLOCAL = HANDLE
88
+ HMENU = HANDLE
89
+ HMETAFILE = HANDLE
90
+ HMODULE = HANDLE
91
+ HMONITOR = HANDLE
92
+ HPALETTE = HANDLE
93
+ HPEN = HANDLE
94
+ HRGN = HANDLE
95
+ HRSRC = HANDLE
96
+ HSTR = HANDLE
97
+ HTASK = HANDLE
98
+ HWINSTA = HANDLE
99
+ HWND = HANDLE
100
+ SC_HANDLE = HANDLE
101
+ SERVICE_STATUS_HANDLE = HANDLE
102
+
103
+ class RECT(Structure):
104
+ left: LONG
105
+ top: LONG
106
+ right: LONG
107
+ bottom: LONG
108
+
109
+ RECTL = RECT
110
+ _RECTL = RECT
111
+ tagRECT = RECT
112
+
113
+ class _SMALL_RECT(Structure):
114
+ Left: SHORT
115
+ Top: SHORT
116
+ Right: SHORT
117
+ Bottom: SHORT
118
+
119
+ SMALL_RECT = _SMALL_RECT
120
+
121
+ class _COORD(Structure):
122
+ X: SHORT
123
+ Y: SHORT
124
+
125
+ class POINT(Structure):
126
+ x: LONG
127
+ y: LONG
128
+
129
+ POINTL = POINT
130
+ _POINTL = POINT
131
+ tagPOINT = POINT
132
+
133
+ class SIZE(Structure):
134
+ cx: LONG
135
+ cy: LONG
136
+
137
+ SIZEL = SIZE
138
+ tagSIZE = SIZE
139
+
140
+ def RGB(red: int, green: int, blue: int) -> int: ...
141
+
142
+ class FILETIME(Structure):
143
+ dwLowDateTime: DWORD
144
+ dwHighDateTime: DWORD
145
+
146
+ _FILETIME = FILETIME
147
+
148
+ class MSG(Structure):
149
+ hWnd: HWND
150
+ message: UINT
151
+ wParam: WPARAM
152
+ lParam: LPARAM
153
+ time: DWORD
154
+ pt: POINT
155
+
156
+ tagMSG = MSG
157
+ MAX_PATH: int
158
+
159
+ class WIN32_FIND_DATAA(Structure):
160
+ dwFileAttributes: DWORD
161
+ ftCreationTime: FILETIME
162
+ ftLastAccessTime: FILETIME
163
+ ftLastWriteTime: FILETIME
164
+ nFileSizeHigh: DWORD
165
+ nFileSizeLow: DWORD
166
+ dwReserved0: DWORD
167
+ dwReserved1: DWORD
168
+ cFileName: Array[CHAR]
169
+ cAlternateFileName: Array[CHAR]
170
+
171
+ class WIN32_FIND_DATAW(Structure):
172
+ dwFileAttributes: DWORD
173
+ ftCreationTime: FILETIME
174
+ ftLastAccessTime: FILETIME
175
+ ftLastWriteTime: FILETIME
176
+ nFileSizeHigh: DWORD
177
+ nFileSizeLow: DWORD
178
+ dwReserved0: DWORD
179
+ dwReserved1: DWORD
180
+ cFileName: Array[WCHAR]
181
+ cAlternateFileName: Array[WCHAR]
182
+
183
+ # These pointer type definitions use pointer[...] instead of POINTER(...), to allow them
184
+ # to be used in type annotations.
185
+ PBOOL = pointer[BOOL]
186
+ LPBOOL = pointer[BOOL]
187
+ PBOOLEAN = pointer[BOOLEAN]
188
+ PBYTE = pointer[BYTE]
189
+ LPBYTE = pointer[BYTE]
190
+ PCHAR = pointer[CHAR]
191
+ LPCOLORREF = pointer[COLORREF]
192
+ PDWORD = pointer[DWORD]
193
+ LPDWORD = pointer[DWORD]
194
+ PFILETIME = pointer[FILETIME]
195
+ LPFILETIME = pointer[FILETIME]
196
+ PFLOAT = pointer[FLOAT]
197
+ PHANDLE = pointer[HANDLE]
198
+ LPHANDLE = pointer[HANDLE]
199
+ PHKEY = pointer[HKEY]
200
+ LPHKL = pointer[HKL]
201
+ PINT = pointer[INT]
202
+ LPINT = pointer[INT]
203
+ PLARGE_INTEGER = pointer[LARGE_INTEGER]
204
+ PLCID = pointer[LCID]
205
+ PLONG = pointer[LONG]
206
+ LPLONG = pointer[LONG]
207
+ PMSG = pointer[MSG]
208
+ LPMSG = pointer[MSG]
209
+ PPOINT = pointer[POINT]
210
+ LPPOINT = pointer[POINT]
211
+ PPOINTL = pointer[POINTL]
212
+ PRECT = pointer[RECT]
213
+ LPRECT = pointer[RECT]
214
+ PRECTL = pointer[RECTL]
215
+ LPRECTL = pointer[RECTL]
216
+ LPSC_HANDLE = pointer[SC_HANDLE]
217
+ PSHORT = pointer[SHORT]
218
+ PSIZE = pointer[SIZE]
219
+ LPSIZE = pointer[SIZE]
220
+ PSIZEL = pointer[SIZEL]
221
+ LPSIZEL = pointer[SIZEL]
222
+ PSMALL_RECT = pointer[SMALL_RECT]
223
+ PUINT = pointer[UINT]
224
+ LPUINT = pointer[UINT]
225
+ PULARGE_INTEGER = pointer[ULARGE_INTEGER]
226
+ PULONG = pointer[ULONG]
227
+ PUSHORT = pointer[USHORT]
228
+ PWCHAR = pointer[WCHAR]
229
+ PWIN32_FIND_DATAA = pointer[WIN32_FIND_DATAA]
230
+ LPWIN32_FIND_DATAA = pointer[WIN32_FIND_DATAA]
231
+ PWIN32_FIND_DATAW = pointer[WIN32_FIND_DATAW]
232
+ LPWIN32_FIND_DATAW = pointer[WIN32_FIND_DATAW]
233
+ PWORD = pointer[WORD]
234
+ LPWORD = pointer[WORD]
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/curses/__init__.pyi ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from _curses import * # noqa: F403
2
+ from _curses import _CursesWindow as _CursesWindow
3
+ from typing import Any, Callable, TypeVar
4
+
5
+ _T = TypeVar("_T")
6
+
7
+ # available after calling `curses.initscr()`
8
+ LINES: int
9
+ COLS: int
10
+
11
+ # available after calling `curses.start_color()`
12
+ COLORS: int
13
+ COLOR_PAIRS: int
14
+
15
+ def wrapper(__func: Callable[..., _T], *arg: Any, **kwds: Any) -> _T: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/curses/ascii.pyi ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import List, TypeVar, Union
2
+
3
+ _Ch = TypeVar("_Ch", str, int)
4
+
5
+ NUL: int
6
+ SOH: int
7
+ STX: int
8
+ ETX: int
9
+ EOT: int
10
+ ENQ: int
11
+ ACK: int
12
+ BEL: int
13
+ BS: int
14
+ TAB: int
15
+ HT: int
16
+ LF: int
17
+ NL: int
18
+ VT: int
19
+ FF: int
20
+ CR: int
21
+ SO: int
22
+ SI: int
23
+ DLE: int
24
+ DC1: int
25
+ DC2: int
26
+ DC3: int
27
+ DC4: int
28
+ NAK: int
29
+ SYN: int
30
+ ETB: int
31
+ CAN: int
32
+ EM: int
33
+ SUB: int
34
+ ESC: int
35
+ FS: int
36
+ GS: int
37
+ RS: int
38
+ US: int
39
+ SP: int
40
+ DEL: int
41
+
42
+ controlnames: List[int]
43
+
44
+ def isalnum(c: Union[str, int]) -> bool: ...
45
+ def isalpha(c: Union[str, int]) -> bool: ...
46
+ def isascii(c: Union[str, int]) -> bool: ...
47
+ def isblank(c: Union[str, int]) -> bool: ...
48
+ def iscntrl(c: Union[str, int]) -> bool: ...
49
+ def isdigit(c: Union[str, int]) -> bool: ...
50
+ def isgraph(c: Union[str, int]) -> bool: ...
51
+ def islower(c: Union[str, int]) -> bool: ...
52
+ def isprint(c: Union[str, int]) -> bool: ...
53
+ def ispunct(c: Union[str, int]) -> bool: ...
54
+ def isspace(c: Union[str, int]) -> bool: ...
55
+ def isupper(c: Union[str, int]) -> bool: ...
56
+ def isxdigit(c: Union[str, int]) -> bool: ...
57
+ def isctrl(c: Union[str, int]) -> bool: ...
58
+ def ismeta(c: Union[str, int]) -> bool: ...
59
+ def ascii(c: _Ch) -> _Ch: ...
60
+ def ctrl(c: _Ch) -> _Ch: ...
61
+ def alt(c: _Ch) -> _Ch: ...
62
+ def unctrl(c: Union[str, int]) -> str: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/curses/panel.pyi ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from _curses import _CursesWindow
2
+
3
+ class _Curses_Panel: # type is <class '_curses_panel.curses panel'> (note the space in the class name)
4
+ def above(self) -> _Curses_Panel: ...
5
+ def below(self) -> _Curses_Panel: ...
6
+ def bottom(self) -> None: ...
7
+ def hidden(self) -> bool: ...
8
+ def hide(self) -> None: ...
9
+ def move(self, y: int, x: int) -> None: ...
10
+ def replace(self, win: _CursesWindow) -> None: ...
11
+ def set_userptr(self, obj: object) -> None: ...
12
+ def show(self) -> None: ...
13
+ def top(self) -> None: ...
14
+ def userptr(self) -> object: ...
15
+ def window(self) -> _CursesWindow: ...
16
+
17
+ def bottom_panel() -> _Curses_Panel: ...
18
+ def new_panel(__win: _CursesWindow) -> _Curses_Panel: ...
19
+ def top_panel() -> _Curses_Panel: ...
20
+ def update_panels() -> _Curses_Panel: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/curses/textpad.pyi ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from _curses import _CursesWindow
2
+ from typing import Callable, Optional, Union
3
+
4
+ def rectangle(win: _CursesWindow, uly: int, ulx: int, lry: int, lrx: int) -> None: ...
5
+
6
+ class Textbox:
7
+ stripspaces: bool
8
+ def __init__(self, win: _CursesWindow, insert_mode: bool = ...) -> None: ...
9
+ def edit(self, validate: Optional[Callable[[int], int]] = ...) -> str: ...
10
+ def do_command(self, ch: Union[str, int]) -> None: ...
11
+ def gather(self) -> str: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/ensurepip/__init__.pyi ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from typing import Optional
3
+
4
+ def version() -> str: ...
5
+
6
+ if sys.version_info >= (3, 0):
7
+ def bootstrap(
8
+ *,
9
+ root: Optional[str] = ...,
10
+ upgrade: bool = ...,
11
+ user: bool = ...,
12
+ altinstall: bool = ...,
13
+ default_pip: bool = ...,
14
+ verbosity: int = ...,
15
+ ) -> None: ...
16
+
17
+ else:
18
+ def bootstrap(
19
+ root: Optional[str] = ...,
20
+ upgrade: bool = ...,
21
+ user: bool = ...,
22
+ altinstall: bool = ...,
23
+ default_pip: bool = ...,
24
+ verbosity: int = ...,
25
+ ) -> None: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/lib2to3/__init__.pyi ADDED
File without changes
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/lib2to3/pgen2/__init__.pyi ADDED
File without changes
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/lib2to3/pgen2/driver.pyi ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from _typeshed import StrPath
2
+ from lib2to3.pgen2.grammar import Grammar
3
+ from lib2to3.pytree import _NL, _Convert
4
+ from logging import Logger
5
+ from typing import IO, Any, Iterable, Optional, Text
6
+
7
+ class Driver:
8
+ grammar: Grammar
9
+ logger: Logger
10
+ convert: _Convert
11
+ def __init__(self, grammar: Grammar, convert: Optional[_Convert] = ..., logger: Optional[Logger] = ...) -> None: ...
12
+ def parse_tokens(self, tokens: Iterable[Any], debug: bool = ...) -> _NL: ...
13
+ def parse_stream_raw(self, stream: IO[Text], debug: bool = ...) -> _NL: ...
14
+ def parse_stream(self, stream: IO[Text], debug: bool = ...) -> _NL: ...
15
+ def parse_file(self, filename: StrPath, encoding: Optional[Text] = ..., debug: bool = ...) -> _NL: ...
16
+ def parse_string(self, text: Text, debug: bool = ...) -> _NL: ...
17
+
18
+ def load_grammar(
19
+ gt: Text = ..., gp: Optional[Text] = ..., save: bool = ..., force: bool = ..., logger: Optional[Logger] = ...
20
+ ) -> Grammar: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/lib2to3/pgen2/grammar.pyi ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from _typeshed import StrPath
2
+ from typing import Dict, List, Optional, Text, Tuple, TypeVar
3
+
4
+ _P = TypeVar("_P")
5
+ _Label = Tuple[int, Optional[Text]]
6
+ _DFA = List[List[Tuple[int, int]]]
7
+ _DFAS = Tuple[_DFA, Dict[int, int]]
8
+
9
+ class Grammar:
10
+ symbol2number: Dict[Text, int]
11
+ number2symbol: Dict[int, Text]
12
+ states: List[_DFA]
13
+ dfas: Dict[int, _DFAS]
14
+ labels: List[_Label]
15
+ keywords: Dict[Text, int]
16
+ tokens: Dict[int, int]
17
+ symbol2label: Dict[Text, int]
18
+ start: int
19
+ def __init__(self) -> None: ...
20
+ def dump(self, filename: StrPath) -> None: ...
21
+ def load(self, filename: StrPath) -> None: ...
22
+ def copy(self: _P) -> _P: ...
23
+ def report(self) -> None: ...
24
+
25
+ opmap_raw: Text
26
+ opmap: Dict[Text, Text]
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/lib2to3/pgen2/literals.pyi ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from typing import Dict, Match, Text
2
+
3
+ simple_escapes: Dict[Text, Text]
4
+
5
+ def escape(m: Match[str]) -> Text: ...
6
+ def evalString(s: Text) -> Text: ...
7
+ def test() -> None: ...
data/conda_envs/evalclaw/lib/python3.11/site-packages/jedi/third_party/typeshed/stdlib/2and3/lib2to3/pgen2/parse.pyi ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from lib2to3.pgen2.grammar import _DFAS, Grammar
2
+ from lib2to3.pytree import _NL, _Convert, _RawNode
3
+ from typing import Any, List, Optional, Sequence, Set, Text, Tuple
4
+
5
+ _Context = Sequence[Any]
6
+
7
+ class ParseError(Exception):
8
+ msg: Text
9
+ type: int
10
+ value: Optional[Text]
11
+ context: _Context
12
+ def __init__(self, msg: Text, type: int, value: Optional[Text], context: _Context) -> None: ...
13
+
14
+ class Parser:
15
+ grammar: Grammar
16
+ convert: _Convert
17
+ stack: List[Tuple[_DFAS, int, _RawNode]]
18
+ rootnode: Optional[_NL]
19
+ used_names: Set[Text]
20
+ def __init__(self, grammar: Grammar, convert: Optional[_Convert] = ...) -> None: ...
21
+ def setup(self, start: Optional[int] = ...) -> None: ...
22
+ def addtoken(self, type: int, value: Optional[Text], context: _Context) -> bool: ...
23
+ def classify(self, type: int, value: Optional[Text], context: _Context) -> int: ...
24
+ def shift(self, type: int, value: Optional[Text], newstate: int, context: _Context) -> None: ...
25
+ def push(self, type: int, newdfa: _DFAS, newstate: int, context: _Context) -> None: ...
26
+ def pop(self) -> None: ...