jaclang 0.6.1__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/compiler/.gitignore +1 -0
- 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/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/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/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/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.1.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.1.dist-info/METADATA +0 -17
- jaclang-0.6.1.dist-info/RECORD +0 -430
- jaclang-0.6.1.dist-info/entry_points.txt +0 -2
- jaclang-0.6.1.dist-info/top_level.txt +0 -1
- /jaclang/{compiler/generated/__init__.py → vendor/mypy/typeshed/stdlib/concurrent/__init__.pyi} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#include <Python.h>
|
|
2
|
+
|
|
3
|
+
PyMODINIT_FUNC
|
|
4
|
+
PyInit_{modname}(void)
|
|
5
|
+
{{
|
|
6
|
+
PyObject *tmp;
|
|
7
|
+
if (!(tmp = PyImport_ImportModule("{libname}"))) return NULL;
|
|
8
|
+
Py_DECREF(tmp);
|
|
9
|
+
void *init_func = PyCapsule_Import("{libname}.init_{full_modname}", 0);
|
|
10
|
+
if (!init_func) {{
|
|
11
|
+
return NULL;
|
|
12
|
+
}}
|
|
13
|
+
return ((PyObject *(*)(void))init_func)();
|
|
14
|
+
}}
|
|
15
|
+
|
|
16
|
+
// distutils sometimes spuriously tells cl to export CPyInit___init__,
|
|
17
|
+
// so provide that so it chills out
|
|
18
|
+
PyMODINIT_FUNC PyInit___init__(void) {{ return PyInit_{modname}(); }}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
#ifndef MYPYC_UTIL_H
|
|
2
|
+
#define MYPYC_UTIL_H
|
|
3
|
+
|
|
4
|
+
#include <Python.h>
|
|
5
|
+
#include <frameobject.h>
|
|
6
|
+
#include <assert.h>
|
|
7
|
+
|
|
8
|
+
#if defined(__clang__) || defined(__GNUC__)
|
|
9
|
+
#define likely(x) __builtin_expect((x),1)
|
|
10
|
+
#define unlikely(x) __builtin_expect((x),0)
|
|
11
|
+
#define CPy_Unreachable() __builtin_unreachable()
|
|
12
|
+
#else
|
|
13
|
+
#define likely(x) (x)
|
|
14
|
+
#define unlikely(x) (x)
|
|
15
|
+
#define CPy_Unreachable() abort()
|
|
16
|
+
#endif
|
|
17
|
+
|
|
18
|
+
#if defined(__clang__) || defined(__GNUC__)
|
|
19
|
+
#define CPy_NOINLINE __attribute__((noinline))
|
|
20
|
+
#elif defined(_MSC_VER)
|
|
21
|
+
#define CPy_NOINLINE __declspec(noinline)
|
|
22
|
+
#else
|
|
23
|
+
#define CPy_NOINLINE
|
|
24
|
+
#endif
|
|
25
|
+
|
|
26
|
+
// INCREF and DECREF that assert the pointer is not NULL.
|
|
27
|
+
// asserts are disabled in release builds so there shouldn't be a perf hit.
|
|
28
|
+
// I'm honestly kind of surprised that this isn't done by default.
|
|
29
|
+
#define CPy_INCREF(p) do { assert(p); Py_INCREF(p); } while (0)
|
|
30
|
+
#define CPy_DECREF(p) do { assert(p); Py_DECREF(p); } while (0)
|
|
31
|
+
// Here just for consistency
|
|
32
|
+
#define CPy_XDECREF(p) Py_XDECREF(p)
|
|
33
|
+
|
|
34
|
+
// Tagged integer -- our representation of Python 'int' objects.
|
|
35
|
+
// Small enough integers are represented as unboxed integers (shifted
|
|
36
|
+
// left by 1); larger integers (larger than 63 bits on a 64-bit
|
|
37
|
+
// platform) are stored as a tagged pointer (PyObject *)
|
|
38
|
+
// representing a Python int object, with the lowest bit set.
|
|
39
|
+
// Tagged integers are always normalized. A small integer *must not*
|
|
40
|
+
// have the tag bit set.
|
|
41
|
+
typedef size_t CPyTagged;
|
|
42
|
+
|
|
43
|
+
typedef size_t CPyPtr;
|
|
44
|
+
|
|
45
|
+
#define CPY_INT_BITS (CHAR_BIT * sizeof(CPyTagged))
|
|
46
|
+
|
|
47
|
+
#define CPY_TAGGED_MAX (((Py_ssize_t)1 << (CPY_INT_BITS - 2)) - 1)
|
|
48
|
+
#define CPY_TAGGED_MIN (-((Py_ssize_t)1 << (CPY_INT_BITS - 2)))
|
|
49
|
+
#define CPY_TAGGED_ABS_MIN (0-(size_t)CPY_TAGGED_MIN)
|
|
50
|
+
|
|
51
|
+
typedef PyObject CPyModule;
|
|
52
|
+
|
|
53
|
+
// Tag bit used for long integers
|
|
54
|
+
#define CPY_INT_TAG 1
|
|
55
|
+
|
|
56
|
+
// Error value for signed fixed-width (low-level) integers
|
|
57
|
+
#define CPY_LL_INT_ERROR -113
|
|
58
|
+
|
|
59
|
+
// Error value for unsigned fixed-width (low-level) integers
|
|
60
|
+
#define CPY_LL_UINT_ERROR 239
|
|
61
|
+
|
|
62
|
+
// Error value for floats
|
|
63
|
+
#define CPY_FLOAT_ERROR -113.0
|
|
64
|
+
|
|
65
|
+
typedef void (*CPyVTableItem)(void);
|
|
66
|
+
|
|
67
|
+
static inline CPyTagged CPyTagged_ShortFromInt(int x) {
|
|
68
|
+
return x << 1;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static inline CPyTagged CPyTagged_ShortFromSsize_t(Py_ssize_t x) {
|
|
72
|
+
return x << 1;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// Are we targeting Python 3.12 or newer?
|
|
76
|
+
#define CPY_3_12_FEATURES (PY_VERSION_HEX >= 0x030c0000)
|
|
77
|
+
|
|
78
|
+
#if CPY_3_12_FEATURES
|
|
79
|
+
|
|
80
|
+
// Same as macros in CPython internal/pycore_long.h, but with a CPY_ prefix
|
|
81
|
+
#define CPY_NON_SIZE_BITS 3
|
|
82
|
+
#define CPY_SIGN_ZERO 1
|
|
83
|
+
#define CPY_SIGN_NEGATIVE 2
|
|
84
|
+
#define CPY_SIGN_MASK 3
|
|
85
|
+
|
|
86
|
+
#define CPY_LONG_DIGIT(o, n) ((o)->long_value.ob_digit[n])
|
|
87
|
+
|
|
88
|
+
// Only available on Python 3.12 and later
|
|
89
|
+
#define CPY_LONG_TAG(o) ((o)->long_value.lv_tag)
|
|
90
|
+
#define CPY_LONG_IS_NEGATIVE(o) (((o)->long_value.lv_tag & CPY_SIGN_MASK) == CPY_SIGN_NEGATIVE)
|
|
91
|
+
// Only available on Python 3.12 and later
|
|
92
|
+
#define CPY_LONG_SIZE(o) ((o)->long_value.lv_tag >> CPY_NON_SIZE_BITS)
|
|
93
|
+
// Number of digits; negative for negative ints
|
|
94
|
+
#define CPY_LONG_SIZE_SIGNED(o) (CPY_LONG_IS_NEGATIVE(o) ? -CPY_LONG_SIZE(o) : CPY_LONG_SIZE(o))
|
|
95
|
+
// Number of digits, assuming int is non-negative
|
|
96
|
+
#define CPY_LONG_SIZE_UNSIGNED(o) CPY_LONG_SIZE(o)
|
|
97
|
+
|
|
98
|
+
static inline void CPyLong_SetUnsignedSize(PyLongObject *o, Py_ssize_t n) {
|
|
99
|
+
if (n == 0)
|
|
100
|
+
o->long_value.lv_tag = CPY_SIGN_ZERO;
|
|
101
|
+
else
|
|
102
|
+
o->long_value.lv_tag = n << CPY_NON_SIZE_BITS;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
#else
|
|
106
|
+
|
|
107
|
+
#define CPY_LONG_DIGIT(o, n) ((o)->ob_digit[n])
|
|
108
|
+
#define CPY_LONG_IS_NEGATIVE(o) (((o)->ob_base.ob_size < 0)
|
|
109
|
+
#define CPY_LONG_SIZE_SIGNED(o) ((o)->ob_base.ob_size)
|
|
110
|
+
#define CPY_LONG_SIZE_UNSIGNED(o) ((o)->ob_base.ob_size)
|
|
111
|
+
|
|
112
|
+
static inline void CPyLong_SetUnsignedSize(PyLongObject *o, Py_ssize_t n) {
|
|
113
|
+
o->ob_base.ob_size = n;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
#endif
|
|
117
|
+
|
|
118
|
+
#endif
|
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
// Header file providing new C API functions to old Python versions.
|
|
2
|
+
//
|
|
3
|
+
// File distributed under the Zero Clause BSD (0BSD) license.
|
|
4
|
+
// Copyright Contributors to the pythoncapi_compat project.
|
|
5
|
+
//
|
|
6
|
+
// Homepage:
|
|
7
|
+
// https://github.com/python/pythoncapi_compat
|
|
8
|
+
//
|
|
9
|
+
// Latest version:
|
|
10
|
+
// https://raw.githubusercontent.com/python/pythoncapi_compat/master/pythoncapi_compat.h
|
|
11
|
+
//
|
|
12
|
+
// SPDX-License-Identifier: 0BSD
|
|
13
|
+
|
|
14
|
+
#ifndef PYTHONCAPI_COMPAT
|
|
15
|
+
#define PYTHONCAPI_COMPAT
|
|
16
|
+
|
|
17
|
+
#ifdef __cplusplus
|
|
18
|
+
extern "C" {
|
|
19
|
+
#endif
|
|
20
|
+
|
|
21
|
+
#include <Python.h>
|
|
22
|
+
#include "frameobject.h" // PyFrameObject, PyFrame_GetBack()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
// Compatibility with Visual Studio 2013 and older which don't support
|
|
26
|
+
// the inline keyword in C (only in C++): use __inline instead.
|
|
27
|
+
#if (defined(_MSC_VER) && _MSC_VER < 1900 \
|
|
28
|
+
&& !defined(__cplusplus) && !defined(inline))
|
|
29
|
+
# define PYCAPI_COMPAT_STATIC_INLINE(TYPE) static __inline TYPE
|
|
30
|
+
#else
|
|
31
|
+
# define PYCAPI_COMPAT_STATIC_INLINE(TYPE) static inline TYPE
|
|
32
|
+
#endif
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
// C++ compatibility: _Py_CAST() and _Py_NULL
|
|
36
|
+
#ifndef _Py_CAST
|
|
37
|
+
# ifdef __cplusplus
|
|
38
|
+
# define _Py_CAST(type, expr) \
|
|
39
|
+
const_cast<type>(reinterpret_cast<const type>(expr))
|
|
40
|
+
# else
|
|
41
|
+
# define _Py_CAST(type, expr) ((type)(expr))
|
|
42
|
+
# endif
|
|
43
|
+
#endif
|
|
44
|
+
#ifndef _Py_NULL
|
|
45
|
+
# ifdef __cplusplus
|
|
46
|
+
# define _Py_NULL nullptr
|
|
47
|
+
# else
|
|
48
|
+
# define _Py_NULL NULL
|
|
49
|
+
# endif
|
|
50
|
+
#endif
|
|
51
|
+
|
|
52
|
+
// Cast argument to PyObject* type.
|
|
53
|
+
#ifndef _PyObject_CAST
|
|
54
|
+
# define _PyObject_CAST(op) _Py_CAST(PyObject*, op)
|
|
55
|
+
#endif
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
// bpo-42262 added Py_NewRef() to Python 3.10.0a3
|
|
59
|
+
#if PY_VERSION_HEX < 0x030A00A3 && !defined(Py_NewRef)
|
|
60
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyObject*)
|
|
61
|
+
_Py_NewRef(PyObject *obj)
|
|
62
|
+
{
|
|
63
|
+
Py_INCREF(obj);
|
|
64
|
+
return obj;
|
|
65
|
+
}
|
|
66
|
+
#define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
|
|
67
|
+
#endif
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
// bpo-42262 added Py_XNewRef() to Python 3.10.0a3
|
|
71
|
+
#if PY_VERSION_HEX < 0x030A00A3 && !defined(Py_XNewRef)
|
|
72
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyObject*)
|
|
73
|
+
_Py_XNewRef(PyObject *obj)
|
|
74
|
+
{
|
|
75
|
+
Py_XINCREF(obj);
|
|
76
|
+
return obj;
|
|
77
|
+
}
|
|
78
|
+
#define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
|
|
79
|
+
#endif
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
// bpo-39573 added Py_SET_REFCNT() to Python 3.9.0a4
|
|
83
|
+
#if PY_VERSION_HEX < 0x030900A4 && !defined(Py_SET_REFCNT)
|
|
84
|
+
PYCAPI_COMPAT_STATIC_INLINE(void)
|
|
85
|
+
_Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt)
|
|
86
|
+
{
|
|
87
|
+
ob->ob_refcnt = refcnt;
|
|
88
|
+
}
|
|
89
|
+
#define Py_SET_REFCNT(ob, refcnt) _Py_SET_REFCNT(_PyObject_CAST(ob), refcnt)
|
|
90
|
+
#endif
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
// Py_SETREF() and Py_XSETREF() were added to Python 3.5.2.
|
|
94
|
+
// It is excluded from the limited C API.
|
|
95
|
+
#if (PY_VERSION_HEX < 0x03050200 && !defined(Py_SETREF)) && !defined(Py_LIMITED_API)
|
|
96
|
+
#define Py_SETREF(op, op2) \
|
|
97
|
+
do { \
|
|
98
|
+
PyObject *_py_tmp = _PyObject_CAST(op); \
|
|
99
|
+
(op) = (op2); \
|
|
100
|
+
Py_DECREF(_py_tmp); \
|
|
101
|
+
} while (0)
|
|
102
|
+
|
|
103
|
+
#define Py_XSETREF(op, op2) \
|
|
104
|
+
do { \
|
|
105
|
+
PyObject *_py_tmp = _PyObject_CAST(op); \
|
|
106
|
+
(op) = (op2); \
|
|
107
|
+
Py_XDECREF(_py_tmp); \
|
|
108
|
+
} while (0)
|
|
109
|
+
#endif
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
// bpo-43753 added Py_Is(), Py_IsNone(), Py_IsTrue() and Py_IsFalse()
|
|
113
|
+
// to Python 3.10.0b1.
|
|
114
|
+
#if PY_VERSION_HEX < 0x030A00B1 && !defined(Py_Is)
|
|
115
|
+
# define Py_Is(x, y) ((x) == (y))
|
|
116
|
+
#endif
|
|
117
|
+
#if PY_VERSION_HEX < 0x030A00B1 && !defined(Py_IsNone)
|
|
118
|
+
# define Py_IsNone(x) Py_Is(x, Py_None)
|
|
119
|
+
#endif
|
|
120
|
+
#if PY_VERSION_HEX < 0x030A00B1 && !defined(Py_IsTrue)
|
|
121
|
+
# define Py_IsTrue(x) Py_Is(x, Py_True)
|
|
122
|
+
#endif
|
|
123
|
+
#if PY_VERSION_HEX < 0x030A00B1 && !defined(Py_IsFalse)
|
|
124
|
+
# define Py_IsFalse(x) Py_Is(x, Py_False)
|
|
125
|
+
#endif
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
// bpo-39573 added Py_SET_TYPE() to Python 3.9.0a4
|
|
129
|
+
#if PY_VERSION_HEX < 0x030900A4 && !defined(Py_SET_TYPE)
|
|
130
|
+
PYCAPI_COMPAT_STATIC_INLINE(void)
|
|
131
|
+
_Py_SET_TYPE(PyObject *ob, PyTypeObject *type)
|
|
132
|
+
{
|
|
133
|
+
ob->ob_type = type;
|
|
134
|
+
}
|
|
135
|
+
#define Py_SET_TYPE(ob, type) _Py_SET_TYPE(_PyObject_CAST(ob), type)
|
|
136
|
+
#endif
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
// bpo-39573 added Py_SET_SIZE() to Python 3.9.0a4
|
|
140
|
+
#if PY_VERSION_HEX < 0x030900A4 && !defined(Py_SET_SIZE)
|
|
141
|
+
PYCAPI_COMPAT_STATIC_INLINE(void)
|
|
142
|
+
_Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size)
|
|
143
|
+
{
|
|
144
|
+
ob->ob_size = size;
|
|
145
|
+
}
|
|
146
|
+
#define Py_SET_SIZE(ob, size) _Py_SET_SIZE((PyVarObject*)(ob), size)
|
|
147
|
+
#endif
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
// bpo-40421 added PyFrame_GetCode() to Python 3.9.0b1
|
|
151
|
+
#if PY_VERSION_HEX < 0x030900B1
|
|
152
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyCodeObject*)
|
|
153
|
+
PyFrame_GetCode(PyFrameObject *frame)
|
|
154
|
+
{
|
|
155
|
+
assert(frame != _Py_NULL);
|
|
156
|
+
assert(frame->f_code != _Py_NULL);
|
|
157
|
+
return _Py_CAST(PyCodeObject*, Py_NewRef(frame->f_code));
|
|
158
|
+
}
|
|
159
|
+
#endif
|
|
160
|
+
|
|
161
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyCodeObject*)
|
|
162
|
+
_PyFrame_GetCodeBorrow(PyFrameObject *frame)
|
|
163
|
+
{
|
|
164
|
+
PyCodeObject *code = PyFrame_GetCode(frame);
|
|
165
|
+
Py_DECREF(code);
|
|
166
|
+
return code;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
// bpo-40421 added PyFrame_GetBack() to Python 3.9.0b1
|
|
171
|
+
#if PY_VERSION_HEX < 0x030900B1 && !defined(PYPY_VERSION)
|
|
172
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyFrameObject*)
|
|
173
|
+
PyFrame_GetBack(PyFrameObject *frame)
|
|
174
|
+
{
|
|
175
|
+
assert(frame != _Py_NULL);
|
|
176
|
+
return _Py_CAST(PyFrameObject*, Py_XNewRef(frame->f_back));
|
|
177
|
+
}
|
|
178
|
+
#endif
|
|
179
|
+
|
|
180
|
+
#if !defined(PYPY_VERSION)
|
|
181
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyFrameObject*)
|
|
182
|
+
_PyFrame_GetBackBorrow(PyFrameObject *frame)
|
|
183
|
+
{
|
|
184
|
+
PyFrameObject *back = PyFrame_GetBack(frame);
|
|
185
|
+
Py_XDECREF(back);
|
|
186
|
+
return back;
|
|
187
|
+
}
|
|
188
|
+
#endif
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
// bpo-40421 added PyFrame_GetLocals() to Python 3.11.0a7
|
|
192
|
+
#if PY_VERSION_HEX < 0x030B00A7 && !defined(PYPY_VERSION)
|
|
193
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyObject*)
|
|
194
|
+
PyFrame_GetLocals(PyFrameObject *frame)
|
|
195
|
+
{
|
|
196
|
+
#if PY_VERSION_HEX >= 0x030400B1
|
|
197
|
+
if (PyFrame_FastToLocalsWithError(frame) < 0) {
|
|
198
|
+
return NULL;
|
|
199
|
+
}
|
|
200
|
+
#else
|
|
201
|
+
PyFrame_FastToLocals(frame);
|
|
202
|
+
#endif
|
|
203
|
+
return Py_NewRef(frame->f_locals);
|
|
204
|
+
}
|
|
205
|
+
#endif
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
// bpo-40421 added PyFrame_GetGlobals() to Python 3.11.0a7
|
|
209
|
+
#if PY_VERSION_HEX < 0x030B00A7 && !defined(PYPY_VERSION)
|
|
210
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyObject*)
|
|
211
|
+
PyFrame_GetGlobals(PyFrameObject *frame)
|
|
212
|
+
{
|
|
213
|
+
return Py_NewRef(frame->f_globals);
|
|
214
|
+
}
|
|
215
|
+
#endif
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
// bpo-40421 added PyFrame_GetBuiltins() to Python 3.11.0a7
|
|
219
|
+
#if PY_VERSION_HEX < 0x030B00A7 && !defined(PYPY_VERSION)
|
|
220
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyObject*)
|
|
221
|
+
PyFrame_GetBuiltins(PyFrameObject *frame)
|
|
222
|
+
{
|
|
223
|
+
return Py_NewRef(frame->f_builtins);
|
|
224
|
+
}
|
|
225
|
+
#endif
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
// bpo-40421 added PyFrame_GetLasti() to Python 3.11.0b1
|
|
229
|
+
#if PY_VERSION_HEX < 0x030B00B1 && !defined(PYPY_VERSION)
|
|
230
|
+
PYCAPI_COMPAT_STATIC_INLINE(int)
|
|
231
|
+
PyFrame_GetLasti(PyFrameObject *frame)
|
|
232
|
+
{
|
|
233
|
+
#if PY_VERSION_HEX >= 0x030A00A7
|
|
234
|
+
// bpo-27129: Since Python 3.10.0a7, f_lasti is an instruction offset,
|
|
235
|
+
// not a bytes offset anymore. Python uses 16-bit "wordcode" (2 bytes)
|
|
236
|
+
// instructions.
|
|
237
|
+
if (frame->f_lasti < 0) {
|
|
238
|
+
return -1;
|
|
239
|
+
}
|
|
240
|
+
return frame->f_lasti * 2;
|
|
241
|
+
#else
|
|
242
|
+
return frame->f_lasti;
|
|
243
|
+
#endif
|
|
244
|
+
}
|
|
245
|
+
#endif
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
// bpo-39947 added PyThreadState_GetInterpreter() to Python 3.9.0a5
|
|
249
|
+
#if PY_VERSION_HEX < 0x030900A5
|
|
250
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyInterpreterState *)
|
|
251
|
+
PyThreadState_GetInterpreter(PyThreadState *tstate)
|
|
252
|
+
{
|
|
253
|
+
assert(tstate != _Py_NULL);
|
|
254
|
+
return tstate->interp;
|
|
255
|
+
}
|
|
256
|
+
#endif
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
// bpo-40429 added PyThreadState_GetFrame() to Python 3.9.0b1
|
|
260
|
+
#if PY_VERSION_HEX < 0x030900B1 && !defined(PYPY_VERSION)
|
|
261
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyFrameObject*)
|
|
262
|
+
PyThreadState_GetFrame(PyThreadState *tstate)
|
|
263
|
+
{
|
|
264
|
+
assert(tstate != _Py_NULL);
|
|
265
|
+
return _Py_CAST(PyFrameObject *, Py_XNewRef(tstate->frame));
|
|
266
|
+
}
|
|
267
|
+
#endif
|
|
268
|
+
|
|
269
|
+
#if !defined(PYPY_VERSION)
|
|
270
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyFrameObject*)
|
|
271
|
+
_PyThreadState_GetFrameBorrow(PyThreadState *tstate)
|
|
272
|
+
{
|
|
273
|
+
PyFrameObject *frame = PyThreadState_GetFrame(tstate);
|
|
274
|
+
Py_XDECREF(frame);
|
|
275
|
+
return frame;
|
|
276
|
+
}
|
|
277
|
+
#endif
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
// bpo-39947 added PyInterpreterState_Get() to Python 3.9.0a5
|
|
281
|
+
#if PY_VERSION_HEX < 0x030900A5
|
|
282
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyInterpreterState*)
|
|
283
|
+
PyInterpreterState_Get(void)
|
|
284
|
+
{
|
|
285
|
+
PyThreadState *tstate;
|
|
286
|
+
PyInterpreterState *interp;
|
|
287
|
+
|
|
288
|
+
tstate = PyThreadState_GET();
|
|
289
|
+
if (tstate == _Py_NULL) {
|
|
290
|
+
Py_FatalError("GIL released (tstate is NULL)");
|
|
291
|
+
}
|
|
292
|
+
interp = tstate->interp;
|
|
293
|
+
if (interp == _Py_NULL) {
|
|
294
|
+
Py_FatalError("no current interpreter");
|
|
295
|
+
}
|
|
296
|
+
return interp;
|
|
297
|
+
}
|
|
298
|
+
#endif
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
// bpo-39947 added PyInterpreterState_Get() to Python 3.9.0a6
|
|
302
|
+
#if 0x030700A1 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x030900A6 && !defined(PYPY_VERSION)
|
|
303
|
+
PYCAPI_COMPAT_STATIC_INLINE(uint64_t)
|
|
304
|
+
PyThreadState_GetID(PyThreadState *tstate)
|
|
305
|
+
{
|
|
306
|
+
assert(tstate != _Py_NULL);
|
|
307
|
+
return tstate->id;
|
|
308
|
+
}
|
|
309
|
+
#endif
|
|
310
|
+
|
|
311
|
+
// bpo-43760 added PyThreadState_EnterTracing() to Python 3.11.0a2
|
|
312
|
+
#if PY_VERSION_HEX < 0x030B00A2 && !defined(PYPY_VERSION)
|
|
313
|
+
PYCAPI_COMPAT_STATIC_INLINE(void)
|
|
314
|
+
PyThreadState_EnterTracing(PyThreadState *tstate)
|
|
315
|
+
{
|
|
316
|
+
tstate->tracing++;
|
|
317
|
+
#if PY_VERSION_HEX >= 0x030A00A1
|
|
318
|
+
tstate->cframe->use_tracing = 0;
|
|
319
|
+
#else
|
|
320
|
+
tstate->use_tracing = 0;
|
|
321
|
+
#endif
|
|
322
|
+
}
|
|
323
|
+
#endif
|
|
324
|
+
|
|
325
|
+
// bpo-43760 added PyThreadState_LeaveTracing() to Python 3.11.0a2
|
|
326
|
+
#if PY_VERSION_HEX < 0x030B00A2 && !defined(PYPY_VERSION)
|
|
327
|
+
PYCAPI_COMPAT_STATIC_INLINE(void)
|
|
328
|
+
PyThreadState_LeaveTracing(PyThreadState *tstate)
|
|
329
|
+
{
|
|
330
|
+
int use_tracing = (tstate->c_tracefunc != _Py_NULL
|
|
331
|
+
|| tstate->c_profilefunc != _Py_NULL);
|
|
332
|
+
tstate->tracing--;
|
|
333
|
+
#if PY_VERSION_HEX >= 0x030A00A1
|
|
334
|
+
tstate->cframe->use_tracing = use_tracing;
|
|
335
|
+
#else
|
|
336
|
+
tstate->use_tracing = use_tracing;
|
|
337
|
+
#endif
|
|
338
|
+
}
|
|
339
|
+
#endif
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
// bpo-37194 added PyObject_CallNoArgs() to Python 3.9.0a1
|
|
343
|
+
#if PY_VERSION_HEX < 0x030900A1
|
|
344
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyObject*)
|
|
345
|
+
PyObject_CallNoArgs(PyObject *func)
|
|
346
|
+
{
|
|
347
|
+
return PyObject_CallFunctionObjArgs(func, NULL);
|
|
348
|
+
}
|
|
349
|
+
#endif
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
// bpo-39245 made PyObject_CallOneArg() public (previously called
|
|
353
|
+
// _PyObject_CallOneArg) in Python 3.9.0a4
|
|
354
|
+
#if PY_VERSION_HEX < 0x030900A4
|
|
355
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyObject*)
|
|
356
|
+
PyObject_CallOneArg(PyObject *func, PyObject *arg)
|
|
357
|
+
{
|
|
358
|
+
return PyObject_CallFunctionObjArgs(func, arg, NULL);
|
|
359
|
+
}
|
|
360
|
+
#endif
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
// bpo-1635741 added PyModule_AddObjectRef() to Python 3.10.0a3
|
|
364
|
+
#if PY_VERSION_HEX < 0x030A00A3
|
|
365
|
+
PYCAPI_COMPAT_STATIC_INLINE(int)
|
|
366
|
+
PyModule_AddObjectRef(PyObject *module, const char *name, PyObject *value)
|
|
367
|
+
{
|
|
368
|
+
int res;
|
|
369
|
+
Py_XINCREF(value);
|
|
370
|
+
res = PyModule_AddObject(module, name, value);
|
|
371
|
+
if (res < 0) {
|
|
372
|
+
Py_XDECREF(value);
|
|
373
|
+
}
|
|
374
|
+
return res;
|
|
375
|
+
}
|
|
376
|
+
#endif
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
// bpo-40024 added PyModule_AddType() to Python 3.9.0a5
|
|
380
|
+
#if PY_VERSION_HEX < 0x030900A5
|
|
381
|
+
PYCAPI_COMPAT_STATIC_INLINE(int)
|
|
382
|
+
PyModule_AddType(PyObject *module, PyTypeObject *type)
|
|
383
|
+
{
|
|
384
|
+
const char *name, *dot;
|
|
385
|
+
|
|
386
|
+
if (PyType_Ready(type) < 0) {
|
|
387
|
+
return -1;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
// inline _PyType_Name()
|
|
391
|
+
name = type->tp_name;
|
|
392
|
+
assert(name != _Py_NULL);
|
|
393
|
+
dot = strrchr(name, '.');
|
|
394
|
+
if (dot != _Py_NULL) {
|
|
395
|
+
name = dot + 1;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
return PyModule_AddObjectRef(module, name, _PyObject_CAST(type));
|
|
399
|
+
}
|
|
400
|
+
#endif
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
// bpo-40241 added PyObject_GC_IsTracked() to Python 3.9.0a6.
|
|
404
|
+
// bpo-4688 added _PyObject_GC_IS_TRACKED() to Python 2.7.0a2.
|
|
405
|
+
#if PY_VERSION_HEX < 0x030900A6 && !defined(PYPY_VERSION)
|
|
406
|
+
PYCAPI_COMPAT_STATIC_INLINE(int)
|
|
407
|
+
PyObject_GC_IsTracked(PyObject* obj)
|
|
408
|
+
{
|
|
409
|
+
return (PyObject_IS_GC(obj) && _PyObject_GC_IS_TRACKED(obj));
|
|
410
|
+
}
|
|
411
|
+
#endif
|
|
412
|
+
|
|
413
|
+
// bpo-40241 added PyObject_GC_IsFinalized() to Python 3.9.0a6.
|
|
414
|
+
// bpo-18112 added _PyGCHead_FINALIZED() to Python 3.4.0 final.
|
|
415
|
+
#if PY_VERSION_HEX < 0x030900A6 && PY_VERSION_HEX >= 0x030400F0 && !defined(PYPY_VERSION)
|
|
416
|
+
PYCAPI_COMPAT_STATIC_INLINE(int)
|
|
417
|
+
PyObject_GC_IsFinalized(PyObject *obj)
|
|
418
|
+
{
|
|
419
|
+
PyGC_Head *gc = _Py_CAST(PyGC_Head*, obj) - 1;
|
|
420
|
+
return (PyObject_IS_GC(obj) && _PyGCHead_FINALIZED(gc));
|
|
421
|
+
}
|
|
422
|
+
#endif
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
// bpo-39573 added Py_IS_TYPE() to Python 3.9.0a4
|
|
426
|
+
#if PY_VERSION_HEX < 0x030900A4 && !defined(Py_IS_TYPE)
|
|
427
|
+
PYCAPI_COMPAT_STATIC_INLINE(int)
|
|
428
|
+
_Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
|
|
429
|
+
return Py_TYPE(ob) == type;
|
|
430
|
+
}
|
|
431
|
+
#define Py_IS_TYPE(ob, type) _Py_IS_TYPE(_PyObject_CAST(ob), type)
|
|
432
|
+
#endif
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
// bpo-46906 added PyFloat_Pack2() and PyFloat_Unpack2() to Python 3.11a7.
|
|
436
|
+
// bpo-11734 added _PyFloat_Pack2() and _PyFloat_Unpack2() to Python 3.6.0b1.
|
|
437
|
+
// Python 3.11a2 moved _PyFloat_Pack2() and _PyFloat_Unpack2() to the internal
|
|
438
|
+
// C API: Python 3.11a2-3.11a6 versions are not supported.
|
|
439
|
+
#if 0x030600B1 <= PY_VERSION_HEX && PY_VERSION_HEX <= 0x030B00A1 && !defined(PYPY_VERSION)
|
|
440
|
+
PYCAPI_COMPAT_STATIC_INLINE(int)
|
|
441
|
+
PyFloat_Pack2(double x, char *p, int le)
|
|
442
|
+
{ return _PyFloat_Pack2(x, (unsigned char*)p, le); }
|
|
443
|
+
|
|
444
|
+
PYCAPI_COMPAT_STATIC_INLINE(double)
|
|
445
|
+
PyFloat_Unpack2(const char *p, int le)
|
|
446
|
+
{ return _PyFloat_Unpack2((const unsigned char *)p, le); }
|
|
447
|
+
#endif
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
// bpo-46906 added PyFloat_Pack4(), PyFloat_Pack8(), PyFloat_Unpack4() and
|
|
451
|
+
// PyFloat_Unpack8() to Python 3.11a7.
|
|
452
|
+
// Python 3.11a2 moved _PyFloat_Pack4(), _PyFloat_Pack8(), _PyFloat_Unpack4()
|
|
453
|
+
// and _PyFloat_Unpack8() to the internal C API: Python 3.11a2-3.11a6 versions
|
|
454
|
+
// are not supported.
|
|
455
|
+
#if PY_VERSION_HEX <= 0x030B00A1 && !defined(PYPY_VERSION)
|
|
456
|
+
PYCAPI_COMPAT_STATIC_INLINE(int)
|
|
457
|
+
PyFloat_Pack4(double x, char *p, int le)
|
|
458
|
+
{ return _PyFloat_Pack4(x, (unsigned char*)p, le); }
|
|
459
|
+
|
|
460
|
+
PYCAPI_COMPAT_STATIC_INLINE(int)
|
|
461
|
+
PyFloat_Pack8(double x, char *p, int le)
|
|
462
|
+
{ return _PyFloat_Pack8(x, (unsigned char*)p, le); }
|
|
463
|
+
|
|
464
|
+
PYCAPI_COMPAT_STATIC_INLINE(double)
|
|
465
|
+
PyFloat_Unpack4(const char *p, int le)
|
|
466
|
+
{ return _PyFloat_Unpack4((const unsigned char *)p, le); }
|
|
467
|
+
|
|
468
|
+
PYCAPI_COMPAT_STATIC_INLINE(double)
|
|
469
|
+
PyFloat_Unpack8(const char *p, int le)
|
|
470
|
+
{ return _PyFloat_Unpack8((const unsigned char *)p, le); }
|
|
471
|
+
#endif
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
// gh-92154 added PyCode_GetCode() to Python 3.11.0b1
|
|
475
|
+
#if PY_VERSION_HEX < 0x030B00B1 && !defined(PYPY_VERSION)
|
|
476
|
+
PYCAPI_COMPAT_STATIC_INLINE(PyObject*)
|
|
477
|
+
PyCode_GetCode(PyCodeObject *code)
|
|
478
|
+
{
|
|
479
|
+
return Py_NewRef(code->co_code);
|
|
480
|
+
}
|
|
481
|
+
#endif
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
// Py_UNUSED() was added to Python 3.4.0b2.
|
|
485
|
+
#if PY_VERSION_HEX < 0x030400B2 && !defined(Py_UNUSED)
|
|
486
|
+
# if defined(__GNUC__) || defined(__clang__)
|
|
487
|
+
# define Py_UNUSED(name) _unused_ ## name __attribute__((unused))
|
|
488
|
+
# else
|
|
489
|
+
# define Py_UNUSED(name) _unused_ ## name
|
|
490
|
+
# endif
|
|
491
|
+
#endif
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
#ifdef __cplusplus
|
|
495
|
+
}
|
|
496
|
+
#endif
|
|
497
|
+
#endif // PYTHONCAPI_COMPAT
|