jaclang 0.6.0__py3-none-any.whl → 0.6.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- jaclang/cli/.gitignore +3 -0
- jaclang/cli/cli.md +190 -0
- jaclang/cli/cli.py +90 -3
- jaclang/cli/cmdreg.py +18 -6
- jaclang/compiler/.gitignore +1 -0
- jaclang/compiler/absyntree.py +1 -2
- jaclang/compiler/parser.py +1 -1
- jaclang/compiler/passes/main/def_impl_match_pass.py +4 -1
- jaclang/compiler/passes/main/fuse_typeinfo_pass.py +10 -7
- jaclang/compiler/passes/main/import_pass.py +39 -22
- jaclang/compiler/passes/main/pyast_gen_pass.py +6 -57
- jaclang/compiler/passes/main/pyjac_ast_link_pass.py +218 -0
- jaclang/compiler/passes/main/schedules.py +2 -0
- jaclang/compiler/passes/main/sym_tab_build_pass.py +9 -3
- jaclang/compiler/passes/main/tests/fixtures/autoimpl.impl/getme.impl.jac +3 -0
- jaclang/compiler/passes/main/tests/fixtures/autoimpl.impl.jac +3 -0
- jaclang/compiler/passes/main/tests/fixtures/autoimpl.jac +9 -0
- jaclang/compiler/passes/main/tests/fixtures/autoimpl.something.else.impl.jac +3 -0
- jaclang/compiler/passes/main/tests/fixtures/base.jac +13 -0
- jaclang/compiler/passes/main/tests/fixtures/base2.jac +14 -0
- jaclang/compiler/passes/main/tests/fixtures/blip.jac +2 -0
- jaclang/compiler/passes/main/tests/fixtures/codegentext.jac +31 -0
- jaclang/compiler/passes/main/tests/fixtures/decls.jac +10 -0
- jaclang/compiler/passes/main/tests/fixtures/defs_and_uses.jac +44 -0
- jaclang/compiler/passes/main/tests/fixtures/fstrings.jac +4 -0
- jaclang/compiler/passes/main/tests/fixtures/func.jac +18 -0
- jaclang/compiler/passes/main/tests/fixtures/func2.jac +8 -0
- jaclang/compiler/passes/main/tests/fixtures/game1.jac +15 -0
- jaclang/compiler/passes/main/tests/fixtures/impl/defs1.jac +8 -0
- jaclang/compiler/passes/main/tests/fixtures/impl/defs2.jac +8 -0
- jaclang/compiler/passes/main/tests/fixtures/impl/imps.jac +11 -0
- jaclang/compiler/passes/main/tests/fixtures/multi_def_err.jac +7 -0
- jaclang/compiler/passes/main/tests/fixtures/registry.jac +36 -0
- jaclang/compiler/passes/main/tests/test_import_pass.py +11 -0
- jaclang/compiler/passes/tool/tests/fixtures/corelib.jac +480 -0
- jaclang/compiler/passes/tool/tests/fixtures/corelib_fmt.jac +480 -0
- jaclang/compiler/passes/tool/tests/fixtures/genai/essay_review.jac +36 -0
- jaclang/compiler/passes/tool/tests/fixtures/genai/expert_answer.jac +17 -0
- jaclang/compiler/passes/tool/tests/fixtures/genai/joke_gen.jac +32 -0
- jaclang/compiler/passes/tool/tests/fixtures/genai/odd_word_out.jac +27 -0
- jaclang/compiler/passes/tool/tests/fixtures/genai/personality_finder.jac +35 -0
- jaclang/compiler/passes/tool/tests/fixtures/genai/text_to_type.jac +25 -0
- jaclang/compiler/passes/tool/tests/fixtures/genai/translator.jac +13 -0
- jaclang/compiler/passes/tool/tests/fixtures/genai/wikipedia.jac +63 -0
- jaclang/compiler/passes/tool/tests/fixtures/multi_def_err.dot +39 -0
- jaclang/compiler/passes/tool/tests/fixtures/multi_def_err.jac +7 -0
- jaclang/compiler/passes/tool/tests/fixtures/multi_def_err.txt +20 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/ability_impl_long_comprehension.jac +15 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/call_with_many_parameters.jac +24 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/entry_main.jac +4 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/long_line_nested_dict_access.jac +10 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/multiline_fstrings.jac +16 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/nested_dict.jac +15 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/nested_loop_and_incrementer.jac +13 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/simple_walker.jac +25 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/try_block_and_walker_spawn_and_fstrings.jac +26 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/tuple_iteration_and_not_negation.jac +20 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/type_annotation.jac +3 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/walker_decl_only.jac +12 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/walker_with_default_values_types_and_docstrings.jac +18 -0
- jaclang/compiler/passes/tool/tests/fixtures/myca_formatted_code/walker_with_inline_ability_impl.jac +8 -0
- jaclang/compiler/passes/tool/tests/fixtures/simple_walk.jac +47 -0
- jaclang/compiler/passes/tool/tests/fixtures/simple_walk_fmt.jac +47 -0
- jaclang/compiler/tests/fixtures/fam.jac +67 -0
- jaclang/compiler/tests/fixtures/hello_world.jac +5 -0
- jaclang/compiler/tests/fixtures/kwesc.jac +5 -0
- jaclang/compiler/tests/fixtures/mod_doc_test.jac +1 -0
- jaclang/compiler/tests/fixtures/staticcheck.jac +20 -0
- jaclang/compiler/tests/fixtures/stuff.jac +6 -0
- jaclang/core/aott.py +10 -1
- jaclang/core/construct.py +157 -21
- jaclang/core/importer.py +6 -2
- jaclang/core/memory.py +48 -0
- jaclang/core/shelve_storage.py +55 -0
- jaclang/plugin/__init__.py +1 -2
- jaclang/plugin/builtin.py +1 -1
- jaclang/plugin/default.py +97 -4
- jaclang/plugin/feature.py +28 -9
- jaclang/plugin/spec.py +45 -10
- jaclang/plugin/tests/fixtures/impl_match.jac +9 -0
- jaclang/plugin/tests/fixtures/impl_match_impl.jac +3 -0
- jaclang/plugin/tests/fixtures/simple_node_connection.jac +55 -0
- jaclang/plugin/tests/fixtures/simple_persistent.jac +41 -0
- jaclang/plugin/tests/test_jaseci.py +219 -0
- jaclang/tests/fixtures/abc.jac +73 -0
- jaclang/tests/fixtures/access_checker.jac +19 -0
- jaclang/tests/fixtures/access_modifier.jac +49 -0
- jaclang/tests/fixtures/aott_raise.jac +25 -0
- jaclang/tests/fixtures/arithmetic_bug.jac +13 -0
- jaclang/tests/fixtures/assign_compr.jac +15 -0
- jaclang/tests/fixtures/assign_compr_dup.jac +15 -0
- jaclang/tests/fixtures/builtin_dotgen.jac +41 -0
- jaclang/tests/fixtures/chandra_bugs.jac +11 -0
- jaclang/tests/fixtures/chandra_bugs2.jac +26 -0
- jaclang/tests/fixtures/circle_pysolo.py +91 -0
- jaclang/tests/fixtures/deep/deeper/deep_outer_import.jac +9 -0
- jaclang/tests/fixtures/deep/deeper/deep_outer_import2.jac +9 -0
- jaclang/tests/fixtures/deep/deeper/snd_lev.jac +6 -0
- jaclang/tests/fixtures/deep/mycode.jac +4 -0
- jaclang/tests/fixtures/deep/one_lev.jac +6 -0
- jaclang/tests/fixtures/deep/one_lev_dup.jac +6 -0
- jaclang/tests/fixtures/deep/one_lev_dup_py.py +6 -0
- jaclang/tests/fixtures/deep_import.jac +7 -0
- jaclang/tests/fixtures/deferred_field.jac +13 -0
- jaclang/tests/fixtures/disconn.jac +29 -0
- jaclang/tests/fixtures/edge_node_walk.jac +46 -0
- jaclang/tests/fixtures/edge_ops.jac +45 -0
- jaclang/tests/fixtures/edges_walk.jac +38 -0
- jaclang/tests/fixtures/enum_inside_archtype.jac +20 -0
- jaclang/tests/fixtures/err.jac +5 -0
- jaclang/tests/fixtures/err2.jac +5 -0
- jaclang/tests/fixtures/game1.jac +15 -0
- jaclang/tests/fixtures/gendot_bubble_sort.jac +77 -0
- jaclang/tests/fixtures/guess_game.jac +47 -0
- jaclang/tests/fixtures/has_goodness.jac +15 -0
- jaclang/tests/fixtures/hashcheck.jac +12 -0
- jaclang/tests/fixtures/hashcheck_dup.jac +12 -0
- jaclang/tests/fixtures/hello.jac +5 -0
- jaclang/tests/fixtures/hello_nc.jac +5 -0
- jaclang/tests/fixtures/ignore.jac +43 -0
- jaclang/tests/fixtures/ignore_dup.jac +43 -0
- jaclang/tests/fixtures/impl_grab.impl.jac +4 -0
- jaclang/tests/fixtures/impl_grab.jac +2 -0
- jaclang/tests/fixtures/inherit_check.jac +33 -0
- jaclang/tests/fixtures/jacsamp.jac +6 -0
- jaclang/tests/fixtures/jp_importer.jac +17 -0
- jaclang/tests/fixtures/lambda.jac +6 -0
- jaclang/tests/fixtures/maxfail_run_test.jac +5 -0
- jaclang/tests/fixtures/mtest.impl.jac +6 -0
- jaclang/tests/fixtures/mtest.jac +6 -0
- jaclang/tests/fixtures/needs_import.jac +18 -0
- jaclang/tests/fixtures/needs_import_1.jac +6 -0
- jaclang/tests/fixtures/needs_import_2.jac +6 -0
- jaclang/tests/fixtures/needs_import_3.jac +6 -0
- jaclang/tests/fixtures/needs_import_dup.jac +18 -0
- jaclang/tests/fixtures/package_import.jac +6 -0
- jaclang/tests/fixtures/pyfunc.py +11 -0
- jaclang/tests/fixtures/pyfunc_1.py +311 -0
- jaclang/tests/fixtures/pyfunc_2.py +279 -0
- jaclang/tests/fixtures/pyfunc_3.py +310 -0
- jaclang/tests/fixtures/random_check.jac +70 -0
- jaclang/tests/fixtures/raw_byte_string.jac +18 -0
- jaclang/tests/fixtures/registry.jac +37 -0
- jaclang/tests/fixtures/run_test.jac +5 -0
- jaclang/tests/fixtures/semstr.jac +33 -0
- jaclang/tests/fixtures/simple_archs.jac +26 -0
- jaclang/tests/fixtures/slice_vals.jac +7 -0
- jaclang/tests/fixtures/sub_abil_sep.jac +15 -0
- jaclang/tests/fixtures/sub_abil_sep_multilev.jac +17 -0
- jaclang/tests/fixtures/try_finally.jac +34 -0
- jaclang/tests/fixtures/tupleunpack.jac +6 -0
- jaclang/tests/fixtures/tuplytuples.jac +8 -0
- jaclang/tests/fixtures/type_info.jac +19 -0
- jaclang/tests/fixtures/with_context.jac +30 -0
- jaclang/tests/fixtures/with_llm_function.jac +33 -0
- jaclang/tests/fixtures/with_llm_lower.jac +45 -0
- jaclang/tests/fixtures/with_llm_method.jac +51 -0
- jaclang/tests/fixtures/with_llm_type.jac +52 -0
- jaclang/tests/test_cli.py +239 -0
- jaclang/tests/test_language.py +807 -0
- jaclang/tests/test_man_code.py +148 -0
- jaclang/tests/test_reference.py +95 -0
- jaclang/tests/test_settings.py +46 -0
- jaclang/utils/treeprinter.py +7 -2
- jaclang/vendor/LICENSE +18 -0
- jaclang/vendor/mypy/stubgen.py +0 -0
- jaclang/vendor/mypy/stubgenc.py +0 -0
- jaclang/vendor/mypy/typeshed/LICENSE +237 -0
- jaclang/vendor/mypy/typeshed/stdlib/VERSIONS +308 -0
- jaclang/vendor/mypy/typeshed/stdlib/__future__.pyi +41 -0
- jaclang/vendor/mypy/typeshed/stdlib/__main__.pyi +3 -0
- jaclang/vendor/mypy/typeshed/stdlib/_ast.pyi +632 -0
- jaclang/vendor/mypy/typeshed/stdlib/_bisect.pyi +106 -0
- jaclang/vendor/mypy/typeshed/stdlib/_bootlocale.pyi +1 -0
- jaclang/vendor/mypy/typeshed/stdlib/_codecs.pyi +198 -0
- jaclang/vendor/mypy/typeshed/stdlib/_collections_abc.pyi +94 -0
- jaclang/vendor/mypy/typeshed/stdlib/_compat_pickle.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/_compression.pyi +25 -0
- jaclang/vendor/mypy/typeshed/stdlib/_csv.pyi +90 -0
- jaclang/vendor/mypy/typeshed/stdlib/_ctypes.pyi +219 -0
- jaclang/vendor/mypy/typeshed/stdlib/_curses.pyi +600 -0
- jaclang/vendor/mypy/typeshed/stdlib/_decimal.pyi +316 -0
- jaclang/vendor/mypy/typeshed/stdlib/_dummy_thread.pyi +43 -0
- jaclang/vendor/mypy/typeshed/stdlib/_dummy_threading.pyi +185 -0
- jaclang/vendor/mypy/typeshed/stdlib/_heapq.pyi +11 -0
- jaclang/vendor/mypy/typeshed/stdlib/_imp.pyi +32 -0
- jaclang/vendor/mypy/typeshed/stdlib/_json.pyi +49 -0
- jaclang/vendor/mypy/typeshed/stdlib/_locale.pyi +100 -0
- jaclang/vendor/mypy/typeshed/stdlib/_markupbase.pyi +16 -0
- jaclang/vendor/mypy/typeshed/stdlib/_msi.pyi +92 -0
- jaclang/vendor/mypy/typeshed/stdlib/_operator.pyi +172 -0
- jaclang/vendor/mypy/typeshed/stdlib/_osx_support.pyi +55 -0
- jaclang/vendor/mypy/typeshed/stdlib/_posixsubprocess.pyi +32 -0
- jaclang/vendor/mypy/typeshed/stdlib/_py_abc.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/_pydecimal.pyi +43 -0
- jaclang/vendor/mypy/typeshed/stdlib/_random.pyi +12 -0
- jaclang/vendor/mypy/typeshed/stdlib/_sitebuiltins.pyi +18 -0
- jaclang/vendor/mypy/typeshed/stdlib/_socket.pyi +851 -0
- jaclang/vendor/mypy/typeshed/stdlib/_stat.pyi +103 -0
- jaclang/vendor/mypy/typeshed/stdlib/_thread.pyi +63 -0
- jaclang/vendor/mypy/typeshed/stdlib/_threading_local.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/_tkinter.pyi +120 -0
- jaclang/vendor/mypy/typeshed/stdlib/_tracemalloc.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/_typeshed/README.md +34 -0
- jaclang/vendor/mypy/typeshed/stdlib/_typeshed/__init__.pyi +374 -0
- jaclang/vendor/mypy/typeshed/stdlib/_typeshed/dbapi.pyi +45 -0
- jaclang/vendor/mypy/typeshed/stdlib/_typeshed/wsgi.pyi +51 -0
- jaclang/vendor/mypy/typeshed/stdlib/_typeshed/xml.pyi +13 -0
- jaclang/vendor/mypy/typeshed/stdlib/_warnings.pyi +65 -0
- jaclang/vendor/mypy/typeshed/stdlib/_weakref.pyi +45 -0
- jaclang/vendor/mypy/typeshed/stdlib/_weakrefset.pyi +51 -0
- jaclang/vendor/mypy/typeshed/stdlib/_winapi.pyi +275 -0
- jaclang/vendor/mypy/typeshed/stdlib/abc.pyi +61 -0
- jaclang/vendor/mypy/typeshed/stdlib/aifc.pyi +99 -0
- jaclang/vendor/mypy/typeshed/stdlib/antigravity.pyi +3 -0
- jaclang/vendor/mypy/typeshed/stdlib/argparse.pyi +675 -0
- jaclang/vendor/mypy/typeshed/stdlib/array.pyi +111 -0
- jaclang/vendor/mypy/typeshed/stdlib/ast.pyi +287 -0
- jaclang/vendor/mypy/typeshed/stdlib/asynchat.pyi +21 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/__init__.pyi +41 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/base_events.pyi +519 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/base_futures.pyi +21 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/base_subprocess.pyi +71 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/base_tasks.pyi +13 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/constants.pyi +20 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/coroutines.pyi +32 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/events.pyi +669 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/exceptions.pyi +43 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/format_helpers.pyi +26 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/futures.pyi +61 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/locks.pyi +131 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/log.pyi +3 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/mixins.pyi +9 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/proactor_events.pyi +72 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/protocols.pyi +40 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/queues.pyi +49 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/runners.pyi +44 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/selector_events.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/sslproto.pyi +189 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/staggered.pyi +13 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/streams.pyi +172 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/subprocess.pyi +234 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/taskgroups.pyi +36 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/tasks.pyi +566 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/threads.pyi +11 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/timeouts.pyi +22 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/transports.pyi +64 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/trsock.pyi +140 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/unix_events.pyi +268 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/windows_events.pyi +108 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncio/windows_utils.pyi +59 -0
- jaclang/vendor/mypy/typeshed/stdlib/asyncore.pyi +99 -0
- jaclang/vendor/mypy/typeshed/stdlib/atexit.pyi +14 -0
- jaclang/vendor/mypy/typeshed/stdlib/audioop.pyi +50 -0
- jaclang/vendor/mypy/typeshed/stdlib/base64.pyi +76 -0
- jaclang/vendor/mypy/typeshed/stdlib/bdb.pyi +133 -0
- jaclang/vendor/mypy/typeshed/stdlib/binascii.pyi +45 -0
- jaclang/vendor/mypy/typeshed/stdlib/binhex.pyi +47 -0
- jaclang/vendor/mypy/typeshed/stdlib/bisect.pyi +4 -0
- jaclang/vendor/mypy/typeshed/stdlib/builtins.pyi +2310 -0
- jaclang/vendor/mypy/typeshed/stdlib/bz2.pyi +177 -0
- jaclang/vendor/mypy/typeshed/stdlib/cProfile.pyi +49 -0
- jaclang/vendor/mypy/typeshed/stdlib/calendar.pyi +248 -0
- jaclang/vendor/mypy/typeshed/stdlib/cgi.pyi +122 -0
- jaclang/vendor/mypy/typeshed/stdlib/cgitb.pyi +44 -0
- jaclang/vendor/mypy/typeshed/stdlib/chunk.pyi +26 -0
- jaclang/vendor/mypy/typeshed/stdlib/cmath.pyi +38 -0
- jaclang/vendor/mypy/typeshed/stdlib/cmd.pyi +52 -0
- jaclang/vendor/mypy/typeshed/stdlib/code.pyi +46 -0
- jaclang/vendor/mypy/typeshed/stdlib/codecs.pyi +344 -0
- jaclang/vendor/mypy/typeshed/stdlib/codeop.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/collections/__init__.pyi +571 -0
- jaclang/vendor/mypy/typeshed/stdlib/collections/abc.pyi +2 -0
- jaclang/vendor/mypy/typeshed/stdlib/colorsys.pyi +20 -0
- jaclang/vendor/mypy/typeshed/stdlib/compileall.pyi +111 -0
- jaclang/vendor/mypy/typeshed/stdlib/concurrent/futures/__init__.pyi +32 -0
- jaclang/vendor/mypy/typeshed/stdlib/concurrent/futures/_base.pyi +137 -0
- jaclang/vendor/mypy/typeshed/stdlib/concurrent/futures/process.pyi +272 -0
- jaclang/vendor/mypy/typeshed/stdlib/concurrent/futures/thread.pyi +86 -0
- jaclang/vendor/mypy/typeshed/stdlib/configparser.pyi +449 -0
- jaclang/vendor/mypy/typeshed/stdlib/contextlib.pyi +274 -0
- jaclang/vendor/mypy/typeshed/stdlib/contextvars.pyi +67 -0
- jaclang/vendor/mypy/typeshed/stdlib/copy.pyi +16 -0
- jaclang/vendor/mypy/typeshed/stdlib/copyreg.pyi +32 -0
- jaclang/vendor/mypy/typeshed/stdlib/crypt.pyi +12 -0
- jaclang/vendor/mypy/typeshed/stdlib/csv.pyi +147 -0
- jaclang/vendor/mypy/typeshed/stdlib/ctypes/__init__.pyi +211 -0
- jaclang/vendor/mypy/typeshed/stdlib/ctypes/_endian.pyi +29 -0
- jaclang/vendor/mypy/typeshed/stdlib/ctypes/util.pyi +6 -0
- jaclang/vendor/mypy/typeshed/stdlib/ctypes/wintypes.pyi +298 -0
- jaclang/vendor/mypy/typeshed/stdlib/curses/__init__.pyi +25 -0
- jaclang/vendor/mypy/typeshed/stdlib/curses/ascii.pyi +63 -0
- jaclang/vendor/mypy/typeshed/stdlib/curses/has_key.pyi +4 -0
- jaclang/vendor/mypy/typeshed/stdlib/curses/panel.pyi +25 -0
- jaclang/vendor/mypy/typeshed/stdlib/curses/textpad.pyi +15 -0
- jaclang/vendor/mypy/typeshed/stdlib/dataclasses.pyi +323 -0
- jaclang/vendor/mypy/typeshed/stdlib/datetime.pyi +334 -0
- jaclang/vendor/mypy/typeshed/stdlib/dbm/__init__.pyi +98 -0
- jaclang/vendor/mypy/typeshed/stdlib/dbm/dumb.pyi +34 -0
- jaclang/vendor/mypy/typeshed/stdlib/dbm/gnu.pyi +44 -0
- jaclang/vendor/mypy/typeshed/stdlib/dbm/ndbm.pyi +40 -0
- jaclang/vendor/mypy/typeshed/stdlib/decimal.pyi +5 -0
- jaclang/vendor/mypy/typeshed/stdlib/difflib.pyi +169 -0
- jaclang/vendor/mypy/typeshed/stdlib/dis.pyi +190 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/__init__.pyi +5 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/archive_util.pyi +22 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/bcppcompiler.pyi +3 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/ccompiler.pyi +183 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/cmd.pyi +88 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/__init__.pyi +0 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/bdist.pyi +25 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/bdist_dumb.pyi +21 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/bdist_msi.pyi +45 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/bdist_packager.pyi +0 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/bdist_rpm.pyi +52 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/bdist_wininst.pyi +21 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/build.pyi +31 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/build_clib.pyi +27 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/build_ext.pyi +50 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/build_py.pyi +44 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/build_scripts.pyi +24 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/check.pyi +39 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/clean.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/config.pyi +91 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/install.pyi +63 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/install_data.pyi +19 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/install_egg_info.pyi +18 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/install_headers.pyi +16 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/install_lib.pyi +25 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/install_scripts.pyi +18 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/register.pyi +18 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/sdist.pyi +42 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/command/upload.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/config.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/core.pyi +59 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/cygwinccompiler.pyi +20 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/debug.pyi +1 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/dep_util.pyi +3 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/dir_util.pyi +21 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/dist.pyi +155 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/errors.pyi +19 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/extension.pyi +36 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/fancy_getopt.pyi +37 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/file_util.pyi +14 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/filelist.pyi +78 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/log.pyi +25 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/msvccompiler.pyi +3 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/spawn.pyi +4 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/sysconfig.pyi +24 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/text_file.pyi +23 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/unixccompiler.pyi +3 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/util.pyi +50 -0
- jaclang/vendor/mypy/typeshed/stdlib/distutils/version.pyi +36 -0
- jaclang/vendor/mypy/typeshed/stdlib/doctest.pyi +282 -0
- jaclang/vendor/mypy/typeshed/stdlib/dummy_threading.pyi +2 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/__init__.pyi +37 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/_header_value_parser.pyi +392 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/_policybase.pyi +51 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/base64mime.pyi +22 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/charset.pyi +39 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/contentmanager.pyi +11 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/encoders.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/errors.pyi +39 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/feedparser.pyi +31 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/generator.pyi +42 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/header.pyi +41 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/headerregistry.pyi +214 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/iterators.pyi +19 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/message.pyi +220 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/mime/__init__.pyi +0 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/mime/application.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/mime/audio.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/mime/base.pyi +15 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/mime/image.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/mime/message.pyi +10 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/mime/multipart.pyi +18 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/mime/nonmultipart.pyi +5 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/mime/text.pyi +14 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/parser.pyi +44 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/policy.pyi +51 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/quoprimime.pyi +30 -0
- jaclang/vendor/mypy/typeshed/stdlib/email/utils.pyi +84 -0
- jaclang/vendor/mypy/typeshed/stdlib/encodings/__init__.pyi +10 -0
- jaclang/vendor/mypy/typeshed/stdlib/encodings/utf_8.pyi +25 -0
- jaclang/vendor/mypy/typeshed/stdlib/encodings/utf_8_sig.pyi +28 -0
- jaclang/vendor/mypy/typeshed/stdlib/ensurepip/__init__.pyi +12 -0
- jaclang/vendor/mypy/typeshed/stdlib/enum.pyi +347 -0
- jaclang/vendor/mypy/typeshed/stdlib/errno.pyi +222 -0
- jaclang/vendor/mypy/typeshed/stdlib/faulthandler.pyi +20 -0
- jaclang/vendor/mypy/typeshed/stdlib/fcntl.pyi +155 -0
- jaclang/vendor/mypy/typeshed/stdlib/filecmp.pyi +62 -0
- jaclang/vendor/mypy/typeshed/stdlib/fileinput.pyi +246 -0
- jaclang/vendor/mypy/typeshed/stdlib/fnmatch.pyi +9 -0
- jaclang/vendor/mypy/typeshed/stdlib/formatter.pyi +92 -0
- jaclang/vendor/mypy/typeshed/stdlib/fractions.pyi +152 -0
- jaclang/vendor/mypy/typeshed/stdlib/ftplib.pyi +214 -0
- jaclang/vendor/mypy/typeshed/stdlib/functools.pyi +261 -0
- jaclang/vendor/mypy/typeshed/stdlib/gc.pyi +39 -0
- jaclang/vendor/mypy/typeshed/stdlib/genericpath.pyi +62 -0
- jaclang/vendor/mypy/typeshed/stdlib/getopt.pyi +15 -0
- jaclang/vendor/mypy/typeshed/stdlib/getpass.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/gettext.pyi +200 -0
- jaclang/vendor/mypy/typeshed/stdlib/glob.pyi +50 -0
- jaclang/vendor/mypy/typeshed/stdlib/graphlib.pyi +28 -0
- jaclang/vendor/mypy/typeshed/stdlib/grp.pyi +22 -0
- jaclang/vendor/mypy/typeshed/stdlib/gzip.pyi +162 -0
- jaclang/vendor/mypy/typeshed/stdlib/hashlib.pyi +191 -0
- jaclang/vendor/mypy/typeshed/stdlib/heapq.pyi +36 -0
- jaclang/vendor/mypy/typeshed/stdlib/hmac.pyi +45 -0
- jaclang/vendor/mypy/typeshed/stdlib/html/__init__.pyi +6 -0
- jaclang/vendor/mypy/typeshed/stdlib/html/entities.pyi +6 -0
- jaclang/vendor/mypy/typeshed/stdlib/html/parser.pyi +40 -0
- jaclang/vendor/mypy/typeshed/stdlib/http/__init__.pyi +105 -0
- jaclang/vendor/mypy/typeshed/stdlib/http/client.pyi +283 -0
- jaclang/vendor/mypy/typeshed/stdlib/http/cookiejar.pyi +206 -0
- jaclang/vendor/mypy/typeshed/stdlib/http/cookies.pyi +67 -0
- jaclang/vendor/mypy/typeshed/stdlib/http/server.pyi +93 -0
- jaclang/vendor/mypy/typeshed/stdlib/imaplib.pyi +221 -0
- jaclang/vendor/mypy/typeshed/stdlib/imghdr.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/imp.pyi +75 -0
- jaclang/vendor/mypy/typeshed/stdlib/importlib/__init__.pyi +24 -0
- jaclang/vendor/mypy/typeshed/stdlib/importlib/_abc.pyi +15 -0
- jaclang/vendor/mypy/typeshed/stdlib/importlib/abc.pyi +195 -0
- jaclang/vendor/mypy/typeshed/stdlib/importlib/machinery.pyi +214 -0
- jaclang/vendor/mypy/typeshed/stdlib/importlib/metadata/__init__.pyi +310 -0
- jaclang/vendor/mypy/typeshed/stdlib/importlib/metadata/_meta.pyi +40 -0
- jaclang/vendor/mypy/typeshed/stdlib/importlib/readers.pyi +68 -0
- jaclang/vendor/mypy/typeshed/stdlib/importlib/resources/__init__.pyi +66 -0
- jaclang/vendor/mypy/typeshed/stdlib/importlib/resources/abc.pyi +12 -0
- jaclang/vendor/mypy/typeshed/stdlib/importlib/resources/readers.pyi +14 -0
- jaclang/vendor/mypy/typeshed/stdlib/importlib/resources/simple.pyi +55 -0
- jaclang/vendor/mypy/typeshed/stdlib/importlib/simple.pyi +16 -0
- jaclang/vendor/mypy/typeshed/stdlib/importlib/util.pyi +57 -0
- jaclang/vendor/mypy/typeshed/stdlib/inspect.pyi +709 -0
- jaclang/vendor/mypy/typeshed/stdlib/io.pyi +222 -0
- jaclang/vendor/mypy/typeshed/stdlib/ipaddress.pyi +229 -0
- jaclang/vendor/mypy/typeshed/stdlib/itertools.pyi +394 -0
- jaclang/vendor/mypy/typeshed/stdlib/json/__init__.pyi +69 -0
- jaclang/vendor/mypy/typeshed/stdlib/json/decoder.pyi +34 -0
- jaclang/vendor/mypy/typeshed/stdlib/json/encoder.pyi +38 -0
- jaclang/vendor/mypy/typeshed/stdlib/json/tool.pyi +1 -0
- jaclang/vendor/mypy/typeshed/stdlib/keyword.pyi +21 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/__init__.pyi +0 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/btm_matcher.pyi +32 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixer_base.pyi +44 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/__init__.pyi +0 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_apply.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_asserts.pyi +10 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_basestring.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_buffer.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_dict.pyi +16 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_except.pyi +14 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_exec.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_execfile.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_exitfunc.pyi +13 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_filter.pyi +9 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_funcattrs.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_future.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_getcwdu.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_has_key.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_idioms.pyi +15 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_import.pyi +16 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_imports.pyi +21 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_imports2.pyi +6 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_input.pyi +11 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_intern.pyi +9 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_isinstance.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_itertools.pyi +9 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_itertools_imports.pyi +7 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_long.pyi +7 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_map.pyi +9 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_metaclass.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_methodattrs.pyi +10 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_ne.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_next.pyi +19 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_nonzero.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_numliterals.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_operator.pyi +12 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_paren.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_print.pyi +12 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_raise.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_raw_input.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_reduce.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_reload.pyi +9 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_renames.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_repr.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_set_literal.pyi +7 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_standarderror.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_sys_exc.pyi +9 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_throw.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_tuple_params.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_types.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_unicode.pyi +12 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_urllib.pyi +18 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_ws_comma.pyi +12 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_xrange.pyi +20 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_xreadlines.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/fixes/fix_zip.pyi +9 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/main.pyi +46 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/pgen2/__init__.pyi +9 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/pgen2/driver.pyi +40 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/pgen2/grammar.pyi +24 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/pgen2/literals.pyi +7 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/pgen2/parse.pyi +36 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/pgen2/pgen.pyi +52 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/pgen2/token.pyi +67 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/pgen2/tokenize.pyi +98 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/pygram.pyi +114 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/pytree.pyi +142 -0
- jaclang/vendor/mypy/typeshed/stdlib/lib2to3/refactor.pyi +122 -0
- jaclang/vendor/mypy/typeshed/stdlib/linecache.pyi +29 -0
- jaclang/vendor/mypy/typeshed/stdlib/locale.pyi +165 -0
- jaclang/vendor/mypy/typeshed/stdlib/logging/__init__.pyi +685 -0
- jaclang/vendor/mypy/typeshed/stdlib/logging/config.pyi +161 -0
- jaclang/vendor/mypy/typeshed/stdlib/logging/handlers.pyi +315 -0
- jaclang/vendor/mypy/typeshed/stdlib/lzma.pyi +213 -0
- jaclang/vendor/mypy/typeshed/stdlib/mailbox.pyi +306 -0
- jaclang/vendor/mypy/typeshed/stdlib/mailcap.pyi +15 -0
- jaclang/vendor/mypy/typeshed/stdlib/marshal.pyi +35 -0
- jaclang/vendor/mypy/typeshed/stdlib/math.pyi +134 -0
- jaclang/vendor/mypy/typeshed/stdlib/mimetypes.pyi +50 -0
- jaclang/vendor/mypy/typeshed/stdlib/mmap.pyi +126 -0
- jaclang/vendor/mypy/typeshed/stdlib/modulefinder.pyi +84 -0
- jaclang/vendor/mypy/typeshed/stdlib/msilib/__init__.pyi +237 -0
- jaclang/vendor/mypy/typeshed/stdlib/msilib/schema.pyi +107 -0
- jaclang/vendor/mypy/typeshed/stdlib/msilib/sequence.pyi +13 -0
- jaclang/vendor/mypy/typeshed/stdlib/msilib/text.pyi +7 -0
- jaclang/vendor/mypy/typeshed/stdlib/msvcrt.pyi +32 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/__init__.pyi +94 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/connection.pyi +94 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/context.pyi +235 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/dummy/__init__.pyi +83 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/dummy/connection.pyi +50 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/forkserver.pyi +36 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/heap.pyi +38 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/managers.pyi +270 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/pool.pyi +137 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/popen_fork.pyi +23 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/popen_forkserver.pyi +16 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/popen_spawn_posix.pyi +20 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/popen_spawn_win32.pyi +30 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/process.pyi +39 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/queues.pyi +43 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/reduction.pyi +118 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/resource_sharer.pyi +20 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/resource_tracker.pyi +18 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/shared_memory.pyi +44 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/sharedctypes.pyi +140 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/spawn.pyi +34 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/synchronize.pyi +66 -0
- jaclang/vendor/mypy/typeshed/stdlib/multiprocessing/util.pyi +83 -0
- jaclang/vendor/mypy/typeshed/stdlib/netrc.pyi +28 -0
- jaclang/vendor/mypy/typeshed/stdlib/nis.pyi +9 -0
- jaclang/vendor/mypy/typeshed/stdlib/nntplib.pyi +151 -0
- jaclang/vendor/mypy/typeshed/stdlib/nt.pyi +114 -0
- jaclang/vendor/mypy/typeshed/stdlib/ntpath.pyi +119 -0
- jaclang/vendor/mypy/typeshed/stdlib/nturl2path.pyi +2 -0
- jaclang/vendor/mypy/typeshed/stdlib/numbers.pyi +154 -0
- jaclang/vendor/mypy/typeshed/stdlib/opcode.pyi +68 -0
- jaclang/vendor/mypy/typeshed/stdlib/operator.pyi +110 -0
- jaclang/vendor/mypy/typeshed/stdlib/optparse.pyi +290 -0
- jaclang/vendor/mypy/typeshed/stdlib/os/__init__.pyi +1317 -0
- jaclang/vendor/mypy/typeshed/stdlib/os/path.pyi +8 -0
- jaclang/vendor/mypy/typeshed/stdlib/ossaudiodev.pyi +131 -0
- jaclang/vendor/mypy/typeshed/stdlib/parser.pyi +28 -0
- jaclang/vendor/mypy/typeshed/stdlib/pathlib.pyi +282 -0
- jaclang/vendor/mypy/typeshed/stdlib/pdb.pyi +223 -0
- jaclang/vendor/mypy/typeshed/stdlib/pickle.pyi +286 -0
- jaclang/vendor/mypy/typeshed/stdlib/pickletools.pyi +173 -0
- jaclang/vendor/mypy/typeshed/stdlib/pipes.pyi +16 -0
- jaclang/vendor/mypy/typeshed/stdlib/pkgutil.pyi +61 -0
- jaclang/vendor/mypy/typeshed/stdlib/platform.pyi +56 -0
- jaclang/vendor/mypy/typeshed/stdlib/plistlib.pyi +176 -0
- jaclang/vendor/mypy/typeshed/stdlib/poplib.pyi +78 -0
- jaclang/vendor/mypy/typeshed/stdlib/posix.pyi +363 -0
- jaclang/vendor/mypy/typeshed/stdlib/posixpath.pyi +171 -0
- jaclang/vendor/mypy/typeshed/stdlib/pprint.pyi +122 -0
- jaclang/vendor/mypy/typeshed/stdlib/profile.pyi +43 -0
- jaclang/vendor/mypy/typeshed/stdlib/pstats.pyi +85 -0
- jaclang/vendor/mypy/typeshed/stdlib/pty.pyi +21 -0
- jaclang/vendor/mypy/typeshed/stdlib/pwd.pyi +36 -0
- jaclang/vendor/mypy/typeshed/stdlib/py_compile.pyi +40 -0
- jaclang/vendor/mypy/typeshed/stdlib/pyclbr.pyi +97 -0
- jaclang/vendor/mypy/typeshed/stdlib/pydoc.pyi +309 -0
- jaclang/vendor/mypy/typeshed/stdlib/pydoc_data/__init__.pyi +0 -0
- jaclang/vendor/mypy/typeshed/stdlib/pydoc_data/topics.pyi +1 -0
- jaclang/vendor/mypy/typeshed/stdlib/pyexpat/__init__.pyi +94 -0
- jaclang/vendor/mypy/typeshed/stdlib/pyexpat/errors.pyi +49 -0
- jaclang/vendor/mypy/typeshed/stdlib/pyexpat/model.pyi +11 -0
- jaclang/vendor/mypy/typeshed/stdlib/queue.pyi +62 -0
- jaclang/vendor/mypy/typeshed/stdlib/quopri.pyi +17 -0
- jaclang/vendor/mypy/typeshed/stdlib/random.pyi +160 -0
- jaclang/vendor/mypy/typeshed/stdlib/re.pyi +376 -0
- jaclang/vendor/mypy/typeshed/stdlib/readline.pyi +40 -0
- jaclang/vendor/mypy/typeshed/stdlib/reprlib.pyi +65 -0
- jaclang/vendor/mypy/typeshed/stdlib/resource.pyi +116 -0
- jaclang/vendor/mypy/typeshed/stdlib/rlcompleter.pyi +9 -0
- jaclang/vendor/mypy/typeshed/stdlib/runpy.pyi +31 -0
- jaclang/vendor/mypy/typeshed/stdlib/sched.pyi +56 -0
- jaclang/vendor/mypy/typeshed/stdlib/secrets.pyi +24 -0
- jaclang/vendor/mypy/typeshed/stdlib/select.pyi +162 -0
- jaclang/vendor/mypy/typeshed/stdlib/selectors.pyi +85 -0
- jaclang/vendor/mypy/typeshed/stdlib/shelve.pyi +64 -0
- jaclang/vendor/mypy/typeshed/stdlib/shlex.pyi +47 -0
- jaclang/vendor/mypy/typeshed/stdlib/shutil.pyi +239 -0
- jaclang/vendor/mypy/typeshed/stdlib/signal.pyi +208 -0
- jaclang/vendor/mypy/typeshed/stdlib/site.pyi +33 -0
- jaclang/vendor/mypy/typeshed/stdlib/smtpd.pyi +102 -0
- jaclang/vendor/mypy/typeshed/stdlib/smtplib.pyi +223 -0
- jaclang/vendor/mypy/typeshed/stdlib/sndhdr.pyi +14 -0
- jaclang/vendor/mypy/typeshed/stdlib/socket.pyi +881 -0
- jaclang/vendor/mypy/typeshed/stdlib/socketserver.pyi +195 -0
- jaclang/vendor/mypy/typeshed/stdlib/spwd.pyi +43 -0
- jaclang/vendor/mypy/typeshed/stdlib/sqlite3/__init__.pyi +1 -0
- jaclang/vendor/mypy/typeshed/stdlib/sqlite3/dbapi2.pyi +519 -0
- jaclang/vendor/mypy/typeshed/stdlib/sre_compile.pyi +11 -0
- jaclang/vendor/mypy/typeshed/stdlib/sre_constants.pyi +132 -0
- jaclang/vendor/mypy/typeshed/stdlib/sre_parse.pyi +110 -0
- jaclang/vendor/mypy/typeshed/stdlib/ssl.pyi +559 -0
- jaclang/vendor/mypy/typeshed/stdlib/stat.pyi +1 -0
- jaclang/vendor/mypy/typeshed/stdlib/statistics.pyi +151 -0
- jaclang/vendor/mypy/typeshed/stdlib/string.pyi +112 -0
- jaclang/vendor/mypy/typeshed/stdlib/stringprep.pyi +27 -0
- jaclang/vendor/mypy/typeshed/stdlib/struct.pyi +43 -0
- jaclang/vendor/mypy/typeshed/stdlib/subprocess.pyi +2638 -0
- jaclang/vendor/mypy/typeshed/stdlib/sunau.pyi +86 -0
- jaclang/vendor/mypy/typeshed/stdlib/symbol.pyi +93 -0
- jaclang/vendor/mypy/typeshed/stdlib/symtable.pyi +63 -0
- jaclang/vendor/mypy/typeshed/stdlib/sys/__init__.pyi +396 -0
- jaclang/vendor/mypy/typeshed/stdlib/sys/_monitoring.pyi +54 -0
- jaclang/vendor/mypy/typeshed/stdlib/sysconfig.pyi +52 -0
- jaclang/vendor/mypy/typeshed/stdlib/syslog.pyi +48 -0
- jaclang/vendor/mypy/typeshed/stdlib/tabnanny.pyi +18 -0
- jaclang/vendor/mypy/typeshed/stdlib/tarfile.pyi +486 -0
- jaclang/vendor/mypy/typeshed/stdlib/telnetlib.pyi +129 -0
- jaclang/vendor/mypy/typeshed/stdlib/tempfile.pyi +521 -0
- jaclang/vendor/mypy/typeshed/stdlib/termios.pyi +273 -0
- jaclang/vendor/mypy/typeshed/stdlib/textwrap.pyi +107 -0
- jaclang/vendor/mypy/typeshed/stdlib/this.pyi +2 -0
- jaclang/vendor/mypy/typeshed/stdlib/threading.pyi +212 -0
- jaclang/vendor/mypy/typeshed/stdlib/time.pyi +122 -0
- jaclang/vendor/mypy/typeshed/stdlib/timeit.pyi +46 -0
- jaclang/vendor/mypy/typeshed/stdlib/tkinter/__init__.pyi +3950 -0
- jaclang/vendor/mypy/typeshed/stdlib/tkinter/colorchooser.pyi +28 -0
- jaclang/vendor/mypy/typeshed/stdlib/tkinter/commondialog.pyi +16 -0
- jaclang/vendor/mypy/typeshed/stdlib/tkinter/constants.pyi +80 -0
- jaclang/vendor/mypy/typeshed/stdlib/tkinter/dialog.pyi +21 -0
- jaclang/vendor/mypy/typeshed/stdlib/tkinter/dnd.pyi +20 -0
- jaclang/vendor/mypy/typeshed/stdlib/tkinter/filedialog.pyi +173 -0
- jaclang/vendor/mypy/typeshed/stdlib/tkinter/font.pyi +148 -0
- jaclang/vendor/mypy/typeshed/stdlib/tkinter/messagebox.pyi +60 -0
- jaclang/vendor/mypy/typeshed/stdlib/tkinter/scrolledtext.pyi +10 -0
- jaclang/vendor/mypy/typeshed/stdlib/tkinter/simpledialog.pyi +54 -0
- jaclang/vendor/mypy/typeshed/stdlib/tkinter/tix.pyi +395 -0
- jaclang/vendor/mypy/typeshed/stdlib/tkinter/ttk.pyi +1276 -0
- jaclang/vendor/mypy/typeshed/stdlib/token.pyi +159 -0
- jaclang/vendor/mypy/typeshed/stdlib/tokenize.pyi +185 -0
- jaclang/vendor/mypy/typeshed/stdlib/tomllib.pyi +12 -0
- jaclang/vendor/mypy/typeshed/stdlib/trace.pyi +114 -0
- jaclang/vendor/mypy/typeshed/stdlib/traceback.pyi +297 -0
- jaclang/vendor/mypy/typeshed/stdlib/tracemalloc.pyi +142 -0
- jaclang/vendor/mypy/typeshed/stdlib/tty.pyi +30 -0
- jaclang/vendor/mypy/typeshed/stdlib/turtle.pyi +830 -0
- jaclang/vendor/mypy/typeshed/stdlib/types.pyi +647 -0
- jaclang/vendor/mypy/typeshed/stdlib/typing.pyi +1059 -0
- jaclang/vendor/mypy/typeshed/stdlib/typing_extensions.pyi +524 -0
- jaclang/vendor/mypy/typeshed/stdlib/unicodedata.pyi +71 -0
- jaclang/vendor/mypy/typeshed/stdlib/unittest/__init__.pyi +72 -0
- jaclang/vendor/mypy/typeshed/stdlib/unittest/_log.pyi +34 -0
- jaclang/vendor/mypy/typeshed/stdlib/unittest/async_case.pyi +28 -0
- jaclang/vendor/mypy/typeshed/stdlib/unittest/case.pyi +481 -0
- jaclang/vendor/mypy/typeshed/stdlib/unittest/loader.pyi +71 -0
- jaclang/vendor/mypy/typeshed/stdlib/unittest/main.pyi +75 -0
- jaclang/vendor/mypy/typeshed/stdlib/unittest/mock.pyi +468 -0
- jaclang/vendor/mypy/typeshed/stdlib/unittest/result.pyi +59 -0
- jaclang/vendor/mypy/typeshed/stdlib/unittest/runner.pyi +83 -0
- jaclang/vendor/mypy/typeshed/stdlib/unittest/signals.pyi +15 -0
- jaclang/vendor/mypy/typeshed/stdlib/unittest/suite.pyi +26 -0
- jaclang/vendor/mypy/typeshed/stdlib/unittest/util.pyi +31 -0
- jaclang/vendor/mypy/typeshed/stdlib/urllib/__init__.pyi +0 -0
- jaclang/vendor/mypy/typeshed/stdlib/urllib/error.pyi +27 -0
- jaclang/vendor/mypy/typeshed/stdlib/urllib/parse.pyi +245 -0
- jaclang/vendor/mypy/typeshed/stdlib/urllib/request.pyi +544 -0
- jaclang/vendor/mypy/typeshed/stdlib/urllib/response.pyi +50 -0
- jaclang/vendor/mypy/typeshed/stdlib/urllib/robotparser.pyi +20 -0
- jaclang/vendor/mypy/typeshed/stdlib/uu.pyi +23 -0
- jaclang/vendor/mypy/typeshed/stdlib/uuid.pyi +100 -0
- jaclang/vendor/mypy/typeshed/stdlib/warnings.pyi +144 -0
- jaclang/vendor/mypy/typeshed/stdlib/wave.pyi +87 -0
- jaclang/vendor/mypy/typeshed/stdlib/weakref.pyi +173 -0
- jaclang/vendor/mypy/typeshed/stdlib/webbrowser.pyi +80 -0
- jaclang/vendor/mypy/typeshed/stdlib/winreg.pyi +120 -0
- jaclang/vendor/mypy/typeshed/stdlib/winsound.pyi +28 -0
- jaclang/vendor/mypy/typeshed/stdlib/wsgiref/__init__.pyi +0 -0
- jaclang/vendor/mypy/typeshed/stdlib/wsgiref/handlers.pyi +109 -0
- jaclang/vendor/mypy/typeshed/stdlib/wsgiref/headers.pyi +28 -0
- jaclang/vendor/mypy/typeshed/stdlib/wsgiref/simple_server.pyi +49 -0
- jaclang/vendor/mypy/typeshed/stdlib/wsgiref/types.pyi +44 -0
- jaclang/vendor/mypy/typeshed/stdlib/wsgiref/util.pyi +31 -0
- jaclang/vendor/mypy/typeshed/stdlib/wsgiref/validate.pyi +52 -0
- jaclang/vendor/mypy/typeshed/stdlib/xdrlib.pyi +63 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/__init__.pyi +1 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/dom/NodeFilter.pyi +19 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/dom/__init__.pyi +72 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/dom/domreg.pyi +12 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/dom/expatbuilder.pyi +111 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/dom/minicompat.pyi +22 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/dom/minidom.pyi +467 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/dom/pulldom.pyi +101 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/dom/xmlbuilder.pyi +110 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/etree/ElementInclude.pyi +35 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/etree/ElementPath.pyi +49 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/etree/ElementTree.pyi +367 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/etree/__init__.pyi +0 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/etree/cElementTree.pyi +1 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/parsers/__init__.pyi +1 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/parsers/expat/__init__.pyi +1 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/parsers/expat/errors.pyi +1 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/parsers/expat/model.pyi +1 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/sax/__init__.pyi +34 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/sax/_exceptions.pyi +21 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/sax/handler.pyi +59 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/sax/saxutils.pyi +71 -0
- jaclang/vendor/mypy/typeshed/stdlib/xml/sax/xmlreader.pyi +89 -0
- jaclang/vendor/mypy/typeshed/stdlib/xmlrpc/__init__.pyi +0 -0
- jaclang/vendor/mypy/typeshed/stdlib/xmlrpc/client.pyi +348 -0
- jaclang/vendor/mypy/typeshed/stdlib/xmlrpc/server.pyi +186 -0
- jaclang/vendor/mypy/typeshed/stdlib/xxlimited.pyi +22 -0
- jaclang/vendor/mypy/typeshed/stdlib/zipapp.pyi +20 -0
- jaclang/vendor/mypy/typeshed/stdlib/zipfile/__init__.pyi +355 -0
- jaclang/vendor/mypy/typeshed/stdlib/zipfile/_path.pyi +105 -0
- jaclang/vendor/mypy/typeshed/stdlib/zipimport.pyi +40 -0
- jaclang/vendor/mypy/typeshed/stdlib/zlib.pyi +63 -0
- jaclang/vendor/mypy/typeshed/stdlib/zoneinfo/__init__.pyi +45 -0
- jaclang/vendor/mypy/typeshed/stubs/mypy-extensions/@tests/stubtest_allowlist.txt +2 -0
- jaclang/vendor/mypy/typeshed/stubs/mypy-extensions/METADATA.toml +4 -0
- jaclang/vendor/mypy/typeshed/stubs/mypy-extensions/mypy_extensions.pyi +238 -0
- jaclang/vendor/mypy/xml/mypy-html.css +104 -0
- jaclang/vendor/mypy/xml/mypy-html.xslt +81 -0
- jaclang/vendor/mypy/xml/mypy-txt.xslt +100 -0
- jaclang/vendor/mypy/xml/mypy.xsd +50 -0
- jaclang/vendor/mypyc/.readthedocs.yaml +18 -0
- jaclang/vendor/mypyc/README.md +133 -0
- jaclang/vendor/mypyc/doc/Makefile +20 -0
- jaclang/vendor/mypyc/doc/bool_operations.rst +27 -0
- jaclang/vendor/mypyc/doc/compilation_units.rst +20 -0
- jaclang/vendor/mypyc/doc/conf.py +59 -0
- jaclang/vendor/mypyc/doc/cpython-timings.md +25 -0
- jaclang/vendor/mypyc/doc/dev-intro.md +548 -0
- jaclang/vendor/mypyc/doc/dict_operations.rst +59 -0
- jaclang/vendor/mypyc/doc/differences_from_python.rst +332 -0
- jaclang/vendor/mypyc/doc/float_operations.rst +50 -0
- jaclang/vendor/mypyc/doc/future.md +42 -0
- jaclang/vendor/mypyc/doc/getting_started.rst +240 -0
- jaclang/vendor/mypyc/doc/index.rst +61 -0
- jaclang/vendor/mypyc/doc/int_operations.rst +162 -0
- jaclang/vendor/mypyc/doc/introduction.rst +150 -0
- jaclang/vendor/mypyc/doc/list_operations.rst +65 -0
- jaclang/vendor/mypyc/doc/make.bat +35 -0
- jaclang/vendor/mypyc/doc/native_classes.rst +206 -0
- jaclang/vendor/mypyc/doc/native_operations.rst +55 -0
- jaclang/vendor/mypyc/doc/performance_tips_and_tricks.rst +244 -0
- jaclang/vendor/mypyc/doc/set_operations.rst +47 -0
- jaclang/vendor/mypyc/doc/str_operations.rst +35 -0
- jaclang/vendor/mypyc/doc/tuple_operations.rst +33 -0
- jaclang/vendor/mypyc/doc/using_type_annotations.rst +398 -0
- jaclang/vendor/mypyc/external/googletest/LICENSE +28 -0
- jaclang/vendor/mypyc/external/googletest/README.md +280 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/gtest-death-test.h +294 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/gtest-message.h +250 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/gtest-param-test.h +1444 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/gtest-param-test.h.pump +510 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/gtest-printers.h +993 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/gtest-spi.h +232 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/gtest-test-part.h +179 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/gtest-typed-test.h +263 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/gtest.h +2236 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/gtest_pred_impl.h +358 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/gtest_prod.h +58 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/custom/gtest-port.h +69 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/custom/gtest-printers.h +42 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/custom/gtest.h +41 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-death-test-internal.h +319 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-filepath.h +206 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-internal.h +1238 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-linked_ptr.h +243 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-param-util-generated.h +5146 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-param-util-generated.h.pump +286 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-param-util.h +731 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-port-arch.h +93 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-port.h +2560 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-string.h +167 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-tuple.h +1020 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-tuple.h.pump +347 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-type-util.h +3331 -0
- jaclang/vendor/mypyc/external/googletest/include/gtest/internal/gtest-type-util.h.pump +297 -0
- jaclang/vendor/mypyc/external/googletest/make/Makefile +61 -0
- jaclang/vendor/mypyc/external/googletest/src/gtest-all.cc +48 -0
- jaclang/vendor/mypyc/external/googletest/src/gtest-death-test.cc +1342 -0
- jaclang/vendor/mypyc/external/googletest/src/gtest-filepath.cc +387 -0
- jaclang/vendor/mypyc/external/googletest/src/gtest-internal-inl.h +1183 -0
- jaclang/vendor/mypyc/external/googletest/src/gtest-port.cc +1259 -0
- jaclang/vendor/mypyc/external/googletest/src/gtest-printers.cc +373 -0
- jaclang/vendor/mypyc/external/googletest/src/gtest-test-part.cc +110 -0
- jaclang/vendor/mypyc/external/googletest/src/gtest-typed-test.cc +118 -0
- jaclang/vendor/mypyc/external/googletest/src/gtest.cc +5388 -0
- jaclang/vendor/mypyc/external/googletest/src/gtest_main.cc +38 -0
- jaclang/vendor/mypyc/lib-rt/CPy.h +643 -0
- jaclang/vendor/mypyc/lib-rt/bytes_ops.c +143 -0
- jaclang/vendor/mypyc/lib-rt/dict_ops.c +446 -0
- jaclang/vendor/mypyc/lib-rt/exc_ops.c +259 -0
- jaclang/vendor/mypyc/lib-rt/float_ops.c +192 -0
- jaclang/vendor/mypyc/lib-rt/generic_ops.c +64 -0
- jaclang/vendor/mypyc/lib-rt/getargs.c +450 -0
- jaclang/vendor/mypyc/lib-rt/getargsfast.c +569 -0
- jaclang/vendor/mypyc/lib-rt/init.c +13 -0
- jaclang/vendor/mypyc/lib-rt/int_ops.c +803 -0
- jaclang/vendor/mypyc/lib-rt/list_ops.c +335 -0
- jaclang/vendor/mypyc/lib-rt/misc_ops.c +942 -0
- jaclang/vendor/mypyc/lib-rt/module_shim.tmpl +18 -0
- jaclang/vendor/mypyc/lib-rt/mypyc_util.h +118 -0
- jaclang/vendor/mypyc/lib-rt/pythoncapi_compat.h +497 -0
- jaclang/vendor/mypyc/lib-rt/pythonsupport.h +548 -0
- jaclang/vendor/mypyc/lib-rt/set_ops.c +17 -0
- jaclang/vendor/mypyc/lib-rt/setup.py +76 -0
- jaclang/vendor/mypyc/lib-rt/str_ops.c +241 -0
- jaclang/vendor/mypyc/lib-rt/test_capi.cc +585 -0
- jaclang/vendor/mypyc/lib-rt/tuple_ops.c +61 -0
- jaclang/vendor/mypyc/test-data/alwaysdefined.test +732 -0
- jaclang/vendor/mypyc/test-data/analysis.test +603 -0
- jaclang/vendor/mypyc/test-data/commandline.test +245 -0
- jaclang/vendor/mypyc/test-data/driver/driver.py +50 -0
- jaclang/vendor/mypyc/test-data/exceptions-freq.test +125 -0
- jaclang/vendor/mypyc/test-data/exceptions.test +713 -0
- jaclang/vendor/mypyc/test-data/fixtures/ir.py +850 -0
- jaclang/vendor/mypyc/test-data/fixtures/testutil.py +117 -0
- jaclang/vendor/mypyc/test-data/fixtures/typing-full.pyi +212 -0
- jaclang/vendor/mypyc/test-data/irbuild-any.test +238 -0
- jaclang/vendor/mypyc/test-data/irbuild-basic.test +3690 -0
- jaclang/vendor/mypyc/test-data/irbuild-bool.test +463 -0
- jaclang/vendor/mypyc/test-data/irbuild-bytes.test +184 -0
- jaclang/vendor/mypyc/test-data/irbuild-classes.test +1303 -0
- jaclang/vendor/mypyc/test-data/irbuild-constant-fold.test +480 -0
- jaclang/vendor/mypyc/test-data/irbuild-dict.test +585 -0
- jaclang/vendor/mypyc/test-data/irbuild-dunders.test +223 -0
- jaclang/vendor/mypyc/test-data/irbuild-float.test +497 -0
- jaclang/vendor/mypyc/test-data/irbuild-generics.test +151 -0
- jaclang/vendor/mypyc/test-data/irbuild-glue-methods.test +437 -0
- jaclang/vendor/mypyc/test-data/irbuild-i16.test +526 -0
- jaclang/vendor/mypyc/test-data/irbuild-i32.test +598 -0
- jaclang/vendor/mypyc/test-data/irbuild-i64.test +2164 -0
- jaclang/vendor/mypyc/test-data/irbuild-int.test +235 -0
- jaclang/vendor/mypyc/test-data/irbuild-isinstance.test +109 -0
- jaclang/vendor/mypyc/test-data/irbuild-lists.test +547 -0
- jaclang/vendor/mypyc/test-data/irbuild-match.test +1708 -0
- jaclang/vendor/mypyc/test-data/irbuild-math.test +64 -0
- jaclang/vendor/mypyc/test-data/irbuild-nested.test +807 -0
- jaclang/vendor/mypyc/test-data/irbuild-optional.test +536 -0
- jaclang/vendor/mypyc/test-data/irbuild-set.test +838 -0
- jaclang/vendor/mypyc/test-data/irbuild-singledispatch.test +257 -0
- jaclang/vendor/mypyc/test-data/irbuild-statements.test +1149 -0
- jaclang/vendor/mypyc/test-data/irbuild-str.test +314 -0
- jaclang/vendor/mypyc/test-data/irbuild-strip-asserts.test +12 -0
- jaclang/vendor/mypyc/test-data/irbuild-try.test +523 -0
- jaclang/vendor/mypyc/test-data/irbuild-tuple.test +462 -0
- jaclang/vendor/mypyc/test-data/irbuild-u8.test +543 -0
- jaclang/vendor/mypyc/test-data/irbuild-unreachable.test +241 -0
- jaclang/vendor/mypyc/test-data/irbuild-vectorcall.test +153 -0
- jaclang/vendor/mypyc/test-data/refcount.test +1588 -0
- jaclang/vendor/mypyc/test-data/run-async.test +145 -0
- jaclang/vendor/mypyc/test-data/run-attrs.test +318 -0
- jaclang/vendor/mypyc/test-data/run-bench.test +196 -0
- jaclang/vendor/mypyc/test-data/run-bools.test +229 -0
- jaclang/vendor/mypyc/test-data/run-bytes.test +302 -0
- jaclang/vendor/mypyc/test-data/run-classes.test +2505 -0
- jaclang/vendor/mypyc/test-data/run-dicts.test +334 -0
- jaclang/vendor/mypyc/test-data/run-dunders.test +945 -0
- jaclang/vendor/mypyc/test-data/run-exceptions.test +448 -0
- jaclang/vendor/mypyc/test-data/run-floats.test +516 -0
- jaclang/vendor/mypyc/test-data/run-functions.test +1310 -0
- jaclang/vendor/mypyc/test-data/run-generators.test +681 -0
- jaclang/vendor/mypyc/test-data/run-i16.test +338 -0
- jaclang/vendor/mypyc/test-data/run-i32.test +336 -0
- jaclang/vendor/mypyc/test-data/run-i64.test +1519 -0
- jaclang/vendor/mypyc/test-data/run-imports.test +265 -0
- jaclang/vendor/mypyc/test-data/run-integers.test +540 -0
- jaclang/vendor/mypyc/test-data/run-lists.test +411 -0
- jaclang/vendor/mypyc/test-data/run-loops.test +485 -0
- jaclang/vendor/mypyc/test-data/run-match.test +283 -0
- jaclang/vendor/mypyc/test-data/run-math.test +106 -0
- jaclang/vendor/mypyc/test-data/run-misc.test +1168 -0
- jaclang/vendor/mypyc/test-data/run-multimodule.test +887 -0
- jaclang/vendor/mypyc/test-data/run-mypy-sim.test +138 -0
- jaclang/vendor/mypyc/test-data/run-primitives.test +375 -0
- jaclang/vendor/mypyc/test-data/run-python37.test +159 -0
- jaclang/vendor/mypyc/test-data/run-python38.test +88 -0
- jaclang/vendor/mypyc/test-data/run-sets.test +150 -0
- jaclang/vendor/mypyc/test-data/run-singledispatch.test +698 -0
- jaclang/vendor/mypyc/test-data/run-strings.test +641 -0
- jaclang/vendor/mypyc/test-data/run-traits.test +411 -0
- jaclang/vendor/mypyc/test-data/run-tuples.test +258 -0
- jaclang/vendor/mypyc/test-data/run-u8.test +303 -0
- jaclang/vendor/pluggy/LICENSE +21 -0
- jaclang-0.6.2.dist-info/METADATA +110 -0
- jaclang-0.6.2.dist-info/RECORD +1305 -0
- {jaclang-0.6.0.dist-info → jaclang-0.6.2.dist-info}/WHEEL +1 -2
- jaclang-0.6.2.dist-info/entry_points.txt +3 -0
- jaclang/compiler/generated/jac_parser.py +0 -4069
- jaclang-0.6.0.dist-info/METADATA +0 -17
- jaclang-0.6.0.dist-info/RECORD +0 -426
- jaclang-0.6.0.dist-info/entry_points.txt +0 -2
- jaclang-0.6.0.dist-info/top_level.txt +0 -1
- /jaclang/{compiler/generated/__init__.py → vendor/mypy/typeshed/stdlib/concurrent/__init__.pyi} +0 -0
|
@@ -0,0 +1,1059 @@
|
|
|
1
|
+
# TODO: The collections import is required, otherwise mypy crashes.
|
|
2
|
+
# https://github.com/python/mypy/issues/16744
|
|
3
|
+
import collections # noqa: F401 # pyright: ignore
|
|
4
|
+
import sys
|
|
5
|
+
import typing_extensions
|
|
6
|
+
from _collections_abc import dict_items, dict_keys, dict_values
|
|
7
|
+
from _typeshed import (
|
|
8
|
+
IdentityFunction,
|
|
9
|
+
Incomplete,
|
|
10
|
+
ReadableBuffer,
|
|
11
|
+
SupportsKeysAndGetItem,
|
|
12
|
+
)
|
|
13
|
+
from abc import ABCMeta, abstractmethod
|
|
14
|
+
from contextlib import AbstractAsyncContextManager, AbstractContextManager
|
|
15
|
+
from re import Match as Match, Pattern as Pattern
|
|
16
|
+
from types import (
|
|
17
|
+
BuiltinFunctionType,
|
|
18
|
+
CodeType,
|
|
19
|
+
FrameType,
|
|
20
|
+
FunctionType,
|
|
21
|
+
MethodDescriptorType,
|
|
22
|
+
MethodType,
|
|
23
|
+
MethodWrapperType,
|
|
24
|
+
ModuleType,
|
|
25
|
+
TracebackType,
|
|
26
|
+
WrapperDescriptorType,
|
|
27
|
+
)
|
|
28
|
+
from typing_extensions import Never as _Never, ParamSpec as _ParamSpec
|
|
29
|
+
|
|
30
|
+
if sys.version_info >= (3, 10):
|
|
31
|
+
from types import UnionType
|
|
32
|
+
if sys.version_info >= (3, 9):
|
|
33
|
+
from types import GenericAlias
|
|
34
|
+
|
|
35
|
+
__all__ = [
|
|
36
|
+
"AbstractSet",
|
|
37
|
+
"Any",
|
|
38
|
+
"AnyStr",
|
|
39
|
+
"AsyncContextManager",
|
|
40
|
+
"AsyncGenerator",
|
|
41
|
+
"AsyncIterable",
|
|
42
|
+
"AsyncIterator",
|
|
43
|
+
"Awaitable",
|
|
44
|
+
"ByteString",
|
|
45
|
+
"Callable",
|
|
46
|
+
"ChainMap",
|
|
47
|
+
"ClassVar",
|
|
48
|
+
"Collection",
|
|
49
|
+
"Container",
|
|
50
|
+
"ContextManager",
|
|
51
|
+
"Coroutine",
|
|
52
|
+
"Counter",
|
|
53
|
+
"DefaultDict",
|
|
54
|
+
"Deque",
|
|
55
|
+
"Dict",
|
|
56
|
+
"Final",
|
|
57
|
+
"FrozenSet",
|
|
58
|
+
"Generator",
|
|
59
|
+
"Generic",
|
|
60
|
+
"Hashable",
|
|
61
|
+
"ItemsView",
|
|
62
|
+
"Iterable",
|
|
63
|
+
"Iterator",
|
|
64
|
+
"KeysView",
|
|
65
|
+
"List",
|
|
66
|
+
"Literal",
|
|
67
|
+
"Mapping",
|
|
68
|
+
"MappingView",
|
|
69
|
+
"MutableMapping",
|
|
70
|
+
"MutableSequence",
|
|
71
|
+
"MutableSet",
|
|
72
|
+
"NamedTuple",
|
|
73
|
+
"NewType",
|
|
74
|
+
"Optional",
|
|
75
|
+
"Protocol",
|
|
76
|
+
"Reversible",
|
|
77
|
+
"Sequence",
|
|
78
|
+
"Set",
|
|
79
|
+
"Sized",
|
|
80
|
+
"SupportsAbs",
|
|
81
|
+
"SupportsBytes",
|
|
82
|
+
"SupportsComplex",
|
|
83
|
+
"SupportsFloat",
|
|
84
|
+
"SupportsIndex",
|
|
85
|
+
"SupportsInt",
|
|
86
|
+
"SupportsRound",
|
|
87
|
+
"Text",
|
|
88
|
+
"Tuple",
|
|
89
|
+
"Type",
|
|
90
|
+
"TypeVar",
|
|
91
|
+
"TypedDict",
|
|
92
|
+
"Union",
|
|
93
|
+
"ValuesView",
|
|
94
|
+
"TYPE_CHECKING",
|
|
95
|
+
"cast",
|
|
96
|
+
"final",
|
|
97
|
+
"get_args",
|
|
98
|
+
"get_origin",
|
|
99
|
+
"get_type_hints",
|
|
100
|
+
"no_type_check",
|
|
101
|
+
"no_type_check_decorator",
|
|
102
|
+
"overload",
|
|
103
|
+
"runtime_checkable",
|
|
104
|
+
"ForwardRef",
|
|
105
|
+
"NoReturn",
|
|
106
|
+
"OrderedDict",
|
|
107
|
+
]
|
|
108
|
+
|
|
109
|
+
if sys.version_info >= (3, 9):
|
|
110
|
+
__all__ += ["Annotated", "BinaryIO", "IO", "Match", "Pattern", "TextIO"]
|
|
111
|
+
|
|
112
|
+
if sys.version_info >= (3, 10):
|
|
113
|
+
__all__ += [
|
|
114
|
+
"Concatenate",
|
|
115
|
+
"ParamSpec",
|
|
116
|
+
"ParamSpecArgs",
|
|
117
|
+
"ParamSpecKwargs",
|
|
118
|
+
"TypeAlias",
|
|
119
|
+
"TypeGuard",
|
|
120
|
+
"is_typeddict",
|
|
121
|
+
]
|
|
122
|
+
|
|
123
|
+
if sys.version_info >= (3, 11):
|
|
124
|
+
__all__ += [
|
|
125
|
+
"LiteralString",
|
|
126
|
+
"Never",
|
|
127
|
+
"NotRequired",
|
|
128
|
+
"Required",
|
|
129
|
+
"Self",
|
|
130
|
+
"TypeVarTuple",
|
|
131
|
+
"Unpack",
|
|
132
|
+
"assert_never",
|
|
133
|
+
"assert_type",
|
|
134
|
+
"clear_overloads",
|
|
135
|
+
"dataclass_transform",
|
|
136
|
+
"get_overloads",
|
|
137
|
+
"reveal_type",
|
|
138
|
+
]
|
|
139
|
+
|
|
140
|
+
if sys.version_info >= (3, 12):
|
|
141
|
+
__all__ += ["TypeAliasType", "override"]
|
|
142
|
+
|
|
143
|
+
ContextManager = AbstractContextManager
|
|
144
|
+
AsyncContextManager = AbstractAsyncContextManager
|
|
145
|
+
|
|
146
|
+
# This itself is only available during type checking
|
|
147
|
+
def type_check_only(func_or_cls: _F) -> _F: ...
|
|
148
|
+
|
|
149
|
+
Any = object()
|
|
150
|
+
|
|
151
|
+
def final(f: _T) -> _T: ...
|
|
152
|
+
@final
|
|
153
|
+
class TypeVar:
|
|
154
|
+
@property
|
|
155
|
+
def __name__(self) -> str: ...
|
|
156
|
+
@property
|
|
157
|
+
def __bound__(self) -> Any | None: ...
|
|
158
|
+
@property
|
|
159
|
+
def __constraints__(self) -> tuple[Any, ...]: ...
|
|
160
|
+
@property
|
|
161
|
+
def __covariant__(self) -> bool: ...
|
|
162
|
+
@property
|
|
163
|
+
def __contravariant__(self) -> bool: ...
|
|
164
|
+
if sys.version_info >= (3, 12):
|
|
165
|
+
@property
|
|
166
|
+
def __infer_variance__(self) -> bool: ...
|
|
167
|
+
def __init__(
|
|
168
|
+
self,
|
|
169
|
+
name: str,
|
|
170
|
+
*constraints: Any,
|
|
171
|
+
bound: Any | None = None,
|
|
172
|
+
covariant: bool = False,
|
|
173
|
+
contravariant: bool = False,
|
|
174
|
+
infer_variance: bool = False,
|
|
175
|
+
) -> None: ...
|
|
176
|
+
else:
|
|
177
|
+
def __init__(
|
|
178
|
+
self,
|
|
179
|
+
name: str,
|
|
180
|
+
*constraints: Any,
|
|
181
|
+
bound: Any | None = None,
|
|
182
|
+
covariant: bool = False,
|
|
183
|
+
contravariant: bool = False,
|
|
184
|
+
) -> None: ...
|
|
185
|
+
if sys.version_info >= (3, 10):
|
|
186
|
+
def __or__(self, right: Any) -> _SpecialForm: ...
|
|
187
|
+
def __ror__(self, left: Any) -> _SpecialForm: ...
|
|
188
|
+
if sys.version_info >= (3, 11):
|
|
189
|
+
def __typing_subst__(self, arg: Incomplete) -> Incomplete: ...
|
|
190
|
+
|
|
191
|
+
# Used for an undocumented mypy feature. Does not exist at runtime.
|
|
192
|
+
_promote = object()
|
|
193
|
+
|
|
194
|
+
# N.B. Keep this definition in sync with typing_extensions._SpecialForm
|
|
195
|
+
@final
|
|
196
|
+
class _SpecialForm:
|
|
197
|
+
def __getitem__(self, parameters: Any) -> object: ...
|
|
198
|
+
if sys.version_info >= (3, 10):
|
|
199
|
+
def __or__(self, other: Any) -> _SpecialForm: ...
|
|
200
|
+
def __ror__(self, other: Any) -> _SpecialForm: ...
|
|
201
|
+
|
|
202
|
+
_F = TypeVar("_F", bound=Callable[..., Any])
|
|
203
|
+
_P = _ParamSpec("_P")
|
|
204
|
+
_T = TypeVar("_T")
|
|
205
|
+
|
|
206
|
+
def overload(func: _F) -> _F: ...
|
|
207
|
+
|
|
208
|
+
Union: _SpecialForm
|
|
209
|
+
Generic: _SpecialForm
|
|
210
|
+
# Protocol is only present in 3.8 and later, but mypy needs it unconditionally
|
|
211
|
+
Protocol: _SpecialForm
|
|
212
|
+
Callable: _SpecialForm
|
|
213
|
+
Type: _SpecialForm
|
|
214
|
+
NoReturn: _SpecialForm
|
|
215
|
+
ClassVar: _SpecialForm
|
|
216
|
+
|
|
217
|
+
Optional: _SpecialForm
|
|
218
|
+
Tuple: _SpecialForm
|
|
219
|
+
Final: _SpecialForm
|
|
220
|
+
|
|
221
|
+
Literal: _SpecialForm
|
|
222
|
+
# TypedDict is a (non-subscriptable) special form.
|
|
223
|
+
TypedDict: object
|
|
224
|
+
|
|
225
|
+
if sys.version_info >= (3, 11):
|
|
226
|
+
Self: _SpecialForm
|
|
227
|
+
Never: _SpecialForm
|
|
228
|
+
Unpack: _SpecialForm
|
|
229
|
+
Required: _SpecialForm
|
|
230
|
+
NotRequired: _SpecialForm
|
|
231
|
+
LiteralString: _SpecialForm
|
|
232
|
+
|
|
233
|
+
@final
|
|
234
|
+
class TypeVarTuple:
|
|
235
|
+
@property
|
|
236
|
+
def __name__(self) -> str: ...
|
|
237
|
+
def __init__(self, name: str) -> None: ...
|
|
238
|
+
def __iter__(self) -> Any: ...
|
|
239
|
+
def __typing_subst__(self, arg: Never) -> Never: ...
|
|
240
|
+
def __typing_prepare_subst__(
|
|
241
|
+
self, alias: Incomplete, args: Incomplete
|
|
242
|
+
) -> Incomplete: ...
|
|
243
|
+
|
|
244
|
+
if sys.version_info >= (3, 10):
|
|
245
|
+
@final
|
|
246
|
+
class ParamSpecArgs:
|
|
247
|
+
@property
|
|
248
|
+
def __origin__(self) -> ParamSpec: ...
|
|
249
|
+
def __init__(self, origin: ParamSpec) -> None: ...
|
|
250
|
+
def __eq__(self, other: object) -> bool: ...
|
|
251
|
+
|
|
252
|
+
@final
|
|
253
|
+
class ParamSpecKwargs:
|
|
254
|
+
@property
|
|
255
|
+
def __origin__(self) -> ParamSpec: ...
|
|
256
|
+
def __init__(self, origin: ParamSpec) -> None: ...
|
|
257
|
+
def __eq__(self, other: object) -> bool: ...
|
|
258
|
+
|
|
259
|
+
@final
|
|
260
|
+
class ParamSpec:
|
|
261
|
+
@property
|
|
262
|
+
def __name__(self) -> str: ...
|
|
263
|
+
@property
|
|
264
|
+
def __bound__(self) -> Any | None: ...
|
|
265
|
+
@property
|
|
266
|
+
def __covariant__(self) -> bool: ...
|
|
267
|
+
@property
|
|
268
|
+
def __contravariant__(self) -> bool: ...
|
|
269
|
+
if sys.version_info >= (3, 12):
|
|
270
|
+
@property
|
|
271
|
+
def __infer_variance__(self) -> bool: ...
|
|
272
|
+
def __init__(
|
|
273
|
+
self,
|
|
274
|
+
name: str,
|
|
275
|
+
*,
|
|
276
|
+
bound: Any | None = None,
|
|
277
|
+
contravariant: bool = False,
|
|
278
|
+
covariant: bool = False,
|
|
279
|
+
infer_variance: bool = False,
|
|
280
|
+
) -> None: ...
|
|
281
|
+
else:
|
|
282
|
+
def __init__(
|
|
283
|
+
self,
|
|
284
|
+
name: str,
|
|
285
|
+
*,
|
|
286
|
+
bound: Any | None = None,
|
|
287
|
+
contravariant: bool = False,
|
|
288
|
+
covariant: bool = False,
|
|
289
|
+
) -> None: ...
|
|
290
|
+
|
|
291
|
+
@property
|
|
292
|
+
def args(self) -> ParamSpecArgs: ...
|
|
293
|
+
@property
|
|
294
|
+
def kwargs(self) -> ParamSpecKwargs: ...
|
|
295
|
+
if sys.version_info >= (3, 11):
|
|
296
|
+
def __typing_subst__(self, arg: Incomplete) -> Incomplete: ...
|
|
297
|
+
def __typing_prepare_subst__(
|
|
298
|
+
self, alias: Incomplete, args: Incomplete
|
|
299
|
+
) -> Incomplete: ...
|
|
300
|
+
|
|
301
|
+
def __or__(self, right: Any) -> _SpecialForm: ...
|
|
302
|
+
def __ror__(self, left: Any) -> _SpecialForm: ...
|
|
303
|
+
|
|
304
|
+
Concatenate: _SpecialForm
|
|
305
|
+
TypeAlias: _SpecialForm
|
|
306
|
+
TypeGuard: _SpecialForm
|
|
307
|
+
|
|
308
|
+
class NewType:
|
|
309
|
+
def __init__(self, name: str, tp: Any) -> None: ...
|
|
310
|
+
if sys.version_info >= (3, 11):
|
|
311
|
+
@staticmethod
|
|
312
|
+
def __call__(__x: _T) -> _T: ...
|
|
313
|
+
else:
|
|
314
|
+
def __call__(self, x: _T) -> _T: ...
|
|
315
|
+
|
|
316
|
+
def __or__(self, other: Any) -> _SpecialForm: ...
|
|
317
|
+
def __ror__(self, other: Any) -> _SpecialForm: ...
|
|
318
|
+
__supertype__: type
|
|
319
|
+
|
|
320
|
+
else:
|
|
321
|
+
def NewType(name: str, tp: Any) -> Any: ...
|
|
322
|
+
|
|
323
|
+
# These type variables are used by the container types.
|
|
324
|
+
_S = TypeVar("_S")
|
|
325
|
+
_KT = TypeVar("_KT") # Key type.
|
|
326
|
+
_VT = TypeVar("_VT") # Value type.
|
|
327
|
+
_T_co = TypeVar("_T_co", covariant=True) # Any type covariant containers.
|
|
328
|
+
_KT_co = TypeVar("_KT_co", covariant=True) # Key type covariant containers.
|
|
329
|
+
_VT_co = TypeVar("_VT_co", covariant=True) # Value type covariant containers.
|
|
330
|
+
_TC = TypeVar("_TC", bound=type[object])
|
|
331
|
+
|
|
332
|
+
def no_type_check(arg: _F) -> _F: ...
|
|
333
|
+
def no_type_check_decorator(decorator: Callable[_P, _T]) -> Callable[_P, _T]: ...
|
|
334
|
+
|
|
335
|
+
# Type aliases and type constructors
|
|
336
|
+
|
|
337
|
+
class _Alias:
|
|
338
|
+
# Class for defining generic aliases for library types.
|
|
339
|
+
def __getitem__(self, typeargs: Any) -> Any: ...
|
|
340
|
+
|
|
341
|
+
List = _Alias()
|
|
342
|
+
Dict = _Alias()
|
|
343
|
+
DefaultDict = _Alias()
|
|
344
|
+
Set = _Alias()
|
|
345
|
+
FrozenSet = _Alias()
|
|
346
|
+
Counter = _Alias()
|
|
347
|
+
Deque = _Alias()
|
|
348
|
+
ChainMap = _Alias()
|
|
349
|
+
|
|
350
|
+
OrderedDict = _Alias()
|
|
351
|
+
|
|
352
|
+
if sys.version_info >= (3, 9):
|
|
353
|
+
Annotated: _SpecialForm
|
|
354
|
+
|
|
355
|
+
# Predefined type variables.
|
|
356
|
+
AnyStr = TypeVar("AnyStr", str, bytes) # noqa: Y001
|
|
357
|
+
|
|
358
|
+
class _ProtocolMeta(ABCMeta):
|
|
359
|
+
if sys.version_info >= (3, 12):
|
|
360
|
+
def __init__(cls, *args: Any, **kwargs: Any) -> None: ...
|
|
361
|
+
|
|
362
|
+
# Abstract base classes.
|
|
363
|
+
|
|
364
|
+
def runtime_checkable(cls: _TC) -> _TC: ...
|
|
365
|
+
@runtime_checkable
|
|
366
|
+
class SupportsInt(Protocol, metaclass=ABCMeta):
|
|
367
|
+
@abstractmethod
|
|
368
|
+
def __int__(self) -> int: ...
|
|
369
|
+
|
|
370
|
+
@runtime_checkable
|
|
371
|
+
class SupportsFloat(Protocol, metaclass=ABCMeta):
|
|
372
|
+
@abstractmethod
|
|
373
|
+
def __float__(self) -> float: ...
|
|
374
|
+
|
|
375
|
+
@runtime_checkable
|
|
376
|
+
class SupportsComplex(Protocol, metaclass=ABCMeta):
|
|
377
|
+
@abstractmethod
|
|
378
|
+
def __complex__(self) -> complex: ...
|
|
379
|
+
|
|
380
|
+
@runtime_checkable
|
|
381
|
+
class SupportsBytes(Protocol, metaclass=ABCMeta):
|
|
382
|
+
@abstractmethod
|
|
383
|
+
def __bytes__(self) -> bytes: ...
|
|
384
|
+
|
|
385
|
+
@runtime_checkable
|
|
386
|
+
class SupportsIndex(Protocol, metaclass=ABCMeta):
|
|
387
|
+
@abstractmethod
|
|
388
|
+
def __index__(self) -> int: ...
|
|
389
|
+
|
|
390
|
+
@runtime_checkable
|
|
391
|
+
class SupportsAbs(Protocol[_T_co]):
|
|
392
|
+
@abstractmethod
|
|
393
|
+
def __abs__(self) -> _T_co: ...
|
|
394
|
+
|
|
395
|
+
@runtime_checkable
|
|
396
|
+
class SupportsRound(Protocol[_T_co]):
|
|
397
|
+
@overload
|
|
398
|
+
@abstractmethod
|
|
399
|
+
def __round__(self) -> int: ...
|
|
400
|
+
@overload
|
|
401
|
+
@abstractmethod
|
|
402
|
+
def __round__(self, __ndigits: int) -> _T_co: ...
|
|
403
|
+
|
|
404
|
+
@runtime_checkable
|
|
405
|
+
class Sized(Protocol, metaclass=ABCMeta):
|
|
406
|
+
@abstractmethod
|
|
407
|
+
def __len__(self) -> int: ...
|
|
408
|
+
|
|
409
|
+
@runtime_checkable
|
|
410
|
+
class Hashable(Protocol, metaclass=ABCMeta):
|
|
411
|
+
# TODO: This is special, in that a subclass of a hashable class may not be hashable
|
|
412
|
+
# (for example, list vs. object). It's not obvious how to represent this. This class
|
|
413
|
+
# is currently mostly useless for static checking.
|
|
414
|
+
@abstractmethod
|
|
415
|
+
def __hash__(self) -> int: ...
|
|
416
|
+
|
|
417
|
+
@runtime_checkable
|
|
418
|
+
class Iterable(Protocol[_T_co]):
|
|
419
|
+
@abstractmethod
|
|
420
|
+
def __iter__(self) -> Iterator[_T_co]: ...
|
|
421
|
+
|
|
422
|
+
@runtime_checkable
|
|
423
|
+
class Iterator(Iterable[_T_co], Protocol[_T_co]):
|
|
424
|
+
@abstractmethod
|
|
425
|
+
def __next__(self) -> _T_co: ...
|
|
426
|
+
def __iter__(self) -> Iterator[_T_co]: ...
|
|
427
|
+
|
|
428
|
+
@runtime_checkable
|
|
429
|
+
class Reversible(Iterable[_T_co], Protocol[_T_co]):
|
|
430
|
+
@abstractmethod
|
|
431
|
+
def __reversed__(self) -> Iterator[_T_co]: ...
|
|
432
|
+
|
|
433
|
+
_YieldT_co = TypeVar("_YieldT_co", covariant=True)
|
|
434
|
+
_SendT_contra = TypeVar("_SendT_contra", contravariant=True)
|
|
435
|
+
_ReturnT_co = TypeVar("_ReturnT_co", covariant=True)
|
|
436
|
+
|
|
437
|
+
class Generator(Iterator[_YieldT_co], Generic[_YieldT_co, _SendT_contra, _ReturnT_co]):
|
|
438
|
+
def __next__(self) -> _YieldT_co: ...
|
|
439
|
+
@abstractmethod
|
|
440
|
+
def send(self, __value: _SendT_contra) -> _YieldT_co: ...
|
|
441
|
+
@overload
|
|
442
|
+
@abstractmethod
|
|
443
|
+
def throw(
|
|
444
|
+
self,
|
|
445
|
+
__typ: type[BaseException],
|
|
446
|
+
__val: BaseException | object = None,
|
|
447
|
+
__tb: TracebackType | None = None,
|
|
448
|
+
) -> _YieldT_co: ...
|
|
449
|
+
@overload
|
|
450
|
+
@abstractmethod
|
|
451
|
+
def throw(
|
|
452
|
+
self,
|
|
453
|
+
__typ: BaseException,
|
|
454
|
+
__val: None = None,
|
|
455
|
+
__tb: TracebackType | None = None,
|
|
456
|
+
) -> _YieldT_co: ...
|
|
457
|
+
def close(self) -> None: ...
|
|
458
|
+
def __iter__(self) -> Generator[_YieldT_co, _SendT_contra, _ReturnT_co]: ...
|
|
459
|
+
@property
|
|
460
|
+
def gi_code(self) -> CodeType: ...
|
|
461
|
+
@property
|
|
462
|
+
def gi_frame(self) -> FrameType: ...
|
|
463
|
+
@property
|
|
464
|
+
def gi_running(self) -> bool: ...
|
|
465
|
+
@property
|
|
466
|
+
def gi_yieldfrom(self) -> Generator[Any, Any, Any] | None: ...
|
|
467
|
+
|
|
468
|
+
@runtime_checkable
|
|
469
|
+
class Awaitable(Protocol[_T_co]):
|
|
470
|
+
@abstractmethod
|
|
471
|
+
def __await__(self) -> Generator[Any, None, _T_co]: ...
|
|
472
|
+
|
|
473
|
+
class Coroutine(
|
|
474
|
+
Awaitable[_ReturnT_co], Generic[_YieldT_co, _SendT_contra, _ReturnT_co]
|
|
475
|
+
):
|
|
476
|
+
__name__: str
|
|
477
|
+
__qualname__: str
|
|
478
|
+
@property
|
|
479
|
+
def cr_await(self) -> Any | None: ...
|
|
480
|
+
@property
|
|
481
|
+
def cr_code(self) -> CodeType: ...
|
|
482
|
+
@property
|
|
483
|
+
def cr_frame(self) -> FrameType: ...
|
|
484
|
+
@property
|
|
485
|
+
def cr_running(self) -> bool: ...
|
|
486
|
+
@abstractmethod
|
|
487
|
+
def send(self, __value: _SendT_contra) -> _YieldT_co: ...
|
|
488
|
+
@overload
|
|
489
|
+
@abstractmethod
|
|
490
|
+
def throw(
|
|
491
|
+
self,
|
|
492
|
+
__typ: type[BaseException],
|
|
493
|
+
__val: BaseException | object = None,
|
|
494
|
+
__tb: TracebackType | None = None,
|
|
495
|
+
) -> _YieldT_co: ...
|
|
496
|
+
@overload
|
|
497
|
+
@abstractmethod
|
|
498
|
+
def throw(
|
|
499
|
+
self,
|
|
500
|
+
__typ: BaseException,
|
|
501
|
+
__val: None = None,
|
|
502
|
+
__tb: TracebackType | None = None,
|
|
503
|
+
) -> _YieldT_co: ...
|
|
504
|
+
@abstractmethod
|
|
505
|
+
def close(self) -> None: ...
|
|
506
|
+
|
|
507
|
+
# NOTE: This type does not exist in typing.py or PEP 484 but mypy needs it to exist.
|
|
508
|
+
# The parameters correspond to Generator, but the 4th is the original type.
|
|
509
|
+
@type_check_only
|
|
510
|
+
class AwaitableGenerator(
|
|
511
|
+
Awaitable[_ReturnT_co],
|
|
512
|
+
Generator[_YieldT_co, _SendT_contra, _ReturnT_co],
|
|
513
|
+
Generic[_YieldT_co, _SendT_contra, _ReturnT_co, _S],
|
|
514
|
+
metaclass=ABCMeta,
|
|
515
|
+
): ...
|
|
516
|
+
|
|
517
|
+
@runtime_checkable
|
|
518
|
+
class AsyncIterable(Protocol[_T_co]):
|
|
519
|
+
@abstractmethod
|
|
520
|
+
def __aiter__(self) -> AsyncIterator[_T_co]: ...
|
|
521
|
+
|
|
522
|
+
@runtime_checkable
|
|
523
|
+
class AsyncIterator(AsyncIterable[_T_co], Protocol[_T_co]):
|
|
524
|
+
@abstractmethod
|
|
525
|
+
def __anext__(self) -> Awaitable[_T_co]: ...
|
|
526
|
+
def __aiter__(self) -> AsyncIterator[_T_co]: ...
|
|
527
|
+
|
|
528
|
+
class AsyncGenerator(AsyncIterator[_YieldT_co], Generic[_YieldT_co, _SendT_contra]):
|
|
529
|
+
def __anext__(self) -> Awaitable[_YieldT_co]: ...
|
|
530
|
+
@abstractmethod
|
|
531
|
+
def asend(self, __value: _SendT_contra) -> Awaitable[_YieldT_co]: ...
|
|
532
|
+
@overload
|
|
533
|
+
@abstractmethod
|
|
534
|
+
def athrow(
|
|
535
|
+
self,
|
|
536
|
+
__typ: type[BaseException],
|
|
537
|
+
__val: BaseException | object = None,
|
|
538
|
+
__tb: TracebackType | None = None,
|
|
539
|
+
) -> Awaitable[_YieldT_co]: ...
|
|
540
|
+
@overload
|
|
541
|
+
@abstractmethod
|
|
542
|
+
def athrow(
|
|
543
|
+
self,
|
|
544
|
+
__typ: BaseException,
|
|
545
|
+
__val: None = None,
|
|
546
|
+
__tb: TracebackType | None = None,
|
|
547
|
+
) -> Awaitable[_YieldT_co]: ...
|
|
548
|
+
def aclose(self) -> Awaitable[None]: ...
|
|
549
|
+
@property
|
|
550
|
+
def ag_await(self) -> Any: ...
|
|
551
|
+
@property
|
|
552
|
+
def ag_code(self) -> CodeType: ...
|
|
553
|
+
@property
|
|
554
|
+
def ag_frame(self) -> FrameType: ...
|
|
555
|
+
@property
|
|
556
|
+
def ag_running(self) -> bool: ...
|
|
557
|
+
|
|
558
|
+
@runtime_checkable
|
|
559
|
+
class Container(Protocol[_T_co]):
|
|
560
|
+
# This is generic more on vibes than anything else
|
|
561
|
+
@abstractmethod
|
|
562
|
+
def __contains__(self, __x: object) -> bool: ...
|
|
563
|
+
|
|
564
|
+
@runtime_checkable
|
|
565
|
+
class Collection(Iterable[_T_co], Container[_T_co], Protocol[_T_co]):
|
|
566
|
+
# Implement Sized (but don't have it as a base class).
|
|
567
|
+
@abstractmethod
|
|
568
|
+
def __len__(self) -> int: ...
|
|
569
|
+
|
|
570
|
+
class Sequence(Collection[_T_co], Reversible[_T_co]):
|
|
571
|
+
@overload
|
|
572
|
+
@abstractmethod
|
|
573
|
+
def __getitem__(self, index: int) -> _T_co: ...
|
|
574
|
+
@overload
|
|
575
|
+
@abstractmethod
|
|
576
|
+
def __getitem__(self, index: slice) -> Sequence[_T_co]: ...
|
|
577
|
+
# Mixin methods
|
|
578
|
+
def index(self, value: Any, start: int = 0, stop: int = ...) -> int: ...
|
|
579
|
+
def count(self, value: Any) -> int: ...
|
|
580
|
+
def __contains__(self, value: object) -> bool: ...
|
|
581
|
+
def __iter__(self) -> Iterator[_T_co]: ...
|
|
582
|
+
def __reversed__(self) -> Iterator[_T_co]: ...
|
|
583
|
+
|
|
584
|
+
class MutableSequence(Sequence[_T]):
|
|
585
|
+
@abstractmethod
|
|
586
|
+
def insert(self, index: int, value: _T) -> None: ...
|
|
587
|
+
@overload
|
|
588
|
+
@abstractmethod
|
|
589
|
+
def __getitem__(self, index: int) -> _T: ...
|
|
590
|
+
@overload
|
|
591
|
+
@abstractmethod
|
|
592
|
+
def __getitem__(self, index: slice) -> MutableSequence[_T]: ...
|
|
593
|
+
@overload
|
|
594
|
+
@abstractmethod
|
|
595
|
+
def __setitem__(self, index: int, value: _T) -> None: ...
|
|
596
|
+
@overload
|
|
597
|
+
@abstractmethod
|
|
598
|
+
def __setitem__(self, index: slice, value: Iterable[_T]) -> None: ...
|
|
599
|
+
@overload
|
|
600
|
+
@abstractmethod
|
|
601
|
+
def __delitem__(self, index: int) -> None: ...
|
|
602
|
+
@overload
|
|
603
|
+
@abstractmethod
|
|
604
|
+
def __delitem__(self, index: slice) -> None: ...
|
|
605
|
+
# Mixin methods
|
|
606
|
+
def append(self, value: _T) -> None: ...
|
|
607
|
+
def clear(self) -> None: ...
|
|
608
|
+
def extend(self, values: Iterable[_T]) -> None: ...
|
|
609
|
+
def reverse(self) -> None: ...
|
|
610
|
+
def pop(self, index: int = -1) -> _T: ...
|
|
611
|
+
def remove(self, value: _T) -> None: ...
|
|
612
|
+
def __iadd__(self, values: Iterable[_T]) -> typing_extensions.Self: ...
|
|
613
|
+
|
|
614
|
+
class AbstractSet(Collection[_T_co]):
|
|
615
|
+
@abstractmethod
|
|
616
|
+
def __contains__(self, x: object) -> bool: ...
|
|
617
|
+
def _hash(self) -> int: ...
|
|
618
|
+
# Mixin methods
|
|
619
|
+
def __le__(self, other: AbstractSet[Any]) -> bool: ...
|
|
620
|
+
def __lt__(self, other: AbstractSet[Any]) -> bool: ...
|
|
621
|
+
def __gt__(self, other: AbstractSet[Any]) -> bool: ...
|
|
622
|
+
def __ge__(self, other: AbstractSet[Any]) -> bool: ...
|
|
623
|
+
def __and__(self, other: AbstractSet[Any]) -> AbstractSet[_T_co]: ...
|
|
624
|
+
def __or__(self, other: AbstractSet[_T]) -> AbstractSet[_T_co | _T]: ...
|
|
625
|
+
def __sub__(self, other: AbstractSet[Any]) -> AbstractSet[_T_co]: ...
|
|
626
|
+
def __xor__(self, other: AbstractSet[_T]) -> AbstractSet[_T_co | _T]: ...
|
|
627
|
+
def __eq__(self, other: object) -> bool: ...
|
|
628
|
+
def isdisjoint(self, other: Iterable[Any]) -> bool: ...
|
|
629
|
+
|
|
630
|
+
class MutableSet(AbstractSet[_T]):
|
|
631
|
+
@abstractmethod
|
|
632
|
+
def add(self, value: _T) -> None: ...
|
|
633
|
+
@abstractmethod
|
|
634
|
+
def discard(self, value: _T) -> None: ...
|
|
635
|
+
# Mixin methods
|
|
636
|
+
def clear(self) -> None: ...
|
|
637
|
+
def pop(self) -> _T: ...
|
|
638
|
+
def remove(self, value: _T) -> None: ...
|
|
639
|
+
def __ior__(self, it: AbstractSet[_T]) -> typing_extensions.Self: ... # type: ignore[override,misc]
|
|
640
|
+
def __iand__(self, it: AbstractSet[Any]) -> typing_extensions.Self: ...
|
|
641
|
+
def __ixor__(self, it: AbstractSet[_T]) -> typing_extensions.Self: ... # type: ignore[override,misc]
|
|
642
|
+
def __isub__(self, it: AbstractSet[Any]) -> typing_extensions.Self: ...
|
|
643
|
+
|
|
644
|
+
class MappingView(Sized):
|
|
645
|
+
def __init__(self, mapping: Mapping[Any, Any]) -> None: ... # undocumented
|
|
646
|
+
def __len__(self) -> int: ...
|
|
647
|
+
|
|
648
|
+
class ItemsView(
|
|
649
|
+
MappingView, AbstractSet[tuple[_KT_co, _VT_co]], Generic[_KT_co, _VT_co]
|
|
650
|
+
):
|
|
651
|
+
def __init__(self, mapping: Mapping[_KT_co, _VT_co]) -> None: ... # undocumented
|
|
652
|
+
def __and__(self, other: Iterable[Any]) -> set[tuple[_KT_co, _VT_co]]: ...
|
|
653
|
+
def __rand__(self, other: Iterable[_T]) -> set[_T]: ...
|
|
654
|
+
def __contains__(self, item: object) -> bool: ...
|
|
655
|
+
def __iter__(self) -> Iterator[tuple[_KT_co, _VT_co]]: ...
|
|
656
|
+
def __reversed__(self) -> Iterator[tuple[_KT_co, _VT_co]]: ...
|
|
657
|
+
def __or__(self, other: Iterable[_T]) -> set[tuple[_KT_co, _VT_co] | _T]: ...
|
|
658
|
+
def __ror__(self, other: Iterable[_T]) -> set[tuple[_KT_co, _VT_co] | _T]: ...
|
|
659
|
+
def __sub__(self, other: Iterable[Any]) -> set[tuple[_KT_co, _VT_co]]: ...
|
|
660
|
+
def __rsub__(self, other: Iterable[_T]) -> set[_T]: ...
|
|
661
|
+
def __xor__(self, other: Iterable[_T]) -> set[tuple[_KT_co, _VT_co] | _T]: ...
|
|
662
|
+
def __rxor__(self, other: Iterable[_T]) -> set[tuple[_KT_co, _VT_co] | _T]: ...
|
|
663
|
+
|
|
664
|
+
class KeysView(MappingView, AbstractSet[_KT_co]):
|
|
665
|
+
def __init__(self, mapping: Mapping[_KT_co, Any]) -> None: ... # undocumented
|
|
666
|
+
def __and__(self, other: Iterable[Any]) -> set[_KT_co]: ...
|
|
667
|
+
def __rand__(self, other: Iterable[_T]) -> set[_T]: ...
|
|
668
|
+
def __contains__(self, key: object) -> bool: ...
|
|
669
|
+
def __iter__(self) -> Iterator[_KT_co]: ...
|
|
670
|
+
def __reversed__(self) -> Iterator[_KT_co]: ...
|
|
671
|
+
def __or__(self, other: Iterable[_T]) -> set[_KT_co | _T]: ...
|
|
672
|
+
def __ror__(self, other: Iterable[_T]) -> set[_KT_co | _T]: ...
|
|
673
|
+
def __sub__(self, other: Iterable[Any]) -> set[_KT_co]: ...
|
|
674
|
+
def __rsub__(self, other: Iterable[_T]) -> set[_T]: ...
|
|
675
|
+
def __xor__(self, other: Iterable[_T]) -> set[_KT_co | _T]: ...
|
|
676
|
+
def __rxor__(self, other: Iterable[_T]) -> set[_KT_co | _T]: ...
|
|
677
|
+
|
|
678
|
+
class ValuesView(MappingView, Collection[_VT_co]):
|
|
679
|
+
def __init__(self, mapping: Mapping[Any, _VT_co]) -> None: ... # undocumented
|
|
680
|
+
def __contains__(self, value: object) -> bool: ...
|
|
681
|
+
def __iter__(self) -> Iterator[_VT_co]: ...
|
|
682
|
+
def __reversed__(self) -> Iterator[_VT_co]: ...
|
|
683
|
+
|
|
684
|
+
class Mapping(Collection[_KT], Generic[_KT, _VT_co]):
|
|
685
|
+
# TODO: We wish the key type could also be covariant, but that doesn't work,
|
|
686
|
+
# see discussion in https://github.com/python/typing/pull/273.
|
|
687
|
+
@abstractmethod
|
|
688
|
+
def __getitem__(self, __key: _KT) -> _VT_co: ...
|
|
689
|
+
# Mixin methods
|
|
690
|
+
@overload
|
|
691
|
+
def get(self, __key: _KT) -> _VT_co | None: ...
|
|
692
|
+
@overload
|
|
693
|
+
def get(self, __key: _KT, default: _VT_co | _T) -> _VT_co | _T: ...
|
|
694
|
+
def items(self) -> ItemsView[_KT, _VT_co]: ...
|
|
695
|
+
def keys(self) -> KeysView[_KT]: ...
|
|
696
|
+
def values(self) -> ValuesView[_VT_co]: ...
|
|
697
|
+
def __contains__(self, __key: object) -> bool: ...
|
|
698
|
+
def __eq__(self, __other: object) -> bool: ...
|
|
699
|
+
|
|
700
|
+
class MutableMapping(Mapping[_KT, _VT]):
|
|
701
|
+
@abstractmethod
|
|
702
|
+
def __setitem__(self, __key: _KT, __value: _VT) -> None: ...
|
|
703
|
+
@abstractmethod
|
|
704
|
+
def __delitem__(self, __key: _KT) -> None: ...
|
|
705
|
+
def clear(self) -> None: ...
|
|
706
|
+
@overload
|
|
707
|
+
def pop(self, __key: _KT) -> _VT: ...
|
|
708
|
+
@overload
|
|
709
|
+
def pop(self, __key: _KT, default: _VT) -> _VT: ...
|
|
710
|
+
@overload
|
|
711
|
+
def pop(self, __key: _KT, default: _T) -> _VT | _T: ...
|
|
712
|
+
def popitem(self) -> tuple[_KT, _VT]: ...
|
|
713
|
+
# This overload should be allowed only if the value type is compatible with None.
|
|
714
|
+
#
|
|
715
|
+
# Keep the following methods in line with MutableMapping.setdefault, modulo positional-only differences:
|
|
716
|
+
# -- collections.OrderedDict.setdefault
|
|
717
|
+
# -- collections.ChainMap.setdefault
|
|
718
|
+
# -- weakref.WeakKeyDictionary.setdefault
|
|
719
|
+
@overload
|
|
720
|
+
def setdefault(
|
|
721
|
+
self: MutableMapping[_KT, _T | None], __key: _KT, __default: None = None
|
|
722
|
+
) -> _T | None: ...
|
|
723
|
+
@overload
|
|
724
|
+
def setdefault(self, __key: _KT, __default: _VT) -> _VT: ...
|
|
725
|
+
# 'update' used to take a Union, but using overloading is better.
|
|
726
|
+
# The second overloaded type here is a bit too general, because
|
|
727
|
+
# Mapping[tuple[_KT, _VT], W] is a subclass of Iterable[tuple[_KT, _VT]],
|
|
728
|
+
# but will always have the behavior of the first overloaded type
|
|
729
|
+
# at runtime, leading to keys of a mix of types _KT and tuple[_KT, _VT].
|
|
730
|
+
# We don't currently have any way of forcing all Mappings to use
|
|
731
|
+
# the first overload, but by using overloading rather than a Union,
|
|
732
|
+
# mypy will commit to using the first overload when the argument is
|
|
733
|
+
# known to be a Mapping with unknown type parameters, which is closer
|
|
734
|
+
# to the behavior we want. See mypy issue #1430.
|
|
735
|
+
#
|
|
736
|
+
# Various mapping classes have __ior__ methods that should be kept roughly in line with .update():
|
|
737
|
+
# -- dict.__ior__
|
|
738
|
+
# -- os._Environ.__ior__
|
|
739
|
+
# -- collections.UserDict.__ior__
|
|
740
|
+
# -- collections.ChainMap.__ior__
|
|
741
|
+
# -- peewee.attrdict.__add__
|
|
742
|
+
# -- peewee.attrdict.__iadd__
|
|
743
|
+
# -- weakref.WeakValueDictionary.__ior__
|
|
744
|
+
# -- weakref.WeakKeyDictionary.__ior__
|
|
745
|
+
@overload
|
|
746
|
+
def update(self, __m: SupportsKeysAndGetItem[_KT, _VT], **kwargs: _VT) -> None: ...
|
|
747
|
+
@overload
|
|
748
|
+
def update(self, __m: Iterable[tuple[_KT, _VT]], **kwargs: _VT) -> None: ...
|
|
749
|
+
@overload
|
|
750
|
+
def update(self, **kwargs: _VT) -> None: ...
|
|
751
|
+
|
|
752
|
+
Text = str
|
|
753
|
+
|
|
754
|
+
TYPE_CHECKING: bool
|
|
755
|
+
|
|
756
|
+
# In stubs, the arguments of the IO class are marked as positional-only.
|
|
757
|
+
# This differs from runtime, but better reflects the fact that in reality
|
|
758
|
+
# classes deriving from IO use different names for the arguments.
|
|
759
|
+
class IO(Iterator[AnyStr]):
|
|
760
|
+
# At runtime these are all abstract properties,
|
|
761
|
+
# but making them abstract in the stub is hugely disruptive, for not much gain.
|
|
762
|
+
# See #8726
|
|
763
|
+
@property
|
|
764
|
+
def mode(self) -> str: ...
|
|
765
|
+
# Usually str, but may be bytes if a bytes path was passed to open(). See #10737.
|
|
766
|
+
# If PEP 696 becomes available, we may want to use a defaulted TypeVar here.
|
|
767
|
+
@property
|
|
768
|
+
def name(self) -> str | Any: ...
|
|
769
|
+
@abstractmethod
|
|
770
|
+
def close(self) -> None: ...
|
|
771
|
+
@property
|
|
772
|
+
def closed(self) -> bool: ...
|
|
773
|
+
@abstractmethod
|
|
774
|
+
def fileno(self) -> int: ...
|
|
775
|
+
@abstractmethod
|
|
776
|
+
def flush(self) -> None: ...
|
|
777
|
+
@abstractmethod
|
|
778
|
+
def isatty(self) -> bool: ...
|
|
779
|
+
@abstractmethod
|
|
780
|
+
def read(self, __n: int = -1) -> AnyStr: ...
|
|
781
|
+
@abstractmethod
|
|
782
|
+
def readable(self) -> bool: ...
|
|
783
|
+
@abstractmethod
|
|
784
|
+
def readline(self, __limit: int = -1) -> AnyStr: ...
|
|
785
|
+
@abstractmethod
|
|
786
|
+
def readlines(self, __hint: int = -1) -> list[AnyStr]: ...
|
|
787
|
+
@abstractmethod
|
|
788
|
+
def seek(self, __offset: int, __whence: int = 0) -> int: ...
|
|
789
|
+
@abstractmethod
|
|
790
|
+
def seekable(self) -> bool: ...
|
|
791
|
+
@abstractmethod
|
|
792
|
+
def tell(self) -> int: ...
|
|
793
|
+
@abstractmethod
|
|
794
|
+
def truncate(self, __size: int | None = None) -> int: ...
|
|
795
|
+
@abstractmethod
|
|
796
|
+
def writable(self) -> bool: ...
|
|
797
|
+
@abstractmethod
|
|
798
|
+
@overload
|
|
799
|
+
def write(self: IO[str], __s: str) -> int: ...
|
|
800
|
+
@abstractmethod
|
|
801
|
+
@overload
|
|
802
|
+
def write(self: IO[bytes], __s: ReadableBuffer) -> int: ...
|
|
803
|
+
@abstractmethod
|
|
804
|
+
@overload
|
|
805
|
+
def write(self, __s: AnyStr) -> int: ...
|
|
806
|
+
@abstractmethod
|
|
807
|
+
@overload
|
|
808
|
+
def writelines(self: IO[str], __lines: Iterable[str]) -> None: ...
|
|
809
|
+
@abstractmethod
|
|
810
|
+
@overload
|
|
811
|
+
def writelines(self: IO[bytes], __lines: Iterable[ReadableBuffer]) -> None: ...
|
|
812
|
+
@abstractmethod
|
|
813
|
+
@overload
|
|
814
|
+
def writelines(self, __lines: Iterable[AnyStr]) -> None: ...
|
|
815
|
+
@abstractmethod
|
|
816
|
+
def __next__(self) -> AnyStr: ...
|
|
817
|
+
@abstractmethod
|
|
818
|
+
def __iter__(self) -> Iterator[AnyStr]: ...
|
|
819
|
+
@abstractmethod
|
|
820
|
+
def __enter__(self) -> IO[AnyStr]: ...
|
|
821
|
+
@abstractmethod
|
|
822
|
+
def __exit__(
|
|
823
|
+
self,
|
|
824
|
+
__type: type[BaseException] | None,
|
|
825
|
+
__value: BaseException | None,
|
|
826
|
+
__traceback: TracebackType | None,
|
|
827
|
+
) -> None: ...
|
|
828
|
+
|
|
829
|
+
class BinaryIO(IO[bytes]):
|
|
830
|
+
@abstractmethod
|
|
831
|
+
def __enter__(self) -> BinaryIO: ...
|
|
832
|
+
|
|
833
|
+
class TextIO(IO[str]):
|
|
834
|
+
# See comment regarding the @properties in the `IO` class
|
|
835
|
+
@property
|
|
836
|
+
def buffer(self) -> BinaryIO: ...
|
|
837
|
+
@property
|
|
838
|
+
def encoding(self) -> str: ...
|
|
839
|
+
@property
|
|
840
|
+
def errors(self) -> str | None: ...
|
|
841
|
+
@property
|
|
842
|
+
def line_buffering(self) -> int: ... # int on PyPy, bool on CPython
|
|
843
|
+
@property
|
|
844
|
+
def newlines(self) -> Any: ... # None, str or tuple
|
|
845
|
+
@abstractmethod
|
|
846
|
+
def __enter__(self) -> TextIO: ...
|
|
847
|
+
|
|
848
|
+
ByteString: typing_extensions.TypeAlias = bytes | bytearray | memoryview
|
|
849
|
+
|
|
850
|
+
# Functions
|
|
851
|
+
|
|
852
|
+
_get_type_hints_obj_allowed_types: typing_extensions.TypeAlias = ( # noqa: Y042
|
|
853
|
+
object
|
|
854
|
+
| Callable[..., Any]
|
|
855
|
+
| FunctionType
|
|
856
|
+
| BuiltinFunctionType
|
|
857
|
+
| MethodType
|
|
858
|
+
| ModuleType
|
|
859
|
+
| WrapperDescriptorType
|
|
860
|
+
| MethodWrapperType
|
|
861
|
+
| MethodDescriptorType
|
|
862
|
+
)
|
|
863
|
+
|
|
864
|
+
if sys.version_info >= (3, 9):
|
|
865
|
+
def get_type_hints(
|
|
866
|
+
obj: _get_type_hints_obj_allowed_types,
|
|
867
|
+
globalns: dict[str, Any] | None = None,
|
|
868
|
+
localns: dict[str, Any] | None = None,
|
|
869
|
+
include_extras: bool = False,
|
|
870
|
+
) -> dict[str, Any]: ...
|
|
871
|
+
|
|
872
|
+
else:
|
|
873
|
+
def get_type_hints(
|
|
874
|
+
obj: _get_type_hints_obj_allowed_types,
|
|
875
|
+
globalns: dict[str, Any] | None = None,
|
|
876
|
+
localns: dict[str, Any] | None = None,
|
|
877
|
+
) -> dict[str, Any]: ...
|
|
878
|
+
|
|
879
|
+
def get_args(tp: Any) -> tuple[Any, ...]: ...
|
|
880
|
+
|
|
881
|
+
if sys.version_info >= (3, 10):
|
|
882
|
+
@overload
|
|
883
|
+
def get_origin(tp: ParamSpecArgs | ParamSpecKwargs) -> ParamSpec: ...
|
|
884
|
+
@overload
|
|
885
|
+
def get_origin(tp: UnionType) -> type[UnionType]: ...
|
|
886
|
+
|
|
887
|
+
if sys.version_info >= (3, 9):
|
|
888
|
+
@overload
|
|
889
|
+
def get_origin(tp: GenericAlias) -> type: ...
|
|
890
|
+
@overload
|
|
891
|
+
def get_origin(tp: Any) -> Any | None: ...
|
|
892
|
+
|
|
893
|
+
else:
|
|
894
|
+
def get_origin(tp: Any) -> Any | None: ...
|
|
895
|
+
|
|
896
|
+
@overload
|
|
897
|
+
def cast(typ: type[_T], val: Any) -> _T: ...
|
|
898
|
+
@overload
|
|
899
|
+
def cast(typ: str, val: Any) -> Any: ...
|
|
900
|
+
@overload
|
|
901
|
+
def cast(typ: object, val: Any) -> Any: ...
|
|
902
|
+
|
|
903
|
+
if sys.version_info >= (3, 11):
|
|
904
|
+
def reveal_type(__obj: _T) -> _T: ...
|
|
905
|
+
def assert_never(__arg: Never) -> Never: ...
|
|
906
|
+
def assert_type(__val: _T, __typ: Any) -> _T: ...
|
|
907
|
+
def clear_overloads() -> None: ...
|
|
908
|
+
def get_overloads(
|
|
909
|
+
func: Callable[..., object]
|
|
910
|
+
) -> Sequence[Callable[..., object]]: ...
|
|
911
|
+
def dataclass_transform(
|
|
912
|
+
*,
|
|
913
|
+
eq_default: bool = True,
|
|
914
|
+
order_default: bool = False,
|
|
915
|
+
kw_only_default: bool = False,
|
|
916
|
+
frozen_default: bool = False, # on 3.11, runtime accepts it as part of kwargs
|
|
917
|
+
field_specifiers: tuple[type[Any] | Callable[..., Any], ...] = (),
|
|
918
|
+
**kwargs: Any,
|
|
919
|
+
) -> IdentityFunction: ...
|
|
920
|
+
|
|
921
|
+
# Type constructors
|
|
922
|
+
|
|
923
|
+
class NamedTuple(tuple[Any, ...]):
|
|
924
|
+
if sys.version_info < (3, 9):
|
|
925
|
+
_field_types: ClassVar[dict[str, type]]
|
|
926
|
+
_field_defaults: ClassVar[dict[str, Any]]
|
|
927
|
+
_fields: ClassVar[tuple[str, ...]]
|
|
928
|
+
# __orig_bases__ sometimes exists on <3.12, but not consistently
|
|
929
|
+
# So we only add it to the stub on 3.12+.
|
|
930
|
+
if sys.version_info >= (3, 12):
|
|
931
|
+
__orig_bases__: ClassVar[tuple[Any, ...]]
|
|
932
|
+
|
|
933
|
+
@overload
|
|
934
|
+
def __init__(
|
|
935
|
+
self, __typename: str, __fields: Iterable[tuple[str, Any]]
|
|
936
|
+
) -> None: ...
|
|
937
|
+
@overload
|
|
938
|
+
def __init__(
|
|
939
|
+
self, __typename: str, __fields: None = None, **kwargs: Any
|
|
940
|
+
) -> None: ...
|
|
941
|
+
@classmethod
|
|
942
|
+
def _make(cls, iterable: Iterable[Any]) -> typing_extensions.Self: ...
|
|
943
|
+
def _asdict(self) -> dict[str, Any]: ...
|
|
944
|
+
def _replace(self, **kwargs: Any) -> typing_extensions.Self: ...
|
|
945
|
+
|
|
946
|
+
# Internal mypy fallback type for all typed dicts (does not exist at runtime)
|
|
947
|
+
# N.B. Keep this mostly in sync with typing_extensions._TypedDict/mypy_extensions._TypedDict
|
|
948
|
+
@type_check_only
|
|
949
|
+
class _TypedDict(Mapping[str, object], metaclass=ABCMeta):
|
|
950
|
+
__total__: ClassVar[bool]
|
|
951
|
+
if sys.version_info >= (3, 9):
|
|
952
|
+
__required_keys__: ClassVar[frozenset[str]]
|
|
953
|
+
__optional_keys__: ClassVar[frozenset[str]]
|
|
954
|
+
# __orig_bases__ sometimes exists on <3.12, but not consistently,
|
|
955
|
+
# so we only add it to the stub on 3.12+
|
|
956
|
+
if sys.version_info >= (3, 12):
|
|
957
|
+
__orig_bases__: ClassVar[tuple[Any, ...]]
|
|
958
|
+
|
|
959
|
+
def copy(self) -> typing_extensions.Self: ...
|
|
960
|
+
# Using Never so that only calls using mypy plugin hook that specialize the signature
|
|
961
|
+
# can go through.
|
|
962
|
+
def setdefault(self, k: _Never, default: object) -> object: ...
|
|
963
|
+
# Mypy plugin hook for 'pop' expects that 'default' has a type variable type.
|
|
964
|
+
def pop(
|
|
965
|
+
self, k: _Never, default: _T = ...
|
|
966
|
+
) -> object: ... # pyright: ignore[reportInvalidTypeVarUse]
|
|
967
|
+
def update(self: _T, __m: _T) -> None: ...
|
|
968
|
+
def __delitem__(self, k: _Never) -> None: ...
|
|
969
|
+
def items(self) -> dict_items[str, object]: ...
|
|
970
|
+
def keys(self) -> dict_keys[str, object]: ...
|
|
971
|
+
def values(self) -> dict_values[str, object]: ...
|
|
972
|
+
if sys.version_info >= (3, 9):
|
|
973
|
+
@overload
|
|
974
|
+
def __or__(self, __value: typing_extensions.Self) -> typing_extensions.Self: ...
|
|
975
|
+
@overload
|
|
976
|
+
def __or__(self, __value: dict[str, Any]) -> dict[str, object]: ...
|
|
977
|
+
@overload
|
|
978
|
+
def __ror__(
|
|
979
|
+
self, __value: typing_extensions.Self
|
|
980
|
+
) -> typing_extensions.Self: ...
|
|
981
|
+
@overload
|
|
982
|
+
def __ror__(self, __value: dict[str, Any]) -> dict[str, object]: ...
|
|
983
|
+
# supposedly incompatible definitions of __or__ and __ior__
|
|
984
|
+
def __ior__(self, __value: typing_extensions.Self) -> typing_extensions.Self: ... # type: ignore[misc]
|
|
985
|
+
|
|
986
|
+
@final
|
|
987
|
+
class ForwardRef:
|
|
988
|
+
__forward_arg__: str
|
|
989
|
+
__forward_code__: CodeType
|
|
990
|
+
__forward_evaluated__: bool
|
|
991
|
+
__forward_value__: Any | None
|
|
992
|
+
__forward_is_argument__: bool
|
|
993
|
+
__forward_is_class__: bool
|
|
994
|
+
__forward_module__: Any | None
|
|
995
|
+
if sys.version_info >= (3, 9):
|
|
996
|
+
# The module and is_class arguments were added in later Python 3.9 versions.
|
|
997
|
+
def __init__(
|
|
998
|
+
self,
|
|
999
|
+
arg: str,
|
|
1000
|
+
is_argument: bool = True,
|
|
1001
|
+
module: Any | None = None,
|
|
1002
|
+
*,
|
|
1003
|
+
is_class: bool = False,
|
|
1004
|
+
) -> None: ...
|
|
1005
|
+
else:
|
|
1006
|
+
def __init__(self, arg: str, is_argument: bool = True) -> None: ...
|
|
1007
|
+
|
|
1008
|
+
if sys.version_info >= (3, 9):
|
|
1009
|
+
def _evaluate(
|
|
1010
|
+
self,
|
|
1011
|
+
globalns: dict[str, Any] | None,
|
|
1012
|
+
localns: dict[str, Any] | None,
|
|
1013
|
+
recursive_guard: frozenset[str],
|
|
1014
|
+
) -> Any | None: ...
|
|
1015
|
+
else:
|
|
1016
|
+
def _evaluate(
|
|
1017
|
+
self, globalns: dict[str, Any] | None, localns: dict[str, Any] | None
|
|
1018
|
+
) -> Any | None: ...
|
|
1019
|
+
|
|
1020
|
+
def __eq__(self, other: object) -> bool: ...
|
|
1021
|
+
def __hash__(self) -> int: ...
|
|
1022
|
+
if sys.version_info >= (3, 11):
|
|
1023
|
+
def __or__(self, other: Any) -> _SpecialForm: ...
|
|
1024
|
+
def __ror__(self, other: Any) -> _SpecialForm: ...
|
|
1025
|
+
|
|
1026
|
+
if sys.version_info >= (3, 10):
|
|
1027
|
+
def is_typeddict(tp: object) -> bool: ...
|
|
1028
|
+
|
|
1029
|
+
def _type_repr(obj: object) -> str: ...
|
|
1030
|
+
|
|
1031
|
+
if sys.version_info >= (3, 12):
|
|
1032
|
+
def override(__method: _F) -> _F: ...
|
|
1033
|
+
@final
|
|
1034
|
+
class TypeAliasType:
|
|
1035
|
+
def __init__(
|
|
1036
|
+
self,
|
|
1037
|
+
name: str,
|
|
1038
|
+
value: Any,
|
|
1039
|
+
*,
|
|
1040
|
+
type_params: tuple[TypeVar | ParamSpec | TypeVarTuple, ...] = (),
|
|
1041
|
+
) -> None: ...
|
|
1042
|
+
@property
|
|
1043
|
+
def __value__(self) -> Any: ...
|
|
1044
|
+
@property
|
|
1045
|
+
def __type_params__(self) -> tuple[TypeVar | ParamSpec | TypeVarTuple, ...]: ...
|
|
1046
|
+
@property
|
|
1047
|
+
def __parameters__(self) -> tuple[Any, ...]: ...
|
|
1048
|
+
@property
|
|
1049
|
+
def __name__(self) -> str: ...
|
|
1050
|
+
# It's writable on types, but not on instances of TypeAliasType.
|
|
1051
|
+
@property
|
|
1052
|
+
def __module__(self) -> str | None: ... # type: ignore[override]
|
|
1053
|
+
def __getitem__(self, parameters: Any) -> Any: ...
|
|
1054
|
+
def __or__(self, right: Any) -> _SpecialForm: ...
|
|
1055
|
+
def __ror__(self, left: Any) -> _SpecialForm: ...
|
|
1056
|
+
|
|
1057
|
+
if sys.version_info >= (3, 13):
|
|
1058
|
+
def is_protocol(__tp: type) -> bool: ...
|
|
1059
|
+
def get_protocol_members(__tp: type) -> frozenset[str]: ...
|