pytron-kit 0.3.12__py3-none-macosx_11_0_universal2.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.
- pytron/__init__.py +112 -0
- pytron/application.py +562 -0
- pytron/apputils/__init__.py +0 -0
- pytron/apputils/chrome_ipc.py +203 -0
- pytron/apputils/codegen.py +261 -0
- pytron/apputils/config.py +303 -0
- pytron/apputils/deadmansswitch.py +47 -0
- pytron/apputils/extras.py +76 -0
- pytron/apputils/native.py +148 -0
- pytron/apputils/shell.py +73 -0
- pytron/apputils/windows.py +286 -0
- pytron/cli.py +384 -0
- pytron/commands/__init__.py +0 -0
- pytron/commands/android.py +28 -0
- pytron/commands/build.py +26 -0
- pytron/commands/doctor.py +221 -0
- pytron/commands/engine.py +23 -0
- pytron/commands/frontend.py +60 -0
- pytron/commands/harvest.py +112 -0
- pytron/commands/helpers.py +239 -0
- pytron/commands/info.py +50 -0
- pytron/commands/init.py +521 -0
- pytron/commands/install.py +294 -0
- pytron/commands/login.py +130 -0
- pytron/commands/package.py +228 -0
- pytron/commands/plugin.py +442 -0
- pytron/commands/run.py +312 -0
- pytron/commands/scan.py +210 -0
- pytron/commands/show.py +23 -0
- pytron/commands/uninstall.py +150 -0
- pytron/commands/utils.py +42 -0
- pytron/commands/workflow.py +95 -0
- pytron/console.py +133 -0
- pytron/core.py +18 -0
- pytron/dependencies/WebView2Loader.dll +0 -0
- pytron/dependencies/__init__.py +1 -0
- pytron/dependencies/pytron_native.so +0 -0
- pytron/engines/chrome/adapter.py +445 -0
- pytron/engines/chrome/engine.py +576 -0
- pytron/engines/chrome/forge.py +147 -0
- pytron/engines/chrome/shell/package.json +8 -0
- pytron/engines/chrome/shell/preload.js +12 -0
- pytron/engines/chrome/shell/shell.js +534 -0
- pytron/exceptions.py +36 -0
- pytron/inspector.py +201 -0
- pytron/inspector_ui.py +512 -0
- pytron/installer/Installation.nsi +236 -0
- pytron/installer/header.bmp +0 -0
- pytron/installer/pytron.ico +0 -0
- pytron/installer/sidebar.bmp +0 -0
- pytron/llms.md +98 -0
- pytron/manifests/README.md +29 -0
- pytron/manifests/windows-utf8.manifest +44 -0
- pytron/menu.py +128 -0
- pytron/nsis-setup.exe +0 -0
- pytron/pack/__init__.py +0 -0
- pytron/pack/assets.py +131 -0
- pytron/pack/compilers.py +289 -0
- pytron/pack/crystal.py +297 -0
- pytron/pack/graph.py +377 -0
- pytron/pack/inference.py +157 -0
- pytron/pack/installers.py +402 -0
- pytron/pack/introspect.py +357 -0
- pytron/pack/metadata.py +213 -0
- pytron/pack/modules.py +618 -0
- pytron/pack/nuitka.py +108 -0
- pytron/pack/pipeline.py +107 -0
- pytron/pack/pyinstaller.py +176 -0
- pytron/pack/rust_engine.py +273 -0
- pytron/pack/secure.py +309 -0
- pytron/pack/secure_loader/bin/pytron_rust_bootloader +0 -0
- pytron/pack/secure_loader/icon.ico +0 -0
- pytron/pack/utils.py +110 -0
- pytron/pack/virtual_root.py +124 -0
- pytron/platforms/__init__.py +0 -0
- pytron/platforms/android/__init__.py +3 -0
- pytron/platforms/android/android.py +103 -0
- pytron/platforms/android/builder.py +736 -0
- pytron/platforms/android/ops/build.py +79 -0
- pytron/platforms/android/ops/init.py +63 -0
- pytron/platforms/android/ops/run.py +79 -0
- pytron/platforms/android/ops/sync.py +770 -0
- pytron/platforms/android/ops/utils.py +8 -0
- pytron/platforms/android/shell/README.md +30 -0
- pytron/platforms/android/shell/app/build.gradle +64 -0
- pytron/platforms/android/shell/app/src/main/AndroidManifest.xml +29 -0
- pytron/platforms/android/shell/app/src/main/assets/python/main.py +86 -0
- pytron/platforms/android/shell/app/src/main/assets/python/python314.zip +0 -0
- pytron/platforms/android/shell/app/src/main/cpp/CMakeLists.txt +25 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/Python.h +155 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/abstract.h +915 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/audit.h +30 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/bltinmodule.h +14 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/boolobject.h +54 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/bytearrayobject.h +44 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/bytesobject.h +66 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/ceval.h +145 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/codecs.h +176 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/compile.h +22 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/complexobject.h +30 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/abstract.h +104 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/audit.h +8 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/bytearrayobject.h +38 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/bytesobject.h +42 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/cellobject.h +50 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/ceval.h +43 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/classobject.h +71 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/code.h +340 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/compile.h +50 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/complexobject.h +33 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/context.h +107 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/critical_section.h +154 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/descrobject.h +62 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/dictobject.h +105 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/fileobject.h +16 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/fileutils.h +16 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/floatobject.h +27 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/frameobject.h +35 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/funcobject.h +185 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/genobject.h +56 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/import.h +30 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/initconfig.h +334 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/listobject.h +53 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/lock.h +74 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/longintrepr.h +184 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/longobject.h +89 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/memoryobject.h +50 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/methodobject.h +66 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/modsupport.h +26 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/monitoring.h +269 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/object.h +493 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/objimpl.h +104 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/odictobject.h +43 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/picklebufobject.h +31 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pthread_stubs.h +105 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pyatomic.h +614 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pyatomic_gcc.h +615 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pyatomic_msc.h +1197 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pyatomic_std.h +1112 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pyctype.h +39 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pydebug.h +38 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pyerrors.h +132 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pyfpe.h +15 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pyframe.h +45 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pyhash.h +54 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pylifecycle.h +89 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pymem.h +84 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pystate.h +275 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pystats.h +194 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pythonrun.h +96 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pythread.h +43 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/pytime.h +27 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/setobject.h +71 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/traceback.h +13 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/tracemalloc.h +32 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/tupleobject.h +40 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/unicodeobject.h +773 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/warnings.h +20 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/cpython/weakrefobject.h +66 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/critical_section.h +16 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/datetime.h +267 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/descrobject.h +100 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/dictobject.h +108 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/dynamic_annotations.h +499 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/enumobject.h +17 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/errcode.h +45 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/exports.h +105 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/fileobject.h +41 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/fileutils.h +62 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/floatobject.h +54 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/frameobject.h +20 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/genericaliasobject.h +14 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/import.h +103 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/mimalloc/mimalloc/atomic.h +392 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/mimalloc/mimalloc/internal.h +969 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/mimalloc/mimalloc/prim.h +329 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/mimalloc/mimalloc/track.h +147 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/mimalloc/mimalloc/types.h +721 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/mimalloc/mimalloc.h +565 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_abstract.h +61 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_asdl.h +112 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_ast.h +945 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_ast_state.h +271 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_atexit.h +31 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_audit.h +35 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_backoff.h +133 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_bitutils.h +186 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_blocks_output_buffer.h +321 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_brc.h +73 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_bytes_methods.h +82 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_bytesobject.h +149 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_c_array.h +39 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_call.h +206 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_capsule.h +17 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_cell.h +75 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_ceval.h +390 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_ceval_state.h +48 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_code.h +671 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_codecs.h +76 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_compile.h +230 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_complexobject.h +34 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_condvar.h +93 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_context.h +59 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_critical_section.h +237 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_crossinterp.h +406 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_crossinterp_data_registry.h +41 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_debug_offsets.h +379 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_descrobject.h +28 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_dict.h +410 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_dict_state.h +28 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_dtoa.h +40 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_emscripten_signal.h +30 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_emscripten_trampoline.h +70 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_exceptions.h +40 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_faulthandler.h +100 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_fileutils.h +320 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_fileutils_windows.h +98 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_floatobject.h +49 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_flowgraph.h +47 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_format.h +27 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_frame.h +61 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_freelist.h +111 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_freelist_state.h +70 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_function.h +53 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_gc.h +378 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_genobject.h +43 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_getopt.h +22 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_gil.h +66 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_global_objects.h +34 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_global_objects_fini_generated.h +1592 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_global_strings.h +854 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_hamt.h +113 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_hashtable.h +150 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_import.h +141 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_importdl.h +139 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_index_pool.h +36 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_initconfig.h +197 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_instruction_sequence.h +83 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_instruments.h +127 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_interp.h +109 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_interp_structs.h +977 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_interpframe.h +401 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_interpframe_structs.h +95 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_interpolation.h +26 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_intrinsics.h +51 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_jit.h +29 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_list.h +81 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_llist.h +106 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_lock.h +236 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_long.h +319 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_magic_number.h +305 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_memoryobject.h +20 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_mimalloc.h +69 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_modsupport.h +99 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_moduleobject.h +62 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_namespace.h +21 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_object.h +1029 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_object_alloc.h +71 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_object_deferred.h +32 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_object_stack.h +95 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_object_state.h +49 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_obmalloc.h +702 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_obmalloc_init.h +66 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_opcode_metadata.h +2117 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_opcode_utils.h +90 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_optimizer.h +318 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_parking_lot.h +97 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_parser.h +78 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pathconfig.h +26 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pyarena.h +68 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pyatomic_ft_wrappers.h +174 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pybuffer.h +21 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pyerrors.h +213 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pyhash.h +91 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pylifecycle.h +136 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pymath.h +205 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pymem.h +145 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pymem_init.h +103 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pystate.h +339 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pystats.h +21 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pythonrun.h +68 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_pythread.h +172 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_qsbr.h +172 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_range.h +21 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_runtime.h +63 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_runtime_init.h +239 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_runtime_init_generated.h +1589 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_runtime_structs.h +310 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_semaphore.h +67 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_setobject.h +41 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_signal.h +108 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_sliceobject.h +20 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_stackref.h +791 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_stats.h +97 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_strhex.h +39 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_structs.h +88 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_structseq.h +40 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_symtable.h +201 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_sysmodule.h +32 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_template.h +26 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_time.h +334 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_token.h +110 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_traceback.h +111 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_tracemalloc.h +164 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_tstate.h +88 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_tuple.h +75 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_typedefs.h +18 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_typeobject.h +155 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_typevarobject.h +28 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_ucnhash.h +36 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_unicodeobject.h +308 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_unicodeobject_generated.h +3132 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_unionobject.h +26 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_uniqueid.h +57 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_uop_ids.h +335 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_uop_metadata.h +1204 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_warnings.h +21 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/internal/pycore_weakref.h +133 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/intrcheck.h +23 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/iterobject.h +24 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/listobject.h +55 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/lock.h +16 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/longobject.h +178 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/marshal.h +31 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/memoryobject.h +34 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/methodobject.h +146 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/modsupport.h +146 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/moduleobject.h +122 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/monitoring.h +18 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/object.h +828 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/objimpl.h +211 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/opcode.h +43 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/opcode_ids.h +259 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/osdefs.h +57 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/osmodule.h +17 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/patchlevel.h +49 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/py_curses.h +117 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pyatomic.h +16 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pybuffer.h +145 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pycapsule.h +58 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pyconfig.h +2088 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pydtrace.h +59 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pyerrors.h +335 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pyexpat.h +62 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pyframe.h +26 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pyhash.h +59 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pylifecycle.h +80 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pymacconfig.h +91 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pymacro.h +243 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pymath.h +65 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pymem.h +110 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pyport.h +710 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pystate.h +132 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pystats.h +28 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pystrcmp.h +23 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pystrtod.h +37 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pythonrun.h +42 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pythread.h +131 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/pytypedefs.h +30 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/rangeobject.h +27 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/refcount.h +555 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/setobject.h +49 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/sliceobject.h +69 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/structmember.h +56 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/structseq.h +46 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/sysmodule.h +27 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/traceback.h +26 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/tupleobject.h +46 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/typeslots.h +96 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/unicodeobject.h +1029 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/warnings.h +45 -0
- pytron/platforms/android/shell/app/src/main/cpp/include/weakrefobject.h +46 -0
- pytron/platforms/android/shell/app/src/main/cpp/pytron_bridge.cpp +224 -0
- pytron/platforms/android/shell/app/src/main/java/com/pytron/shell/MainActivity.kt +208 -0
- pytron/platforms/android/shell/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- pytron/platforms/android/shell/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- pytron/platforms/android/shell/build.gradle +11 -0
- pytron/platforms/android/shell/gradle/wrapper/gradle-wrapper.jar +0 -0
- pytron/platforms/android/shell/gradle/wrapper/gradle-wrapper.properties +5 -0
- pytron/platforms/android/shell/gradle.properties +2 -0
- pytron/platforms/android/shell/gradlew.bat +85 -0
- pytron/platforms/android/shell/settings.gradle +16 -0
- pytron/platforms/darwin.py +82 -0
- pytron/platforms/darwin_ops/libs.py +31 -0
- pytron/platforms/darwin_ops/system.py +182 -0
- pytron/platforms/darwin_ops/utils.py +85 -0
- pytron/platforms/darwin_ops/webview.py +5 -0
- pytron/platforms/darwin_ops/window.py +102 -0
- pytron/platforms/interface.py +152 -0
- pytron/platforms/linux.py +82 -0
- pytron/platforms/linux_ops/libs.py +49 -0
- pytron/platforms/linux_ops/system.py +316 -0
- pytron/platforms/linux_ops/utils.py +19 -0
- pytron/platforms/linux_ops/webview.py +5 -0
- pytron/platforms/linux_ops/window.py +115 -0
- pytron/platforms/windows.py +136 -0
- pytron/platforms/windows_ops/__init__.py +0 -0
- pytron/platforms/windows_ops/constants.py +126 -0
- pytron/platforms/windows_ops/system.py +518 -0
- pytron/platforms/windows_ops/utils.py +3 -0
- pytron/platforms/windows_ops/webview.py +5 -0
- pytron/platforms/windows_ops/window.py +361 -0
- pytron/plugin.py +467 -0
- pytron/rcedit-x64.exe +0 -0
- pytron/router.py +146 -0
- pytron/serializer.py +240 -0
- pytron/shortcuts.py +279 -0
- pytron/state.py +76 -0
- pytron/tray.py +399 -0
- pytron/updater.py +181 -0
- pytron/utf8_hook.py +112 -0
- pytron/utils.py +44 -0
- pytron/webview.py +722 -0
- pytron_kit-0.3.12.dist-info/METADATA +131 -0
- pytron_kit-0.3.12.dist-info/RECORD +419 -0
- pytron_kit-0.3.12.dist-info/WHEEL +5 -0
- pytron_kit-0.3.12.dist-info/entry_points.txt +2 -0
- pytron_kit-0.3.12.dist-info/licenses/LICENSE +201 -0
- pytron_kit-0.3.12.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1204 @@
|
|
|
1
|
+
// This file is generated by Tools/cases_generator/uop_metadata_generator.py
|
|
2
|
+
// from:
|
|
3
|
+
// Python/bytecodes.c
|
|
4
|
+
// Do not edit!
|
|
5
|
+
|
|
6
|
+
#ifndef Py_CORE_UOP_METADATA_H
|
|
7
|
+
#define Py_CORE_UOP_METADATA_H
|
|
8
|
+
#ifdef __cplusplus
|
|
9
|
+
extern "C" {
|
|
10
|
+
#endif
|
|
11
|
+
|
|
12
|
+
#include <stdint.h>
|
|
13
|
+
#include "pycore_uop_ids.h"
|
|
14
|
+
extern const uint16_t _PyUop_Flags[MAX_UOP_ID+1];
|
|
15
|
+
extern const uint8_t _PyUop_Replication[MAX_UOP_ID+1];
|
|
16
|
+
extern const char * const _PyOpcode_uop_name[MAX_UOP_ID+1];
|
|
17
|
+
|
|
18
|
+
extern int _PyUop_num_popped(int opcode, int oparg);
|
|
19
|
+
|
|
20
|
+
#ifdef NEED_OPCODE_METADATA
|
|
21
|
+
const uint16_t _PyUop_Flags[MAX_UOP_ID+1] = {
|
|
22
|
+
[_NOP] = HAS_PURE_FLAG,
|
|
23
|
+
[_CHECK_PERIODIC] = HAS_EVAL_BREAK_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
24
|
+
[_CHECK_PERIODIC_IF_NOT_YIELD_FROM] = HAS_ARG_FLAG | HAS_EVAL_BREAK_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
25
|
+
[_RESUME_CHECK] = HAS_DEOPT_FLAG,
|
|
26
|
+
[_LOAD_FAST_CHECK] = HAS_ARG_FLAG | HAS_LOCAL_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
27
|
+
[_LOAD_FAST_0] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
28
|
+
[_LOAD_FAST_1] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
29
|
+
[_LOAD_FAST_2] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
30
|
+
[_LOAD_FAST_3] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
31
|
+
[_LOAD_FAST_4] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
32
|
+
[_LOAD_FAST_5] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
33
|
+
[_LOAD_FAST_6] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
34
|
+
[_LOAD_FAST_7] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
35
|
+
[_LOAD_FAST] = HAS_ARG_FLAG | HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
36
|
+
[_LOAD_FAST_BORROW_0] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
37
|
+
[_LOAD_FAST_BORROW_1] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
38
|
+
[_LOAD_FAST_BORROW_2] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
39
|
+
[_LOAD_FAST_BORROW_3] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
40
|
+
[_LOAD_FAST_BORROW_4] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
41
|
+
[_LOAD_FAST_BORROW_5] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
42
|
+
[_LOAD_FAST_BORROW_6] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
43
|
+
[_LOAD_FAST_BORROW_7] = HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
44
|
+
[_LOAD_FAST_BORROW] = HAS_ARG_FLAG | HAS_LOCAL_FLAG | HAS_PURE_FLAG,
|
|
45
|
+
[_LOAD_FAST_AND_CLEAR] = HAS_ARG_FLAG | HAS_LOCAL_FLAG,
|
|
46
|
+
[_LOAD_FAST_LOAD_FAST] = HAS_ARG_FLAG | HAS_LOCAL_FLAG,
|
|
47
|
+
[_LOAD_FAST_BORROW_LOAD_FAST_BORROW] = HAS_ARG_FLAG | HAS_LOCAL_FLAG,
|
|
48
|
+
[_LOAD_CONST_MORTAL] = HAS_ARG_FLAG | HAS_CONST_FLAG,
|
|
49
|
+
[_LOAD_CONST_IMMORTAL] = HAS_ARG_FLAG | HAS_CONST_FLAG,
|
|
50
|
+
[_LOAD_SMALL_INT_0] = 0,
|
|
51
|
+
[_LOAD_SMALL_INT_1] = 0,
|
|
52
|
+
[_LOAD_SMALL_INT_2] = 0,
|
|
53
|
+
[_LOAD_SMALL_INT_3] = 0,
|
|
54
|
+
[_LOAD_SMALL_INT] = HAS_ARG_FLAG,
|
|
55
|
+
[_STORE_FAST_0] = HAS_LOCAL_FLAG | HAS_ESCAPES_FLAG,
|
|
56
|
+
[_STORE_FAST_1] = HAS_LOCAL_FLAG | HAS_ESCAPES_FLAG,
|
|
57
|
+
[_STORE_FAST_2] = HAS_LOCAL_FLAG | HAS_ESCAPES_FLAG,
|
|
58
|
+
[_STORE_FAST_3] = HAS_LOCAL_FLAG | HAS_ESCAPES_FLAG,
|
|
59
|
+
[_STORE_FAST_4] = HAS_LOCAL_FLAG | HAS_ESCAPES_FLAG,
|
|
60
|
+
[_STORE_FAST_5] = HAS_LOCAL_FLAG | HAS_ESCAPES_FLAG,
|
|
61
|
+
[_STORE_FAST_6] = HAS_LOCAL_FLAG | HAS_ESCAPES_FLAG,
|
|
62
|
+
[_STORE_FAST_7] = HAS_LOCAL_FLAG | HAS_ESCAPES_FLAG,
|
|
63
|
+
[_STORE_FAST] = HAS_ARG_FLAG | HAS_LOCAL_FLAG | HAS_ESCAPES_FLAG,
|
|
64
|
+
[_STORE_FAST_LOAD_FAST] = HAS_ARG_FLAG | HAS_LOCAL_FLAG | HAS_ESCAPES_FLAG,
|
|
65
|
+
[_STORE_FAST_STORE_FAST] = HAS_ARG_FLAG | HAS_LOCAL_FLAG | HAS_ESCAPES_FLAG,
|
|
66
|
+
[_POP_TOP] = HAS_ESCAPES_FLAG | HAS_PURE_FLAG,
|
|
67
|
+
[_PUSH_NULL] = HAS_PURE_FLAG,
|
|
68
|
+
[_END_FOR] = HAS_ESCAPES_FLAG | HAS_NO_SAVE_IP_FLAG,
|
|
69
|
+
[_END_SEND] = HAS_ESCAPES_FLAG | HAS_PURE_FLAG,
|
|
70
|
+
[_UNARY_NEGATIVE] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
71
|
+
[_UNARY_NOT] = HAS_PURE_FLAG,
|
|
72
|
+
[_TO_BOOL] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
73
|
+
[_TO_BOOL_BOOL] = HAS_EXIT_FLAG,
|
|
74
|
+
[_TO_BOOL_INT] = HAS_EXIT_FLAG | HAS_ESCAPES_FLAG,
|
|
75
|
+
[_GUARD_NOS_LIST] = HAS_EXIT_FLAG,
|
|
76
|
+
[_GUARD_TOS_LIST] = HAS_EXIT_FLAG,
|
|
77
|
+
[_GUARD_TOS_SLICE] = HAS_EXIT_FLAG,
|
|
78
|
+
[_TO_BOOL_LIST] = 0,
|
|
79
|
+
[_TO_BOOL_NONE] = HAS_EXIT_FLAG,
|
|
80
|
+
[_GUARD_NOS_UNICODE] = HAS_EXIT_FLAG,
|
|
81
|
+
[_GUARD_TOS_UNICODE] = HAS_EXIT_FLAG,
|
|
82
|
+
[_TO_BOOL_STR] = HAS_ESCAPES_FLAG,
|
|
83
|
+
[_REPLACE_WITH_TRUE] = HAS_ESCAPES_FLAG,
|
|
84
|
+
[_UNARY_INVERT] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
85
|
+
[_GUARD_NOS_INT] = HAS_EXIT_FLAG,
|
|
86
|
+
[_GUARD_TOS_INT] = HAS_EXIT_FLAG,
|
|
87
|
+
[_BINARY_OP_MULTIPLY_INT] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG | HAS_PURE_FLAG,
|
|
88
|
+
[_BINARY_OP_ADD_INT] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG | HAS_PURE_FLAG,
|
|
89
|
+
[_BINARY_OP_SUBTRACT_INT] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG | HAS_PURE_FLAG,
|
|
90
|
+
[_GUARD_NOS_FLOAT] = HAS_EXIT_FLAG,
|
|
91
|
+
[_GUARD_TOS_FLOAT] = HAS_EXIT_FLAG,
|
|
92
|
+
[_BINARY_OP_MULTIPLY_FLOAT] = HAS_ERROR_FLAG | HAS_PURE_FLAG,
|
|
93
|
+
[_BINARY_OP_ADD_FLOAT] = HAS_ERROR_FLAG | HAS_PURE_FLAG,
|
|
94
|
+
[_BINARY_OP_SUBTRACT_FLOAT] = HAS_ERROR_FLAG | HAS_PURE_FLAG,
|
|
95
|
+
[_BINARY_OP_ADD_UNICODE] = HAS_ERROR_FLAG | HAS_PURE_FLAG,
|
|
96
|
+
[_BINARY_OP_INPLACE_ADD_UNICODE] = HAS_LOCAL_FLAG | HAS_DEOPT_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
97
|
+
[_GUARD_BINARY_OP_EXTEND] = HAS_DEOPT_FLAG | HAS_ESCAPES_FLAG,
|
|
98
|
+
[_BINARY_OP_EXTEND] = HAS_ESCAPES_FLAG | HAS_PURE_FLAG,
|
|
99
|
+
[_BINARY_SLICE] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
100
|
+
[_STORE_SLICE] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
101
|
+
[_BINARY_OP_SUBSCR_LIST_INT] = HAS_DEOPT_FLAG | HAS_ESCAPES_FLAG,
|
|
102
|
+
[_BINARY_OP_SUBSCR_LIST_SLICE] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
103
|
+
[_BINARY_OP_SUBSCR_STR_INT] = HAS_DEOPT_FLAG | HAS_ESCAPES_FLAG,
|
|
104
|
+
[_GUARD_NOS_TUPLE] = HAS_EXIT_FLAG,
|
|
105
|
+
[_GUARD_TOS_TUPLE] = HAS_EXIT_FLAG,
|
|
106
|
+
[_BINARY_OP_SUBSCR_TUPLE_INT] = HAS_DEOPT_FLAG,
|
|
107
|
+
[_GUARD_NOS_DICT] = HAS_EXIT_FLAG,
|
|
108
|
+
[_GUARD_TOS_DICT] = HAS_EXIT_FLAG,
|
|
109
|
+
[_BINARY_OP_SUBSCR_DICT] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
110
|
+
[_BINARY_OP_SUBSCR_CHECK_FUNC] = HAS_DEOPT_FLAG,
|
|
111
|
+
[_BINARY_OP_SUBSCR_INIT_CALL] = 0,
|
|
112
|
+
[_LIST_APPEND] = HAS_ARG_FLAG | HAS_ERROR_FLAG,
|
|
113
|
+
[_SET_ADD] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
114
|
+
[_STORE_SUBSCR] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
115
|
+
[_STORE_SUBSCR_LIST_INT] = HAS_DEOPT_FLAG | HAS_ESCAPES_FLAG,
|
|
116
|
+
[_STORE_SUBSCR_DICT] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
117
|
+
[_DELETE_SUBSCR] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
118
|
+
[_CALL_INTRINSIC_1] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
119
|
+
[_CALL_INTRINSIC_2] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
120
|
+
[_RETURN_VALUE] = HAS_ESCAPES_FLAG,
|
|
121
|
+
[_GET_AITER] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
122
|
+
[_GET_ANEXT] = HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
123
|
+
[_GET_AWAITABLE] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
124
|
+
[_SEND_GEN_FRAME] = HAS_ARG_FLAG | HAS_DEOPT_FLAG,
|
|
125
|
+
[_YIELD_VALUE] = HAS_ARG_FLAG,
|
|
126
|
+
[_POP_EXCEPT] = HAS_ESCAPES_FLAG,
|
|
127
|
+
[_LOAD_COMMON_CONSTANT] = HAS_ARG_FLAG,
|
|
128
|
+
[_LOAD_BUILD_CLASS] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
129
|
+
[_STORE_NAME] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
130
|
+
[_DELETE_NAME] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
131
|
+
[_UNPACK_SEQUENCE] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
132
|
+
[_UNPACK_SEQUENCE_TWO_TUPLE] = HAS_ARG_FLAG | HAS_DEOPT_FLAG | HAS_ESCAPES_FLAG,
|
|
133
|
+
[_UNPACK_SEQUENCE_TUPLE] = HAS_ARG_FLAG | HAS_DEOPT_FLAG,
|
|
134
|
+
[_UNPACK_SEQUENCE_LIST] = HAS_ARG_FLAG | HAS_DEOPT_FLAG,
|
|
135
|
+
[_UNPACK_EX] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
136
|
+
[_STORE_ATTR] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
137
|
+
[_DELETE_ATTR] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
138
|
+
[_STORE_GLOBAL] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
139
|
+
[_DELETE_GLOBAL] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
140
|
+
[_LOAD_LOCALS] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
141
|
+
[_LOAD_NAME] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
142
|
+
[_LOAD_GLOBAL] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
143
|
+
[_PUSH_NULL_CONDITIONAL] = HAS_ARG_FLAG,
|
|
144
|
+
[_GUARD_GLOBALS_VERSION] = HAS_DEOPT_FLAG,
|
|
145
|
+
[_LOAD_GLOBAL_MODULE] = HAS_DEOPT_FLAG,
|
|
146
|
+
[_LOAD_GLOBAL_BUILTINS] = HAS_DEOPT_FLAG,
|
|
147
|
+
[_DELETE_FAST] = HAS_ARG_FLAG | HAS_LOCAL_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
148
|
+
[_MAKE_CELL] = HAS_ARG_FLAG | HAS_FREE_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
149
|
+
[_DELETE_DEREF] = HAS_ARG_FLAG | HAS_FREE_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
150
|
+
[_LOAD_FROM_DICT_OR_DEREF] = HAS_ARG_FLAG | HAS_FREE_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
151
|
+
[_LOAD_DEREF] = HAS_ARG_FLAG | HAS_LOCAL_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
152
|
+
[_STORE_DEREF] = HAS_ARG_FLAG | HAS_FREE_FLAG | HAS_ESCAPES_FLAG,
|
|
153
|
+
[_COPY_FREE_VARS] = HAS_ARG_FLAG,
|
|
154
|
+
[_BUILD_STRING] = HAS_ARG_FLAG | HAS_ERROR_FLAG,
|
|
155
|
+
[_BUILD_INTERPOLATION] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
156
|
+
[_BUILD_TEMPLATE] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
157
|
+
[_BUILD_TUPLE] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG,
|
|
158
|
+
[_BUILD_LIST] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
159
|
+
[_LIST_EXTEND] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
160
|
+
[_SET_UPDATE] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
161
|
+
[_BUILD_SET] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
162
|
+
[_BUILD_MAP] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
163
|
+
[_SETUP_ANNOTATIONS] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
164
|
+
[_DICT_UPDATE] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
165
|
+
[_DICT_MERGE] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
166
|
+
[_MAP_ADD] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
167
|
+
[_LOAD_SUPER_ATTR_ATTR] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_DEOPT_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
168
|
+
[_LOAD_SUPER_ATTR_METHOD] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_DEOPT_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
169
|
+
[_LOAD_ATTR] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
170
|
+
[_GUARD_TYPE_VERSION] = HAS_EXIT_FLAG,
|
|
171
|
+
[_GUARD_TYPE_VERSION_AND_LOCK] = HAS_EXIT_FLAG,
|
|
172
|
+
[_CHECK_MANAGED_OBJECT_HAS_VALUES] = HAS_DEOPT_FLAG,
|
|
173
|
+
[_LOAD_ATTR_INSTANCE_VALUE] = HAS_DEOPT_FLAG | HAS_ESCAPES_FLAG,
|
|
174
|
+
[_LOAD_ATTR_MODULE] = HAS_DEOPT_FLAG | HAS_ESCAPES_FLAG,
|
|
175
|
+
[_LOAD_ATTR_WITH_HINT] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_DEOPT_FLAG | HAS_ESCAPES_FLAG,
|
|
176
|
+
[_LOAD_ATTR_SLOT] = HAS_DEOPT_FLAG,
|
|
177
|
+
[_CHECK_ATTR_CLASS] = HAS_EXIT_FLAG,
|
|
178
|
+
[_LOAD_ATTR_CLASS] = 0,
|
|
179
|
+
[_LOAD_ATTR_PROPERTY_FRAME] = HAS_ARG_FLAG | HAS_DEOPT_FLAG,
|
|
180
|
+
[_GUARD_DORV_NO_DICT] = HAS_EXIT_FLAG,
|
|
181
|
+
[_STORE_ATTR_INSTANCE_VALUE] = HAS_ESCAPES_FLAG,
|
|
182
|
+
[_STORE_ATTR_WITH_HINT] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_DEOPT_FLAG | HAS_ESCAPES_FLAG,
|
|
183
|
+
[_STORE_ATTR_SLOT] = HAS_DEOPT_FLAG | HAS_ESCAPES_FLAG,
|
|
184
|
+
[_COMPARE_OP] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
185
|
+
[_COMPARE_OP_FLOAT] = HAS_ARG_FLAG,
|
|
186
|
+
[_COMPARE_OP_INT] = HAS_ARG_FLAG | HAS_DEOPT_FLAG,
|
|
187
|
+
[_COMPARE_OP_STR] = HAS_ARG_FLAG,
|
|
188
|
+
[_IS_OP] = HAS_ARG_FLAG,
|
|
189
|
+
[_CONTAINS_OP] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
190
|
+
[_GUARD_TOS_ANY_SET] = HAS_DEOPT_FLAG,
|
|
191
|
+
[_CONTAINS_OP_SET] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
192
|
+
[_CONTAINS_OP_DICT] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
193
|
+
[_CHECK_EG_MATCH] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
194
|
+
[_CHECK_EXC_MATCH] = HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
195
|
+
[_IMPORT_NAME] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
196
|
+
[_IMPORT_FROM] = HAS_ARG_FLAG | HAS_NAME_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
197
|
+
[_IS_NONE] = 0,
|
|
198
|
+
[_GET_LEN] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
199
|
+
[_MATCH_CLASS] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
200
|
+
[_MATCH_MAPPING] = 0,
|
|
201
|
+
[_MATCH_SEQUENCE] = 0,
|
|
202
|
+
[_MATCH_KEYS] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
203
|
+
[_GET_ITER] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
204
|
+
[_GET_YIELD_FROM_ITER] = HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
205
|
+
[_FOR_ITER_TIER_TWO] = HAS_EXIT_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
206
|
+
[_ITER_CHECK_LIST] = HAS_EXIT_FLAG,
|
|
207
|
+
[_GUARD_NOT_EXHAUSTED_LIST] = HAS_EXIT_FLAG,
|
|
208
|
+
[_ITER_NEXT_LIST_TIER_TWO] = HAS_EXIT_FLAG | HAS_ESCAPES_FLAG,
|
|
209
|
+
[_ITER_CHECK_TUPLE] = HAS_EXIT_FLAG,
|
|
210
|
+
[_GUARD_NOT_EXHAUSTED_TUPLE] = HAS_EXIT_FLAG,
|
|
211
|
+
[_ITER_NEXT_TUPLE] = 0,
|
|
212
|
+
[_ITER_CHECK_RANGE] = HAS_EXIT_FLAG,
|
|
213
|
+
[_GUARD_NOT_EXHAUSTED_RANGE] = HAS_EXIT_FLAG,
|
|
214
|
+
[_ITER_NEXT_RANGE] = HAS_ERROR_FLAG,
|
|
215
|
+
[_FOR_ITER_GEN_FRAME] = HAS_ARG_FLAG | HAS_DEOPT_FLAG,
|
|
216
|
+
[_INSERT_NULL] = 0,
|
|
217
|
+
[_LOAD_SPECIAL] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
218
|
+
[_WITH_EXCEPT_START] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
219
|
+
[_PUSH_EXC_INFO] = 0,
|
|
220
|
+
[_GUARD_DORV_VALUES_INST_ATTR_FROM_DICT] = HAS_DEOPT_FLAG,
|
|
221
|
+
[_GUARD_KEYS_VERSION] = HAS_DEOPT_FLAG,
|
|
222
|
+
[_LOAD_ATTR_METHOD_WITH_VALUES] = HAS_ARG_FLAG,
|
|
223
|
+
[_LOAD_ATTR_METHOD_NO_DICT] = HAS_ARG_FLAG,
|
|
224
|
+
[_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES] = HAS_ARG_FLAG | HAS_ESCAPES_FLAG,
|
|
225
|
+
[_LOAD_ATTR_NONDESCRIPTOR_NO_DICT] = HAS_ARG_FLAG | HAS_ESCAPES_FLAG,
|
|
226
|
+
[_CHECK_ATTR_METHOD_LAZY_DICT] = HAS_DEOPT_FLAG,
|
|
227
|
+
[_LOAD_ATTR_METHOD_LAZY_DICT] = HAS_ARG_FLAG,
|
|
228
|
+
[_MAYBE_EXPAND_METHOD] = HAS_ARG_FLAG | HAS_ESCAPES_FLAG,
|
|
229
|
+
[_PY_FRAME_GENERAL] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
230
|
+
[_CHECK_FUNCTION_VERSION] = HAS_ARG_FLAG | HAS_EXIT_FLAG,
|
|
231
|
+
[_CHECK_FUNCTION_VERSION_INLINE] = HAS_EXIT_FLAG,
|
|
232
|
+
[_CHECK_METHOD_VERSION] = HAS_ARG_FLAG | HAS_EXIT_FLAG,
|
|
233
|
+
[_EXPAND_METHOD] = HAS_ARG_FLAG | HAS_ESCAPES_FLAG,
|
|
234
|
+
[_CHECK_IS_NOT_PY_CALLABLE] = HAS_ARG_FLAG | HAS_EXIT_FLAG,
|
|
235
|
+
[_CALL_NON_PY_GENERAL] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
236
|
+
[_CHECK_CALL_BOUND_METHOD_EXACT_ARGS] = HAS_ARG_FLAG | HAS_EXIT_FLAG,
|
|
237
|
+
[_INIT_CALL_BOUND_METHOD_EXACT_ARGS] = HAS_ARG_FLAG | HAS_ESCAPES_FLAG,
|
|
238
|
+
[_CHECK_PEP_523] = HAS_DEOPT_FLAG,
|
|
239
|
+
[_CHECK_FUNCTION_EXACT_ARGS] = HAS_ARG_FLAG | HAS_EXIT_FLAG,
|
|
240
|
+
[_CHECK_STACK_SPACE] = HAS_ARG_FLAG | HAS_DEOPT_FLAG,
|
|
241
|
+
[_CHECK_RECURSION_REMAINING] = HAS_DEOPT_FLAG,
|
|
242
|
+
[_INIT_CALL_PY_EXACT_ARGS_0] = HAS_PURE_FLAG,
|
|
243
|
+
[_INIT_CALL_PY_EXACT_ARGS_1] = HAS_PURE_FLAG,
|
|
244
|
+
[_INIT_CALL_PY_EXACT_ARGS_2] = HAS_PURE_FLAG,
|
|
245
|
+
[_INIT_CALL_PY_EXACT_ARGS_3] = HAS_PURE_FLAG,
|
|
246
|
+
[_INIT_CALL_PY_EXACT_ARGS_4] = HAS_PURE_FLAG,
|
|
247
|
+
[_INIT_CALL_PY_EXACT_ARGS] = HAS_ARG_FLAG | HAS_PURE_FLAG,
|
|
248
|
+
[_PUSH_FRAME] = 0,
|
|
249
|
+
[_GUARD_NOS_NULL] = HAS_DEOPT_FLAG,
|
|
250
|
+
[_GUARD_CALLABLE_TYPE_1] = HAS_DEOPT_FLAG,
|
|
251
|
+
[_CALL_TYPE_1] = HAS_ARG_FLAG | HAS_ESCAPES_FLAG,
|
|
252
|
+
[_GUARD_CALLABLE_STR_1] = HAS_DEOPT_FLAG,
|
|
253
|
+
[_CALL_STR_1] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
254
|
+
[_GUARD_CALLABLE_TUPLE_1] = HAS_DEOPT_FLAG,
|
|
255
|
+
[_CALL_TUPLE_1] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
256
|
+
[_CHECK_AND_ALLOCATE_OBJECT] = HAS_ARG_FLAG | HAS_DEOPT_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
257
|
+
[_CREATE_INIT_FRAME] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
258
|
+
[_EXIT_INIT_CHECK] = HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
259
|
+
[_CALL_BUILTIN_CLASS] = HAS_ARG_FLAG | HAS_DEOPT_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
260
|
+
[_CALL_BUILTIN_O] = HAS_ARG_FLAG | HAS_EXIT_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
261
|
+
[_CALL_BUILTIN_FAST] = HAS_ARG_FLAG | HAS_DEOPT_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
262
|
+
[_CALL_BUILTIN_FAST_WITH_KEYWORDS] = HAS_ARG_FLAG | HAS_DEOPT_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
263
|
+
[_GUARD_CALLABLE_LEN] = HAS_DEOPT_FLAG,
|
|
264
|
+
[_CALL_LEN] = HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
265
|
+
[_CALL_ISINSTANCE] = HAS_ARG_FLAG | HAS_DEOPT_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
266
|
+
[_CALL_LIST_APPEND] = HAS_ARG_FLAG | HAS_DEOPT_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
267
|
+
[_CALL_METHOD_DESCRIPTOR_O] = HAS_ARG_FLAG | HAS_EXIT_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
268
|
+
[_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS] = HAS_ARG_FLAG | HAS_EXIT_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
269
|
+
[_CALL_METHOD_DESCRIPTOR_NOARGS] = HAS_ARG_FLAG | HAS_EXIT_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
270
|
+
[_CALL_METHOD_DESCRIPTOR_FAST] = HAS_ARG_FLAG | HAS_EXIT_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
271
|
+
[_MAYBE_EXPAND_METHOD_KW] = HAS_ARG_FLAG | HAS_ESCAPES_FLAG,
|
|
272
|
+
[_PY_FRAME_KW] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
273
|
+
[_CHECK_FUNCTION_VERSION_KW] = HAS_ARG_FLAG | HAS_EXIT_FLAG,
|
|
274
|
+
[_CHECK_METHOD_VERSION_KW] = HAS_ARG_FLAG | HAS_EXIT_FLAG,
|
|
275
|
+
[_EXPAND_METHOD_KW] = HAS_ARG_FLAG | HAS_ESCAPES_FLAG,
|
|
276
|
+
[_CHECK_IS_NOT_PY_CALLABLE_KW] = HAS_ARG_FLAG | HAS_EXIT_FLAG,
|
|
277
|
+
[_CALL_KW_NON_PY] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
278
|
+
[_MAKE_CALLARGS_A_TUPLE] = HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
279
|
+
[_MAKE_FUNCTION] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
280
|
+
[_SET_FUNCTION_ATTRIBUTE] = HAS_ARG_FLAG,
|
|
281
|
+
[_RETURN_GENERATOR] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
282
|
+
[_BUILD_SLICE] = HAS_ARG_FLAG | HAS_ERROR_FLAG,
|
|
283
|
+
[_CONVERT_VALUE] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
284
|
+
[_FORMAT_SIMPLE] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
285
|
+
[_FORMAT_WITH_SPEC] = HAS_ERROR_FLAG | HAS_ESCAPES_FLAG,
|
|
286
|
+
[_COPY] = HAS_ARG_FLAG | HAS_PURE_FLAG,
|
|
287
|
+
[_BINARY_OP] = HAS_ARG_FLAG | HAS_ERROR_FLAG | HAS_ERROR_NO_POP_FLAG | HAS_ESCAPES_FLAG,
|
|
288
|
+
[_SWAP] = HAS_ARG_FLAG | HAS_PURE_FLAG,
|
|
289
|
+
[_GUARD_IS_TRUE_POP] = HAS_EXIT_FLAG,
|
|
290
|
+
[_GUARD_IS_FALSE_POP] = HAS_EXIT_FLAG,
|
|
291
|
+
[_GUARD_IS_NONE_POP] = HAS_EXIT_FLAG | HAS_ESCAPES_FLAG,
|
|
292
|
+
[_GUARD_IS_NOT_NONE_POP] = HAS_EXIT_FLAG | HAS_ESCAPES_FLAG,
|
|
293
|
+
[_JUMP_TO_TOP] = 0,
|
|
294
|
+
[_SET_IP] = 0,
|
|
295
|
+
[_CHECK_STACK_SPACE_OPERAND] = HAS_DEOPT_FLAG,
|
|
296
|
+
[_SAVE_RETURN_OFFSET] = HAS_ARG_FLAG,
|
|
297
|
+
[_EXIT_TRACE] = HAS_ESCAPES_FLAG,
|
|
298
|
+
[_CHECK_VALIDITY] = HAS_DEOPT_FLAG,
|
|
299
|
+
[_LOAD_CONST_INLINE] = HAS_PURE_FLAG,
|
|
300
|
+
[_POP_TOP_LOAD_CONST_INLINE] = HAS_ESCAPES_FLAG | HAS_PURE_FLAG,
|
|
301
|
+
[_LOAD_CONST_INLINE_BORROW] = HAS_PURE_FLAG,
|
|
302
|
+
[_POP_TOP_LOAD_CONST_INLINE_BORROW] = HAS_ESCAPES_FLAG | HAS_PURE_FLAG,
|
|
303
|
+
[_POP_TWO_LOAD_CONST_INLINE_BORROW] = HAS_ESCAPES_FLAG | HAS_PURE_FLAG,
|
|
304
|
+
[_CHECK_FUNCTION] = HAS_DEOPT_FLAG,
|
|
305
|
+
[_START_EXECUTOR] = 0,
|
|
306
|
+
[_MAKE_WARM] = 0,
|
|
307
|
+
[_FATAL_ERROR] = 0,
|
|
308
|
+
[_DEOPT] = 0,
|
|
309
|
+
[_ERROR_POP_N] = HAS_ARG_FLAG,
|
|
310
|
+
[_TIER2_RESUME_CHECK] = HAS_DEOPT_FLAG,
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
const uint8_t _PyUop_Replication[MAX_UOP_ID+1] = {
|
|
314
|
+
[_LOAD_FAST] = 8,
|
|
315
|
+
[_LOAD_FAST_BORROW] = 8,
|
|
316
|
+
[_LOAD_SMALL_INT] = 4,
|
|
317
|
+
[_STORE_FAST] = 8,
|
|
318
|
+
[_INIT_CALL_PY_EXACT_ARGS] = 5,
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
const char *const _PyOpcode_uop_name[MAX_UOP_ID+1] = {
|
|
322
|
+
[_BINARY_OP] = "_BINARY_OP",
|
|
323
|
+
[_BINARY_OP_ADD_FLOAT] = "_BINARY_OP_ADD_FLOAT",
|
|
324
|
+
[_BINARY_OP_ADD_INT] = "_BINARY_OP_ADD_INT",
|
|
325
|
+
[_BINARY_OP_ADD_UNICODE] = "_BINARY_OP_ADD_UNICODE",
|
|
326
|
+
[_BINARY_OP_EXTEND] = "_BINARY_OP_EXTEND",
|
|
327
|
+
[_BINARY_OP_INPLACE_ADD_UNICODE] = "_BINARY_OP_INPLACE_ADD_UNICODE",
|
|
328
|
+
[_BINARY_OP_MULTIPLY_FLOAT] = "_BINARY_OP_MULTIPLY_FLOAT",
|
|
329
|
+
[_BINARY_OP_MULTIPLY_INT] = "_BINARY_OP_MULTIPLY_INT",
|
|
330
|
+
[_BINARY_OP_SUBSCR_CHECK_FUNC] = "_BINARY_OP_SUBSCR_CHECK_FUNC",
|
|
331
|
+
[_BINARY_OP_SUBSCR_DICT] = "_BINARY_OP_SUBSCR_DICT",
|
|
332
|
+
[_BINARY_OP_SUBSCR_INIT_CALL] = "_BINARY_OP_SUBSCR_INIT_CALL",
|
|
333
|
+
[_BINARY_OP_SUBSCR_LIST_INT] = "_BINARY_OP_SUBSCR_LIST_INT",
|
|
334
|
+
[_BINARY_OP_SUBSCR_LIST_SLICE] = "_BINARY_OP_SUBSCR_LIST_SLICE",
|
|
335
|
+
[_BINARY_OP_SUBSCR_STR_INT] = "_BINARY_OP_SUBSCR_STR_INT",
|
|
336
|
+
[_BINARY_OP_SUBSCR_TUPLE_INT] = "_BINARY_OP_SUBSCR_TUPLE_INT",
|
|
337
|
+
[_BINARY_OP_SUBTRACT_FLOAT] = "_BINARY_OP_SUBTRACT_FLOAT",
|
|
338
|
+
[_BINARY_OP_SUBTRACT_INT] = "_BINARY_OP_SUBTRACT_INT",
|
|
339
|
+
[_BINARY_SLICE] = "_BINARY_SLICE",
|
|
340
|
+
[_BUILD_INTERPOLATION] = "_BUILD_INTERPOLATION",
|
|
341
|
+
[_BUILD_LIST] = "_BUILD_LIST",
|
|
342
|
+
[_BUILD_MAP] = "_BUILD_MAP",
|
|
343
|
+
[_BUILD_SET] = "_BUILD_SET",
|
|
344
|
+
[_BUILD_SLICE] = "_BUILD_SLICE",
|
|
345
|
+
[_BUILD_STRING] = "_BUILD_STRING",
|
|
346
|
+
[_BUILD_TEMPLATE] = "_BUILD_TEMPLATE",
|
|
347
|
+
[_BUILD_TUPLE] = "_BUILD_TUPLE",
|
|
348
|
+
[_CALL_BUILTIN_CLASS] = "_CALL_BUILTIN_CLASS",
|
|
349
|
+
[_CALL_BUILTIN_FAST] = "_CALL_BUILTIN_FAST",
|
|
350
|
+
[_CALL_BUILTIN_FAST_WITH_KEYWORDS] = "_CALL_BUILTIN_FAST_WITH_KEYWORDS",
|
|
351
|
+
[_CALL_BUILTIN_O] = "_CALL_BUILTIN_O",
|
|
352
|
+
[_CALL_INTRINSIC_1] = "_CALL_INTRINSIC_1",
|
|
353
|
+
[_CALL_INTRINSIC_2] = "_CALL_INTRINSIC_2",
|
|
354
|
+
[_CALL_ISINSTANCE] = "_CALL_ISINSTANCE",
|
|
355
|
+
[_CALL_KW_NON_PY] = "_CALL_KW_NON_PY",
|
|
356
|
+
[_CALL_LEN] = "_CALL_LEN",
|
|
357
|
+
[_CALL_LIST_APPEND] = "_CALL_LIST_APPEND",
|
|
358
|
+
[_CALL_METHOD_DESCRIPTOR_FAST] = "_CALL_METHOD_DESCRIPTOR_FAST",
|
|
359
|
+
[_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS] = "_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS",
|
|
360
|
+
[_CALL_METHOD_DESCRIPTOR_NOARGS] = "_CALL_METHOD_DESCRIPTOR_NOARGS",
|
|
361
|
+
[_CALL_METHOD_DESCRIPTOR_O] = "_CALL_METHOD_DESCRIPTOR_O",
|
|
362
|
+
[_CALL_NON_PY_GENERAL] = "_CALL_NON_PY_GENERAL",
|
|
363
|
+
[_CALL_STR_1] = "_CALL_STR_1",
|
|
364
|
+
[_CALL_TUPLE_1] = "_CALL_TUPLE_1",
|
|
365
|
+
[_CALL_TYPE_1] = "_CALL_TYPE_1",
|
|
366
|
+
[_CHECK_AND_ALLOCATE_OBJECT] = "_CHECK_AND_ALLOCATE_OBJECT",
|
|
367
|
+
[_CHECK_ATTR_CLASS] = "_CHECK_ATTR_CLASS",
|
|
368
|
+
[_CHECK_ATTR_METHOD_LAZY_DICT] = "_CHECK_ATTR_METHOD_LAZY_DICT",
|
|
369
|
+
[_CHECK_CALL_BOUND_METHOD_EXACT_ARGS] = "_CHECK_CALL_BOUND_METHOD_EXACT_ARGS",
|
|
370
|
+
[_CHECK_EG_MATCH] = "_CHECK_EG_MATCH",
|
|
371
|
+
[_CHECK_EXC_MATCH] = "_CHECK_EXC_MATCH",
|
|
372
|
+
[_CHECK_FUNCTION] = "_CHECK_FUNCTION",
|
|
373
|
+
[_CHECK_FUNCTION_EXACT_ARGS] = "_CHECK_FUNCTION_EXACT_ARGS",
|
|
374
|
+
[_CHECK_FUNCTION_VERSION] = "_CHECK_FUNCTION_VERSION",
|
|
375
|
+
[_CHECK_FUNCTION_VERSION_INLINE] = "_CHECK_FUNCTION_VERSION_INLINE",
|
|
376
|
+
[_CHECK_FUNCTION_VERSION_KW] = "_CHECK_FUNCTION_VERSION_KW",
|
|
377
|
+
[_CHECK_IS_NOT_PY_CALLABLE] = "_CHECK_IS_NOT_PY_CALLABLE",
|
|
378
|
+
[_CHECK_IS_NOT_PY_CALLABLE_KW] = "_CHECK_IS_NOT_PY_CALLABLE_KW",
|
|
379
|
+
[_CHECK_MANAGED_OBJECT_HAS_VALUES] = "_CHECK_MANAGED_OBJECT_HAS_VALUES",
|
|
380
|
+
[_CHECK_METHOD_VERSION] = "_CHECK_METHOD_VERSION",
|
|
381
|
+
[_CHECK_METHOD_VERSION_KW] = "_CHECK_METHOD_VERSION_KW",
|
|
382
|
+
[_CHECK_PEP_523] = "_CHECK_PEP_523",
|
|
383
|
+
[_CHECK_PERIODIC] = "_CHECK_PERIODIC",
|
|
384
|
+
[_CHECK_PERIODIC_IF_NOT_YIELD_FROM] = "_CHECK_PERIODIC_IF_NOT_YIELD_FROM",
|
|
385
|
+
[_CHECK_RECURSION_REMAINING] = "_CHECK_RECURSION_REMAINING",
|
|
386
|
+
[_CHECK_STACK_SPACE] = "_CHECK_STACK_SPACE",
|
|
387
|
+
[_CHECK_STACK_SPACE_OPERAND] = "_CHECK_STACK_SPACE_OPERAND",
|
|
388
|
+
[_CHECK_VALIDITY] = "_CHECK_VALIDITY",
|
|
389
|
+
[_COMPARE_OP] = "_COMPARE_OP",
|
|
390
|
+
[_COMPARE_OP_FLOAT] = "_COMPARE_OP_FLOAT",
|
|
391
|
+
[_COMPARE_OP_INT] = "_COMPARE_OP_INT",
|
|
392
|
+
[_COMPARE_OP_STR] = "_COMPARE_OP_STR",
|
|
393
|
+
[_CONTAINS_OP] = "_CONTAINS_OP",
|
|
394
|
+
[_CONTAINS_OP_DICT] = "_CONTAINS_OP_DICT",
|
|
395
|
+
[_CONTAINS_OP_SET] = "_CONTAINS_OP_SET",
|
|
396
|
+
[_CONVERT_VALUE] = "_CONVERT_VALUE",
|
|
397
|
+
[_COPY] = "_COPY",
|
|
398
|
+
[_COPY_FREE_VARS] = "_COPY_FREE_VARS",
|
|
399
|
+
[_CREATE_INIT_FRAME] = "_CREATE_INIT_FRAME",
|
|
400
|
+
[_DELETE_ATTR] = "_DELETE_ATTR",
|
|
401
|
+
[_DELETE_DEREF] = "_DELETE_DEREF",
|
|
402
|
+
[_DELETE_FAST] = "_DELETE_FAST",
|
|
403
|
+
[_DELETE_GLOBAL] = "_DELETE_GLOBAL",
|
|
404
|
+
[_DELETE_NAME] = "_DELETE_NAME",
|
|
405
|
+
[_DELETE_SUBSCR] = "_DELETE_SUBSCR",
|
|
406
|
+
[_DEOPT] = "_DEOPT",
|
|
407
|
+
[_DICT_MERGE] = "_DICT_MERGE",
|
|
408
|
+
[_DICT_UPDATE] = "_DICT_UPDATE",
|
|
409
|
+
[_END_FOR] = "_END_FOR",
|
|
410
|
+
[_END_SEND] = "_END_SEND",
|
|
411
|
+
[_ERROR_POP_N] = "_ERROR_POP_N",
|
|
412
|
+
[_EXIT_INIT_CHECK] = "_EXIT_INIT_CHECK",
|
|
413
|
+
[_EXIT_TRACE] = "_EXIT_TRACE",
|
|
414
|
+
[_EXPAND_METHOD] = "_EXPAND_METHOD",
|
|
415
|
+
[_EXPAND_METHOD_KW] = "_EXPAND_METHOD_KW",
|
|
416
|
+
[_FATAL_ERROR] = "_FATAL_ERROR",
|
|
417
|
+
[_FORMAT_SIMPLE] = "_FORMAT_SIMPLE",
|
|
418
|
+
[_FORMAT_WITH_SPEC] = "_FORMAT_WITH_SPEC",
|
|
419
|
+
[_FOR_ITER_GEN_FRAME] = "_FOR_ITER_GEN_FRAME",
|
|
420
|
+
[_FOR_ITER_TIER_TWO] = "_FOR_ITER_TIER_TWO",
|
|
421
|
+
[_GET_AITER] = "_GET_AITER",
|
|
422
|
+
[_GET_ANEXT] = "_GET_ANEXT",
|
|
423
|
+
[_GET_AWAITABLE] = "_GET_AWAITABLE",
|
|
424
|
+
[_GET_ITER] = "_GET_ITER",
|
|
425
|
+
[_GET_LEN] = "_GET_LEN",
|
|
426
|
+
[_GET_YIELD_FROM_ITER] = "_GET_YIELD_FROM_ITER",
|
|
427
|
+
[_GUARD_BINARY_OP_EXTEND] = "_GUARD_BINARY_OP_EXTEND",
|
|
428
|
+
[_GUARD_CALLABLE_LEN] = "_GUARD_CALLABLE_LEN",
|
|
429
|
+
[_GUARD_CALLABLE_STR_1] = "_GUARD_CALLABLE_STR_1",
|
|
430
|
+
[_GUARD_CALLABLE_TUPLE_1] = "_GUARD_CALLABLE_TUPLE_1",
|
|
431
|
+
[_GUARD_CALLABLE_TYPE_1] = "_GUARD_CALLABLE_TYPE_1",
|
|
432
|
+
[_GUARD_DORV_NO_DICT] = "_GUARD_DORV_NO_DICT",
|
|
433
|
+
[_GUARD_DORV_VALUES_INST_ATTR_FROM_DICT] = "_GUARD_DORV_VALUES_INST_ATTR_FROM_DICT",
|
|
434
|
+
[_GUARD_GLOBALS_VERSION] = "_GUARD_GLOBALS_VERSION",
|
|
435
|
+
[_GUARD_IS_FALSE_POP] = "_GUARD_IS_FALSE_POP",
|
|
436
|
+
[_GUARD_IS_NONE_POP] = "_GUARD_IS_NONE_POP",
|
|
437
|
+
[_GUARD_IS_NOT_NONE_POP] = "_GUARD_IS_NOT_NONE_POP",
|
|
438
|
+
[_GUARD_IS_TRUE_POP] = "_GUARD_IS_TRUE_POP",
|
|
439
|
+
[_GUARD_KEYS_VERSION] = "_GUARD_KEYS_VERSION",
|
|
440
|
+
[_GUARD_NOS_DICT] = "_GUARD_NOS_DICT",
|
|
441
|
+
[_GUARD_NOS_FLOAT] = "_GUARD_NOS_FLOAT",
|
|
442
|
+
[_GUARD_NOS_INT] = "_GUARD_NOS_INT",
|
|
443
|
+
[_GUARD_NOS_LIST] = "_GUARD_NOS_LIST",
|
|
444
|
+
[_GUARD_NOS_NULL] = "_GUARD_NOS_NULL",
|
|
445
|
+
[_GUARD_NOS_TUPLE] = "_GUARD_NOS_TUPLE",
|
|
446
|
+
[_GUARD_NOS_UNICODE] = "_GUARD_NOS_UNICODE",
|
|
447
|
+
[_GUARD_NOT_EXHAUSTED_LIST] = "_GUARD_NOT_EXHAUSTED_LIST",
|
|
448
|
+
[_GUARD_NOT_EXHAUSTED_RANGE] = "_GUARD_NOT_EXHAUSTED_RANGE",
|
|
449
|
+
[_GUARD_NOT_EXHAUSTED_TUPLE] = "_GUARD_NOT_EXHAUSTED_TUPLE",
|
|
450
|
+
[_GUARD_TOS_ANY_SET] = "_GUARD_TOS_ANY_SET",
|
|
451
|
+
[_GUARD_TOS_DICT] = "_GUARD_TOS_DICT",
|
|
452
|
+
[_GUARD_TOS_FLOAT] = "_GUARD_TOS_FLOAT",
|
|
453
|
+
[_GUARD_TOS_INT] = "_GUARD_TOS_INT",
|
|
454
|
+
[_GUARD_TOS_LIST] = "_GUARD_TOS_LIST",
|
|
455
|
+
[_GUARD_TOS_SLICE] = "_GUARD_TOS_SLICE",
|
|
456
|
+
[_GUARD_TOS_TUPLE] = "_GUARD_TOS_TUPLE",
|
|
457
|
+
[_GUARD_TOS_UNICODE] = "_GUARD_TOS_UNICODE",
|
|
458
|
+
[_GUARD_TYPE_VERSION] = "_GUARD_TYPE_VERSION",
|
|
459
|
+
[_GUARD_TYPE_VERSION_AND_LOCK] = "_GUARD_TYPE_VERSION_AND_LOCK",
|
|
460
|
+
[_IMPORT_FROM] = "_IMPORT_FROM",
|
|
461
|
+
[_IMPORT_NAME] = "_IMPORT_NAME",
|
|
462
|
+
[_INIT_CALL_BOUND_METHOD_EXACT_ARGS] = "_INIT_CALL_BOUND_METHOD_EXACT_ARGS",
|
|
463
|
+
[_INIT_CALL_PY_EXACT_ARGS] = "_INIT_CALL_PY_EXACT_ARGS",
|
|
464
|
+
[_INIT_CALL_PY_EXACT_ARGS_0] = "_INIT_CALL_PY_EXACT_ARGS_0",
|
|
465
|
+
[_INIT_CALL_PY_EXACT_ARGS_1] = "_INIT_CALL_PY_EXACT_ARGS_1",
|
|
466
|
+
[_INIT_CALL_PY_EXACT_ARGS_2] = "_INIT_CALL_PY_EXACT_ARGS_2",
|
|
467
|
+
[_INIT_CALL_PY_EXACT_ARGS_3] = "_INIT_CALL_PY_EXACT_ARGS_3",
|
|
468
|
+
[_INIT_CALL_PY_EXACT_ARGS_4] = "_INIT_CALL_PY_EXACT_ARGS_4",
|
|
469
|
+
[_INSERT_NULL] = "_INSERT_NULL",
|
|
470
|
+
[_IS_NONE] = "_IS_NONE",
|
|
471
|
+
[_IS_OP] = "_IS_OP",
|
|
472
|
+
[_ITER_CHECK_LIST] = "_ITER_CHECK_LIST",
|
|
473
|
+
[_ITER_CHECK_RANGE] = "_ITER_CHECK_RANGE",
|
|
474
|
+
[_ITER_CHECK_TUPLE] = "_ITER_CHECK_TUPLE",
|
|
475
|
+
[_ITER_NEXT_LIST_TIER_TWO] = "_ITER_NEXT_LIST_TIER_TWO",
|
|
476
|
+
[_ITER_NEXT_RANGE] = "_ITER_NEXT_RANGE",
|
|
477
|
+
[_ITER_NEXT_TUPLE] = "_ITER_NEXT_TUPLE",
|
|
478
|
+
[_JUMP_TO_TOP] = "_JUMP_TO_TOP",
|
|
479
|
+
[_LIST_APPEND] = "_LIST_APPEND",
|
|
480
|
+
[_LIST_EXTEND] = "_LIST_EXTEND",
|
|
481
|
+
[_LOAD_ATTR] = "_LOAD_ATTR",
|
|
482
|
+
[_LOAD_ATTR_CLASS] = "_LOAD_ATTR_CLASS",
|
|
483
|
+
[_LOAD_ATTR_INSTANCE_VALUE] = "_LOAD_ATTR_INSTANCE_VALUE",
|
|
484
|
+
[_LOAD_ATTR_METHOD_LAZY_DICT] = "_LOAD_ATTR_METHOD_LAZY_DICT",
|
|
485
|
+
[_LOAD_ATTR_METHOD_NO_DICT] = "_LOAD_ATTR_METHOD_NO_DICT",
|
|
486
|
+
[_LOAD_ATTR_METHOD_WITH_VALUES] = "_LOAD_ATTR_METHOD_WITH_VALUES",
|
|
487
|
+
[_LOAD_ATTR_MODULE] = "_LOAD_ATTR_MODULE",
|
|
488
|
+
[_LOAD_ATTR_NONDESCRIPTOR_NO_DICT] = "_LOAD_ATTR_NONDESCRIPTOR_NO_DICT",
|
|
489
|
+
[_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES] = "_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES",
|
|
490
|
+
[_LOAD_ATTR_PROPERTY_FRAME] = "_LOAD_ATTR_PROPERTY_FRAME",
|
|
491
|
+
[_LOAD_ATTR_SLOT] = "_LOAD_ATTR_SLOT",
|
|
492
|
+
[_LOAD_ATTR_WITH_HINT] = "_LOAD_ATTR_WITH_HINT",
|
|
493
|
+
[_LOAD_BUILD_CLASS] = "_LOAD_BUILD_CLASS",
|
|
494
|
+
[_LOAD_COMMON_CONSTANT] = "_LOAD_COMMON_CONSTANT",
|
|
495
|
+
[_LOAD_CONST_IMMORTAL] = "_LOAD_CONST_IMMORTAL",
|
|
496
|
+
[_LOAD_CONST_INLINE] = "_LOAD_CONST_INLINE",
|
|
497
|
+
[_LOAD_CONST_INLINE_BORROW] = "_LOAD_CONST_INLINE_BORROW",
|
|
498
|
+
[_LOAD_CONST_MORTAL] = "_LOAD_CONST_MORTAL",
|
|
499
|
+
[_LOAD_DEREF] = "_LOAD_DEREF",
|
|
500
|
+
[_LOAD_FAST] = "_LOAD_FAST",
|
|
501
|
+
[_LOAD_FAST_0] = "_LOAD_FAST_0",
|
|
502
|
+
[_LOAD_FAST_1] = "_LOAD_FAST_1",
|
|
503
|
+
[_LOAD_FAST_2] = "_LOAD_FAST_2",
|
|
504
|
+
[_LOAD_FAST_3] = "_LOAD_FAST_3",
|
|
505
|
+
[_LOAD_FAST_4] = "_LOAD_FAST_4",
|
|
506
|
+
[_LOAD_FAST_5] = "_LOAD_FAST_5",
|
|
507
|
+
[_LOAD_FAST_6] = "_LOAD_FAST_6",
|
|
508
|
+
[_LOAD_FAST_7] = "_LOAD_FAST_7",
|
|
509
|
+
[_LOAD_FAST_AND_CLEAR] = "_LOAD_FAST_AND_CLEAR",
|
|
510
|
+
[_LOAD_FAST_BORROW] = "_LOAD_FAST_BORROW",
|
|
511
|
+
[_LOAD_FAST_BORROW_0] = "_LOAD_FAST_BORROW_0",
|
|
512
|
+
[_LOAD_FAST_BORROW_1] = "_LOAD_FAST_BORROW_1",
|
|
513
|
+
[_LOAD_FAST_BORROW_2] = "_LOAD_FAST_BORROW_2",
|
|
514
|
+
[_LOAD_FAST_BORROW_3] = "_LOAD_FAST_BORROW_3",
|
|
515
|
+
[_LOAD_FAST_BORROW_4] = "_LOAD_FAST_BORROW_4",
|
|
516
|
+
[_LOAD_FAST_BORROW_5] = "_LOAD_FAST_BORROW_5",
|
|
517
|
+
[_LOAD_FAST_BORROW_6] = "_LOAD_FAST_BORROW_6",
|
|
518
|
+
[_LOAD_FAST_BORROW_7] = "_LOAD_FAST_BORROW_7",
|
|
519
|
+
[_LOAD_FAST_BORROW_LOAD_FAST_BORROW] = "_LOAD_FAST_BORROW_LOAD_FAST_BORROW",
|
|
520
|
+
[_LOAD_FAST_CHECK] = "_LOAD_FAST_CHECK",
|
|
521
|
+
[_LOAD_FAST_LOAD_FAST] = "_LOAD_FAST_LOAD_FAST",
|
|
522
|
+
[_LOAD_FROM_DICT_OR_DEREF] = "_LOAD_FROM_DICT_OR_DEREF",
|
|
523
|
+
[_LOAD_GLOBAL] = "_LOAD_GLOBAL",
|
|
524
|
+
[_LOAD_GLOBAL_BUILTINS] = "_LOAD_GLOBAL_BUILTINS",
|
|
525
|
+
[_LOAD_GLOBAL_MODULE] = "_LOAD_GLOBAL_MODULE",
|
|
526
|
+
[_LOAD_LOCALS] = "_LOAD_LOCALS",
|
|
527
|
+
[_LOAD_NAME] = "_LOAD_NAME",
|
|
528
|
+
[_LOAD_SMALL_INT] = "_LOAD_SMALL_INT",
|
|
529
|
+
[_LOAD_SMALL_INT_0] = "_LOAD_SMALL_INT_0",
|
|
530
|
+
[_LOAD_SMALL_INT_1] = "_LOAD_SMALL_INT_1",
|
|
531
|
+
[_LOAD_SMALL_INT_2] = "_LOAD_SMALL_INT_2",
|
|
532
|
+
[_LOAD_SMALL_INT_3] = "_LOAD_SMALL_INT_3",
|
|
533
|
+
[_LOAD_SPECIAL] = "_LOAD_SPECIAL",
|
|
534
|
+
[_LOAD_SUPER_ATTR_ATTR] = "_LOAD_SUPER_ATTR_ATTR",
|
|
535
|
+
[_LOAD_SUPER_ATTR_METHOD] = "_LOAD_SUPER_ATTR_METHOD",
|
|
536
|
+
[_MAKE_CALLARGS_A_TUPLE] = "_MAKE_CALLARGS_A_TUPLE",
|
|
537
|
+
[_MAKE_CELL] = "_MAKE_CELL",
|
|
538
|
+
[_MAKE_FUNCTION] = "_MAKE_FUNCTION",
|
|
539
|
+
[_MAKE_WARM] = "_MAKE_WARM",
|
|
540
|
+
[_MAP_ADD] = "_MAP_ADD",
|
|
541
|
+
[_MATCH_CLASS] = "_MATCH_CLASS",
|
|
542
|
+
[_MATCH_KEYS] = "_MATCH_KEYS",
|
|
543
|
+
[_MATCH_MAPPING] = "_MATCH_MAPPING",
|
|
544
|
+
[_MATCH_SEQUENCE] = "_MATCH_SEQUENCE",
|
|
545
|
+
[_MAYBE_EXPAND_METHOD] = "_MAYBE_EXPAND_METHOD",
|
|
546
|
+
[_MAYBE_EXPAND_METHOD_KW] = "_MAYBE_EXPAND_METHOD_KW",
|
|
547
|
+
[_NOP] = "_NOP",
|
|
548
|
+
[_POP_EXCEPT] = "_POP_EXCEPT",
|
|
549
|
+
[_POP_TOP] = "_POP_TOP",
|
|
550
|
+
[_POP_TOP_LOAD_CONST_INLINE] = "_POP_TOP_LOAD_CONST_INLINE",
|
|
551
|
+
[_POP_TOP_LOAD_CONST_INLINE_BORROW] = "_POP_TOP_LOAD_CONST_INLINE_BORROW",
|
|
552
|
+
[_POP_TWO_LOAD_CONST_INLINE_BORROW] = "_POP_TWO_LOAD_CONST_INLINE_BORROW",
|
|
553
|
+
[_PUSH_EXC_INFO] = "_PUSH_EXC_INFO",
|
|
554
|
+
[_PUSH_FRAME] = "_PUSH_FRAME",
|
|
555
|
+
[_PUSH_NULL] = "_PUSH_NULL",
|
|
556
|
+
[_PUSH_NULL_CONDITIONAL] = "_PUSH_NULL_CONDITIONAL",
|
|
557
|
+
[_PY_FRAME_GENERAL] = "_PY_FRAME_GENERAL",
|
|
558
|
+
[_PY_FRAME_KW] = "_PY_FRAME_KW",
|
|
559
|
+
[_REPLACE_WITH_TRUE] = "_REPLACE_WITH_TRUE",
|
|
560
|
+
[_RESUME_CHECK] = "_RESUME_CHECK",
|
|
561
|
+
[_RETURN_GENERATOR] = "_RETURN_GENERATOR",
|
|
562
|
+
[_RETURN_VALUE] = "_RETURN_VALUE",
|
|
563
|
+
[_SAVE_RETURN_OFFSET] = "_SAVE_RETURN_OFFSET",
|
|
564
|
+
[_SEND_GEN_FRAME] = "_SEND_GEN_FRAME",
|
|
565
|
+
[_SETUP_ANNOTATIONS] = "_SETUP_ANNOTATIONS",
|
|
566
|
+
[_SET_ADD] = "_SET_ADD",
|
|
567
|
+
[_SET_FUNCTION_ATTRIBUTE] = "_SET_FUNCTION_ATTRIBUTE",
|
|
568
|
+
[_SET_IP] = "_SET_IP",
|
|
569
|
+
[_SET_UPDATE] = "_SET_UPDATE",
|
|
570
|
+
[_START_EXECUTOR] = "_START_EXECUTOR",
|
|
571
|
+
[_STORE_ATTR] = "_STORE_ATTR",
|
|
572
|
+
[_STORE_ATTR_INSTANCE_VALUE] = "_STORE_ATTR_INSTANCE_VALUE",
|
|
573
|
+
[_STORE_ATTR_SLOT] = "_STORE_ATTR_SLOT",
|
|
574
|
+
[_STORE_ATTR_WITH_HINT] = "_STORE_ATTR_WITH_HINT",
|
|
575
|
+
[_STORE_DEREF] = "_STORE_DEREF",
|
|
576
|
+
[_STORE_FAST] = "_STORE_FAST",
|
|
577
|
+
[_STORE_FAST_0] = "_STORE_FAST_0",
|
|
578
|
+
[_STORE_FAST_1] = "_STORE_FAST_1",
|
|
579
|
+
[_STORE_FAST_2] = "_STORE_FAST_2",
|
|
580
|
+
[_STORE_FAST_3] = "_STORE_FAST_3",
|
|
581
|
+
[_STORE_FAST_4] = "_STORE_FAST_4",
|
|
582
|
+
[_STORE_FAST_5] = "_STORE_FAST_5",
|
|
583
|
+
[_STORE_FAST_6] = "_STORE_FAST_6",
|
|
584
|
+
[_STORE_FAST_7] = "_STORE_FAST_7",
|
|
585
|
+
[_STORE_FAST_LOAD_FAST] = "_STORE_FAST_LOAD_FAST",
|
|
586
|
+
[_STORE_FAST_STORE_FAST] = "_STORE_FAST_STORE_FAST",
|
|
587
|
+
[_STORE_GLOBAL] = "_STORE_GLOBAL",
|
|
588
|
+
[_STORE_NAME] = "_STORE_NAME",
|
|
589
|
+
[_STORE_SLICE] = "_STORE_SLICE",
|
|
590
|
+
[_STORE_SUBSCR] = "_STORE_SUBSCR",
|
|
591
|
+
[_STORE_SUBSCR_DICT] = "_STORE_SUBSCR_DICT",
|
|
592
|
+
[_STORE_SUBSCR_LIST_INT] = "_STORE_SUBSCR_LIST_INT",
|
|
593
|
+
[_SWAP] = "_SWAP",
|
|
594
|
+
[_TIER2_RESUME_CHECK] = "_TIER2_RESUME_CHECK",
|
|
595
|
+
[_TO_BOOL] = "_TO_BOOL",
|
|
596
|
+
[_TO_BOOL_BOOL] = "_TO_BOOL_BOOL",
|
|
597
|
+
[_TO_BOOL_INT] = "_TO_BOOL_INT",
|
|
598
|
+
[_TO_BOOL_LIST] = "_TO_BOOL_LIST",
|
|
599
|
+
[_TO_BOOL_NONE] = "_TO_BOOL_NONE",
|
|
600
|
+
[_TO_BOOL_STR] = "_TO_BOOL_STR",
|
|
601
|
+
[_UNARY_INVERT] = "_UNARY_INVERT",
|
|
602
|
+
[_UNARY_NEGATIVE] = "_UNARY_NEGATIVE",
|
|
603
|
+
[_UNARY_NOT] = "_UNARY_NOT",
|
|
604
|
+
[_UNPACK_EX] = "_UNPACK_EX",
|
|
605
|
+
[_UNPACK_SEQUENCE] = "_UNPACK_SEQUENCE",
|
|
606
|
+
[_UNPACK_SEQUENCE_LIST] = "_UNPACK_SEQUENCE_LIST",
|
|
607
|
+
[_UNPACK_SEQUENCE_TUPLE] = "_UNPACK_SEQUENCE_TUPLE",
|
|
608
|
+
[_UNPACK_SEQUENCE_TWO_TUPLE] = "_UNPACK_SEQUENCE_TWO_TUPLE",
|
|
609
|
+
[_WITH_EXCEPT_START] = "_WITH_EXCEPT_START",
|
|
610
|
+
[_YIELD_VALUE] = "_YIELD_VALUE",
|
|
611
|
+
};
|
|
612
|
+
int _PyUop_num_popped(int opcode, int oparg)
|
|
613
|
+
{
|
|
614
|
+
switch(opcode) {
|
|
615
|
+
case _NOP:
|
|
616
|
+
return 0;
|
|
617
|
+
case _CHECK_PERIODIC:
|
|
618
|
+
return 0;
|
|
619
|
+
case _CHECK_PERIODIC_IF_NOT_YIELD_FROM:
|
|
620
|
+
return 0;
|
|
621
|
+
case _RESUME_CHECK:
|
|
622
|
+
return 0;
|
|
623
|
+
case _LOAD_FAST_CHECK:
|
|
624
|
+
return 0;
|
|
625
|
+
case _LOAD_FAST_0:
|
|
626
|
+
return 0;
|
|
627
|
+
case _LOAD_FAST_1:
|
|
628
|
+
return 0;
|
|
629
|
+
case _LOAD_FAST_2:
|
|
630
|
+
return 0;
|
|
631
|
+
case _LOAD_FAST_3:
|
|
632
|
+
return 0;
|
|
633
|
+
case _LOAD_FAST_4:
|
|
634
|
+
return 0;
|
|
635
|
+
case _LOAD_FAST_5:
|
|
636
|
+
return 0;
|
|
637
|
+
case _LOAD_FAST_6:
|
|
638
|
+
return 0;
|
|
639
|
+
case _LOAD_FAST_7:
|
|
640
|
+
return 0;
|
|
641
|
+
case _LOAD_FAST:
|
|
642
|
+
return 0;
|
|
643
|
+
case _LOAD_FAST_BORROW_0:
|
|
644
|
+
return 0;
|
|
645
|
+
case _LOAD_FAST_BORROW_1:
|
|
646
|
+
return 0;
|
|
647
|
+
case _LOAD_FAST_BORROW_2:
|
|
648
|
+
return 0;
|
|
649
|
+
case _LOAD_FAST_BORROW_3:
|
|
650
|
+
return 0;
|
|
651
|
+
case _LOAD_FAST_BORROW_4:
|
|
652
|
+
return 0;
|
|
653
|
+
case _LOAD_FAST_BORROW_5:
|
|
654
|
+
return 0;
|
|
655
|
+
case _LOAD_FAST_BORROW_6:
|
|
656
|
+
return 0;
|
|
657
|
+
case _LOAD_FAST_BORROW_7:
|
|
658
|
+
return 0;
|
|
659
|
+
case _LOAD_FAST_BORROW:
|
|
660
|
+
return 0;
|
|
661
|
+
case _LOAD_FAST_AND_CLEAR:
|
|
662
|
+
return 0;
|
|
663
|
+
case _LOAD_FAST_LOAD_FAST:
|
|
664
|
+
return 0;
|
|
665
|
+
case _LOAD_FAST_BORROW_LOAD_FAST_BORROW:
|
|
666
|
+
return 0;
|
|
667
|
+
case _LOAD_CONST_MORTAL:
|
|
668
|
+
return 0;
|
|
669
|
+
case _LOAD_CONST_IMMORTAL:
|
|
670
|
+
return 0;
|
|
671
|
+
case _LOAD_SMALL_INT_0:
|
|
672
|
+
return 0;
|
|
673
|
+
case _LOAD_SMALL_INT_1:
|
|
674
|
+
return 0;
|
|
675
|
+
case _LOAD_SMALL_INT_2:
|
|
676
|
+
return 0;
|
|
677
|
+
case _LOAD_SMALL_INT_3:
|
|
678
|
+
return 0;
|
|
679
|
+
case _LOAD_SMALL_INT:
|
|
680
|
+
return 0;
|
|
681
|
+
case _STORE_FAST_0:
|
|
682
|
+
return 1;
|
|
683
|
+
case _STORE_FAST_1:
|
|
684
|
+
return 1;
|
|
685
|
+
case _STORE_FAST_2:
|
|
686
|
+
return 1;
|
|
687
|
+
case _STORE_FAST_3:
|
|
688
|
+
return 1;
|
|
689
|
+
case _STORE_FAST_4:
|
|
690
|
+
return 1;
|
|
691
|
+
case _STORE_FAST_5:
|
|
692
|
+
return 1;
|
|
693
|
+
case _STORE_FAST_6:
|
|
694
|
+
return 1;
|
|
695
|
+
case _STORE_FAST_7:
|
|
696
|
+
return 1;
|
|
697
|
+
case _STORE_FAST:
|
|
698
|
+
return 1;
|
|
699
|
+
case _STORE_FAST_LOAD_FAST:
|
|
700
|
+
return 1;
|
|
701
|
+
case _STORE_FAST_STORE_FAST:
|
|
702
|
+
return 2;
|
|
703
|
+
case _POP_TOP:
|
|
704
|
+
return 1;
|
|
705
|
+
case _PUSH_NULL:
|
|
706
|
+
return 0;
|
|
707
|
+
case _END_FOR:
|
|
708
|
+
return 1;
|
|
709
|
+
case _END_SEND:
|
|
710
|
+
return 2;
|
|
711
|
+
case _UNARY_NEGATIVE:
|
|
712
|
+
return 1;
|
|
713
|
+
case _UNARY_NOT:
|
|
714
|
+
return 1;
|
|
715
|
+
case _TO_BOOL:
|
|
716
|
+
return 1;
|
|
717
|
+
case _TO_BOOL_BOOL:
|
|
718
|
+
return 0;
|
|
719
|
+
case _TO_BOOL_INT:
|
|
720
|
+
return 1;
|
|
721
|
+
case _GUARD_NOS_LIST:
|
|
722
|
+
return 0;
|
|
723
|
+
case _GUARD_TOS_LIST:
|
|
724
|
+
return 0;
|
|
725
|
+
case _GUARD_TOS_SLICE:
|
|
726
|
+
return 0;
|
|
727
|
+
case _TO_BOOL_LIST:
|
|
728
|
+
return 1;
|
|
729
|
+
case _TO_BOOL_NONE:
|
|
730
|
+
return 1;
|
|
731
|
+
case _GUARD_NOS_UNICODE:
|
|
732
|
+
return 0;
|
|
733
|
+
case _GUARD_TOS_UNICODE:
|
|
734
|
+
return 0;
|
|
735
|
+
case _TO_BOOL_STR:
|
|
736
|
+
return 1;
|
|
737
|
+
case _REPLACE_WITH_TRUE:
|
|
738
|
+
return 1;
|
|
739
|
+
case _UNARY_INVERT:
|
|
740
|
+
return 1;
|
|
741
|
+
case _GUARD_NOS_INT:
|
|
742
|
+
return 0;
|
|
743
|
+
case _GUARD_TOS_INT:
|
|
744
|
+
return 0;
|
|
745
|
+
case _BINARY_OP_MULTIPLY_INT:
|
|
746
|
+
return 2;
|
|
747
|
+
case _BINARY_OP_ADD_INT:
|
|
748
|
+
return 2;
|
|
749
|
+
case _BINARY_OP_SUBTRACT_INT:
|
|
750
|
+
return 2;
|
|
751
|
+
case _GUARD_NOS_FLOAT:
|
|
752
|
+
return 0;
|
|
753
|
+
case _GUARD_TOS_FLOAT:
|
|
754
|
+
return 0;
|
|
755
|
+
case _BINARY_OP_MULTIPLY_FLOAT:
|
|
756
|
+
return 2;
|
|
757
|
+
case _BINARY_OP_ADD_FLOAT:
|
|
758
|
+
return 2;
|
|
759
|
+
case _BINARY_OP_SUBTRACT_FLOAT:
|
|
760
|
+
return 2;
|
|
761
|
+
case _BINARY_OP_ADD_UNICODE:
|
|
762
|
+
return 2;
|
|
763
|
+
case _BINARY_OP_INPLACE_ADD_UNICODE:
|
|
764
|
+
return 2;
|
|
765
|
+
case _GUARD_BINARY_OP_EXTEND:
|
|
766
|
+
return 0;
|
|
767
|
+
case _BINARY_OP_EXTEND:
|
|
768
|
+
return 2;
|
|
769
|
+
case _BINARY_SLICE:
|
|
770
|
+
return 3;
|
|
771
|
+
case _STORE_SLICE:
|
|
772
|
+
return 4;
|
|
773
|
+
case _BINARY_OP_SUBSCR_LIST_INT:
|
|
774
|
+
return 2;
|
|
775
|
+
case _BINARY_OP_SUBSCR_LIST_SLICE:
|
|
776
|
+
return 2;
|
|
777
|
+
case _BINARY_OP_SUBSCR_STR_INT:
|
|
778
|
+
return 2;
|
|
779
|
+
case _GUARD_NOS_TUPLE:
|
|
780
|
+
return 0;
|
|
781
|
+
case _GUARD_TOS_TUPLE:
|
|
782
|
+
return 0;
|
|
783
|
+
case _BINARY_OP_SUBSCR_TUPLE_INT:
|
|
784
|
+
return 2;
|
|
785
|
+
case _GUARD_NOS_DICT:
|
|
786
|
+
return 0;
|
|
787
|
+
case _GUARD_TOS_DICT:
|
|
788
|
+
return 0;
|
|
789
|
+
case _BINARY_OP_SUBSCR_DICT:
|
|
790
|
+
return 2;
|
|
791
|
+
case _BINARY_OP_SUBSCR_CHECK_FUNC:
|
|
792
|
+
return 0;
|
|
793
|
+
case _BINARY_OP_SUBSCR_INIT_CALL:
|
|
794
|
+
return 3;
|
|
795
|
+
case _LIST_APPEND:
|
|
796
|
+
return 1;
|
|
797
|
+
case _SET_ADD:
|
|
798
|
+
return 1;
|
|
799
|
+
case _STORE_SUBSCR:
|
|
800
|
+
return 3;
|
|
801
|
+
case _STORE_SUBSCR_LIST_INT:
|
|
802
|
+
return 3;
|
|
803
|
+
case _STORE_SUBSCR_DICT:
|
|
804
|
+
return 3;
|
|
805
|
+
case _DELETE_SUBSCR:
|
|
806
|
+
return 2;
|
|
807
|
+
case _CALL_INTRINSIC_1:
|
|
808
|
+
return 1;
|
|
809
|
+
case _CALL_INTRINSIC_2:
|
|
810
|
+
return 2;
|
|
811
|
+
case _RETURN_VALUE:
|
|
812
|
+
return 1;
|
|
813
|
+
case _GET_AITER:
|
|
814
|
+
return 1;
|
|
815
|
+
case _GET_ANEXT:
|
|
816
|
+
return 0;
|
|
817
|
+
case _GET_AWAITABLE:
|
|
818
|
+
return 1;
|
|
819
|
+
case _SEND_GEN_FRAME:
|
|
820
|
+
return 1;
|
|
821
|
+
case _YIELD_VALUE:
|
|
822
|
+
return 1;
|
|
823
|
+
case _POP_EXCEPT:
|
|
824
|
+
return 1;
|
|
825
|
+
case _LOAD_COMMON_CONSTANT:
|
|
826
|
+
return 0;
|
|
827
|
+
case _LOAD_BUILD_CLASS:
|
|
828
|
+
return 0;
|
|
829
|
+
case _STORE_NAME:
|
|
830
|
+
return 1;
|
|
831
|
+
case _DELETE_NAME:
|
|
832
|
+
return 0;
|
|
833
|
+
case _UNPACK_SEQUENCE:
|
|
834
|
+
return 1;
|
|
835
|
+
case _UNPACK_SEQUENCE_TWO_TUPLE:
|
|
836
|
+
return 1;
|
|
837
|
+
case _UNPACK_SEQUENCE_TUPLE:
|
|
838
|
+
return 1;
|
|
839
|
+
case _UNPACK_SEQUENCE_LIST:
|
|
840
|
+
return 1;
|
|
841
|
+
case _UNPACK_EX:
|
|
842
|
+
return 1;
|
|
843
|
+
case _STORE_ATTR:
|
|
844
|
+
return 2;
|
|
845
|
+
case _DELETE_ATTR:
|
|
846
|
+
return 1;
|
|
847
|
+
case _STORE_GLOBAL:
|
|
848
|
+
return 1;
|
|
849
|
+
case _DELETE_GLOBAL:
|
|
850
|
+
return 0;
|
|
851
|
+
case _LOAD_LOCALS:
|
|
852
|
+
return 0;
|
|
853
|
+
case _LOAD_NAME:
|
|
854
|
+
return 0;
|
|
855
|
+
case _LOAD_GLOBAL:
|
|
856
|
+
return 0;
|
|
857
|
+
case _PUSH_NULL_CONDITIONAL:
|
|
858
|
+
return 0;
|
|
859
|
+
case _GUARD_GLOBALS_VERSION:
|
|
860
|
+
return 0;
|
|
861
|
+
case _LOAD_GLOBAL_MODULE:
|
|
862
|
+
return 0;
|
|
863
|
+
case _LOAD_GLOBAL_BUILTINS:
|
|
864
|
+
return 0;
|
|
865
|
+
case _DELETE_FAST:
|
|
866
|
+
return 0;
|
|
867
|
+
case _MAKE_CELL:
|
|
868
|
+
return 0;
|
|
869
|
+
case _DELETE_DEREF:
|
|
870
|
+
return 0;
|
|
871
|
+
case _LOAD_FROM_DICT_OR_DEREF:
|
|
872
|
+
return 1;
|
|
873
|
+
case _LOAD_DEREF:
|
|
874
|
+
return 0;
|
|
875
|
+
case _STORE_DEREF:
|
|
876
|
+
return 1;
|
|
877
|
+
case _COPY_FREE_VARS:
|
|
878
|
+
return 0;
|
|
879
|
+
case _BUILD_STRING:
|
|
880
|
+
return oparg;
|
|
881
|
+
case _BUILD_INTERPOLATION:
|
|
882
|
+
return 2 + (oparg & 1);
|
|
883
|
+
case _BUILD_TEMPLATE:
|
|
884
|
+
return 2;
|
|
885
|
+
case _BUILD_TUPLE:
|
|
886
|
+
return oparg;
|
|
887
|
+
case _BUILD_LIST:
|
|
888
|
+
return oparg;
|
|
889
|
+
case _LIST_EXTEND:
|
|
890
|
+
return 1;
|
|
891
|
+
case _SET_UPDATE:
|
|
892
|
+
return 1;
|
|
893
|
+
case _BUILD_SET:
|
|
894
|
+
return oparg;
|
|
895
|
+
case _BUILD_MAP:
|
|
896
|
+
return oparg*2;
|
|
897
|
+
case _SETUP_ANNOTATIONS:
|
|
898
|
+
return 0;
|
|
899
|
+
case _DICT_UPDATE:
|
|
900
|
+
return 1;
|
|
901
|
+
case _DICT_MERGE:
|
|
902
|
+
return 1;
|
|
903
|
+
case _MAP_ADD:
|
|
904
|
+
return 2;
|
|
905
|
+
case _LOAD_SUPER_ATTR_ATTR:
|
|
906
|
+
return 3;
|
|
907
|
+
case _LOAD_SUPER_ATTR_METHOD:
|
|
908
|
+
return 3;
|
|
909
|
+
case _LOAD_ATTR:
|
|
910
|
+
return 1;
|
|
911
|
+
case _GUARD_TYPE_VERSION:
|
|
912
|
+
return 0;
|
|
913
|
+
case _GUARD_TYPE_VERSION_AND_LOCK:
|
|
914
|
+
return 0;
|
|
915
|
+
case _CHECK_MANAGED_OBJECT_HAS_VALUES:
|
|
916
|
+
return 0;
|
|
917
|
+
case _LOAD_ATTR_INSTANCE_VALUE:
|
|
918
|
+
return 1;
|
|
919
|
+
case _LOAD_ATTR_MODULE:
|
|
920
|
+
return 1;
|
|
921
|
+
case _LOAD_ATTR_WITH_HINT:
|
|
922
|
+
return 1;
|
|
923
|
+
case _LOAD_ATTR_SLOT:
|
|
924
|
+
return 1;
|
|
925
|
+
case _CHECK_ATTR_CLASS:
|
|
926
|
+
return 0;
|
|
927
|
+
case _LOAD_ATTR_CLASS:
|
|
928
|
+
return 1;
|
|
929
|
+
case _LOAD_ATTR_PROPERTY_FRAME:
|
|
930
|
+
return 1;
|
|
931
|
+
case _GUARD_DORV_NO_DICT:
|
|
932
|
+
return 0;
|
|
933
|
+
case _STORE_ATTR_INSTANCE_VALUE:
|
|
934
|
+
return 2;
|
|
935
|
+
case _STORE_ATTR_WITH_HINT:
|
|
936
|
+
return 2;
|
|
937
|
+
case _STORE_ATTR_SLOT:
|
|
938
|
+
return 2;
|
|
939
|
+
case _COMPARE_OP:
|
|
940
|
+
return 2;
|
|
941
|
+
case _COMPARE_OP_FLOAT:
|
|
942
|
+
return 2;
|
|
943
|
+
case _COMPARE_OP_INT:
|
|
944
|
+
return 2;
|
|
945
|
+
case _COMPARE_OP_STR:
|
|
946
|
+
return 2;
|
|
947
|
+
case _IS_OP:
|
|
948
|
+
return 2;
|
|
949
|
+
case _CONTAINS_OP:
|
|
950
|
+
return 2;
|
|
951
|
+
case _GUARD_TOS_ANY_SET:
|
|
952
|
+
return 0;
|
|
953
|
+
case _CONTAINS_OP_SET:
|
|
954
|
+
return 2;
|
|
955
|
+
case _CONTAINS_OP_DICT:
|
|
956
|
+
return 2;
|
|
957
|
+
case _CHECK_EG_MATCH:
|
|
958
|
+
return 2;
|
|
959
|
+
case _CHECK_EXC_MATCH:
|
|
960
|
+
return 1;
|
|
961
|
+
case _IMPORT_NAME:
|
|
962
|
+
return 2;
|
|
963
|
+
case _IMPORT_FROM:
|
|
964
|
+
return 0;
|
|
965
|
+
case _IS_NONE:
|
|
966
|
+
return 1;
|
|
967
|
+
case _GET_LEN:
|
|
968
|
+
return 0;
|
|
969
|
+
case _MATCH_CLASS:
|
|
970
|
+
return 3;
|
|
971
|
+
case _MATCH_MAPPING:
|
|
972
|
+
return 0;
|
|
973
|
+
case _MATCH_SEQUENCE:
|
|
974
|
+
return 0;
|
|
975
|
+
case _MATCH_KEYS:
|
|
976
|
+
return 0;
|
|
977
|
+
case _GET_ITER:
|
|
978
|
+
return 1;
|
|
979
|
+
case _GET_YIELD_FROM_ITER:
|
|
980
|
+
return 1;
|
|
981
|
+
case _FOR_ITER_TIER_TWO:
|
|
982
|
+
return 0;
|
|
983
|
+
case _ITER_CHECK_LIST:
|
|
984
|
+
return 0;
|
|
985
|
+
case _GUARD_NOT_EXHAUSTED_LIST:
|
|
986
|
+
return 0;
|
|
987
|
+
case _ITER_NEXT_LIST_TIER_TWO:
|
|
988
|
+
return 0;
|
|
989
|
+
case _ITER_CHECK_TUPLE:
|
|
990
|
+
return 0;
|
|
991
|
+
case _GUARD_NOT_EXHAUSTED_TUPLE:
|
|
992
|
+
return 0;
|
|
993
|
+
case _ITER_NEXT_TUPLE:
|
|
994
|
+
return 0;
|
|
995
|
+
case _ITER_CHECK_RANGE:
|
|
996
|
+
return 0;
|
|
997
|
+
case _GUARD_NOT_EXHAUSTED_RANGE:
|
|
998
|
+
return 0;
|
|
999
|
+
case _ITER_NEXT_RANGE:
|
|
1000
|
+
return 0;
|
|
1001
|
+
case _FOR_ITER_GEN_FRAME:
|
|
1002
|
+
return 0;
|
|
1003
|
+
case _INSERT_NULL:
|
|
1004
|
+
return 1;
|
|
1005
|
+
case _LOAD_SPECIAL:
|
|
1006
|
+
return 0;
|
|
1007
|
+
case _WITH_EXCEPT_START:
|
|
1008
|
+
return 0;
|
|
1009
|
+
case _PUSH_EXC_INFO:
|
|
1010
|
+
return 1;
|
|
1011
|
+
case _GUARD_DORV_VALUES_INST_ATTR_FROM_DICT:
|
|
1012
|
+
return 0;
|
|
1013
|
+
case _GUARD_KEYS_VERSION:
|
|
1014
|
+
return 0;
|
|
1015
|
+
case _LOAD_ATTR_METHOD_WITH_VALUES:
|
|
1016
|
+
return 1;
|
|
1017
|
+
case _LOAD_ATTR_METHOD_NO_DICT:
|
|
1018
|
+
return 1;
|
|
1019
|
+
case _LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES:
|
|
1020
|
+
return 1;
|
|
1021
|
+
case _LOAD_ATTR_NONDESCRIPTOR_NO_DICT:
|
|
1022
|
+
return 1;
|
|
1023
|
+
case _CHECK_ATTR_METHOD_LAZY_DICT:
|
|
1024
|
+
return 0;
|
|
1025
|
+
case _LOAD_ATTR_METHOD_LAZY_DICT:
|
|
1026
|
+
return 1;
|
|
1027
|
+
case _MAYBE_EXPAND_METHOD:
|
|
1028
|
+
return 0;
|
|
1029
|
+
case _PY_FRAME_GENERAL:
|
|
1030
|
+
return 2 + oparg;
|
|
1031
|
+
case _CHECK_FUNCTION_VERSION:
|
|
1032
|
+
return 0;
|
|
1033
|
+
case _CHECK_FUNCTION_VERSION_INLINE:
|
|
1034
|
+
return 0;
|
|
1035
|
+
case _CHECK_METHOD_VERSION:
|
|
1036
|
+
return 0;
|
|
1037
|
+
case _EXPAND_METHOD:
|
|
1038
|
+
return 0;
|
|
1039
|
+
case _CHECK_IS_NOT_PY_CALLABLE:
|
|
1040
|
+
return 0;
|
|
1041
|
+
case _CALL_NON_PY_GENERAL:
|
|
1042
|
+
return 2 + oparg;
|
|
1043
|
+
case _CHECK_CALL_BOUND_METHOD_EXACT_ARGS:
|
|
1044
|
+
return 0;
|
|
1045
|
+
case _INIT_CALL_BOUND_METHOD_EXACT_ARGS:
|
|
1046
|
+
return 0;
|
|
1047
|
+
case _CHECK_PEP_523:
|
|
1048
|
+
return 0;
|
|
1049
|
+
case _CHECK_FUNCTION_EXACT_ARGS:
|
|
1050
|
+
return 0;
|
|
1051
|
+
case _CHECK_STACK_SPACE:
|
|
1052
|
+
return 0;
|
|
1053
|
+
case _CHECK_RECURSION_REMAINING:
|
|
1054
|
+
return 0;
|
|
1055
|
+
case _INIT_CALL_PY_EXACT_ARGS_0:
|
|
1056
|
+
return 2 + oparg;
|
|
1057
|
+
case _INIT_CALL_PY_EXACT_ARGS_1:
|
|
1058
|
+
return 2 + oparg;
|
|
1059
|
+
case _INIT_CALL_PY_EXACT_ARGS_2:
|
|
1060
|
+
return 2 + oparg;
|
|
1061
|
+
case _INIT_CALL_PY_EXACT_ARGS_3:
|
|
1062
|
+
return 2 + oparg;
|
|
1063
|
+
case _INIT_CALL_PY_EXACT_ARGS_4:
|
|
1064
|
+
return 2 + oparg;
|
|
1065
|
+
case _INIT_CALL_PY_EXACT_ARGS:
|
|
1066
|
+
return 2 + oparg;
|
|
1067
|
+
case _PUSH_FRAME:
|
|
1068
|
+
return 1;
|
|
1069
|
+
case _GUARD_NOS_NULL:
|
|
1070
|
+
return 0;
|
|
1071
|
+
case _GUARD_CALLABLE_TYPE_1:
|
|
1072
|
+
return 0;
|
|
1073
|
+
case _CALL_TYPE_1:
|
|
1074
|
+
return 3;
|
|
1075
|
+
case _GUARD_CALLABLE_STR_1:
|
|
1076
|
+
return 0;
|
|
1077
|
+
case _CALL_STR_1:
|
|
1078
|
+
return 3;
|
|
1079
|
+
case _GUARD_CALLABLE_TUPLE_1:
|
|
1080
|
+
return 0;
|
|
1081
|
+
case _CALL_TUPLE_1:
|
|
1082
|
+
return 3;
|
|
1083
|
+
case _CHECK_AND_ALLOCATE_OBJECT:
|
|
1084
|
+
return 0;
|
|
1085
|
+
case _CREATE_INIT_FRAME:
|
|
1086
|
+
return 2 + oparg;
|
|
1087
|
+
case _EXIT_INIT_CHECK:
|
|
1088
|
+
return 1;
|
|
1089
|
+
case _CALL_BUILTIN_CLASS:
|
|
1090
|
+
return 2 + oparg;
|
|
1091
|
+
case _CALL_BUILTIN_O:
|
|
1092
|
+
return 2 + oparg;
|
|
1093
|
+
case _CALL_BUILTIN_FAST:
|
|
1094
|
+
return 2 + oparg;
|
|
1095
|
+
case _CALL_BUILTIN_FAST_WITH_KEYWORDS:
|
|
1096
|
+
return 2 + oparg;
|
|
1097
|
+
case _GUARD_CALLABLE_LEN:
|
|
1098
|
+
return 0;
|
|
1099
|
+
case _CALL_LEN:
|
|
1100
|
+
return 3;
|
|
1101
|
+
case _CALL_ISINSTANCE:
|
|
1102
|
+
return 2 + oparg;
|
|
1103
|
+
case _CALL_LIST_APPEND:
|
|
1104
|
+
return 3;
|
|
1105
|
+
case _CALL_METHOD_DESCRIPTOR_O:
|
|
1106
|
+
return 2 + oparg;
|
|
1107
|
+
case _CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS:
|
|
1108
|
+
return 2 + oparg;
|
|
1109
|
+
case _CALL_METHOD_DESCRIPTOR_NOARGS:
|
|
1110
|
+
return 2 + oparg;
|
|
1111
|
+
case _CALL_METHOD_DESCRIPTOR_FAST:
|
|
1112
|
+
return 2 + oparg;
|
|
1113
|
+
case _MAYBE_EXPAND_METHOD_KW:
|
|
1114
|
+
return 0;
|
|
1115
|
+
case _PY_FRAME_KW:
|
|
1116
|
+
return 3 + oparg;
|
|
1117
|
+
case _CHECK_FUNCTION_VERSION_KW:
|
|
1118
|
+
return 0;
|
|
1119
|
+
case _CHECK_METHOD_VERSION_KW:
|
|
1120
|
+
return 0;
|
|
1121
|
+
case _EXPAND_METHOD_KW:
|
|
1122
|
+
return 0;
|
|
1123
|
+
case _CHECK_IS_NOT_PY_CALLABLE_KW:
|
|
1124
|
+
return 0;
|
|
1125
|
+
case _CALL_KW_NON_PY:
|
|
1126
|
+
return 3 + oparg;
|
|
1127
|
+
case _MAKE_CALLARGS_A_TUPLE:
|
|
1128
|
+
return 0;
|
|
1129
|
+
case _MAKE_FUNCTION:
|
|
1130
|
+
return 1;
|
|
1131
|
+
case _SET_FUNCTION_ATTRIBUTE:
|
|
1132
|
+
return 2;
|
|
1133
|
+
case _RETURN_GENERATOR:
|
|
1134
|
+
return 0;
|
|
1135
|
+
case _BUILD_SLICE:
|
|
1136
|
+
return oparg;
|
|
1137
|
+
case _CONVERT_VALUE:
|
|
1138
|
+
return 1;
|
|
1139
|
+
case _FORMAT_SIMPLE:
|
|
1140
|
+
return 1;
|
|
1141
|
+
case _FORMAT_WITH_SPEC:
|
|
1142
|
+
return 2;
|
|
1143
|
+
case _COPY:
|
|
1144
|
+
return 0;
|
|
1145
|
+
case _BINARY_OP:
|
|
1146
|
+
return 2;
|
|
1147
|
+
case _SWAP:
|
|
1148
|
+
return 0;
|
|
1149
|
+
case _GUARD_IS_TRUE_POP:
|
|
1150
|
+
return 1;
|
|
1151
|
+
case _GUARD_IS_FALSE_POP:
|
|
1152
|
+
return 1;
|
|
1153
|
+
case _GUARD_IS_NONE_POP:
|
|
1154
|
+
return 1;
|
|
1155
|
+
case _GUARD_IS_NOT_NONE_POP:
|
|
1156
|
+
return 1;
|
|
1157
|
+
case _JUMP_TO_TOP:
|
|
1158
|
+
return 0;
|
|
1159
|
+
case _SET_IP:
|
|
1160
|
+
return 0;
|
|
1161
|
+
case _CHECK_STACK_SPACE_OPERAND:
|
|
1162
|
+
return 0;
|
|
1163
|
+
case _SAVE_RETURN_OFFSET:
|
|
1164
|
+
return 0;
|
|
1165
|
+
case _EXIT_TRACE:
|
|
1166
|
+
return 0;
|
|
1167
|
+
case _CHECK_VALIDITY:
|
|
1168
|
+
return 0;
|
|
1169
|
+
case _LOAD_CONST_INLINE:
|
|
1170
|
+
return 0;
|
|
1171
|
+
case _POP_TOP_LOAD_CONST_INLINE:
|
|
1172
|
+
return 1;
|
|
1173
|
+
case _LOAD_CONST_INLINE_BORROW:
|
|
1174
|
+
return 0;
|
|
1175
|
+
case _POP_TOP_LOAD_CONST_INLINE_BORROW:
|
|
1176
|
+
return 1;
|
|
1177
|
+
case _POP_TWO_LOAD_CONST_INLINE_BORROW:
|
|
1178
|
+
return 2;
|
|
1179
|
+
case _CHECK_FUNCTION:
|
|
1180
|
+
return 0;
|
|
1181
|
+
case _START_EXECUTOR:
|
|
1182
|
+
return 0;
|
|
1183
|
+
case _MAKE_WARM:
|
|
1184
|
+
return 0;
|
|
1185
|
+
case _FATAL_ERROR:
|
|
1186
|
+
return 0;
|
|
1187
|
+
case _DEOPT:
|
|
1188
|
+
return 0;
|
|
1189
|
+
case _ERROR_POP_N:
|
|
1190
|
+
return 0;
|
|
1191
|
+
case _TIER2_RESUME_CHECK:
|
|
1192
|
+
return 0;
|
|
1193
|
+
default:
|
|
1194
|
+
return -1;
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
#endif // NEED_OPCODE_METADATA
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
#ifdef __cplusplus
|
|
1202
|
+
}
|
|
1203
|
+
#endif
|
|
1204
|
+
#endif /* !Py_CORE_UOP_METADATA_H */
|