debugpy 1.8.5__zip → 1.8.7__zip
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.
- {debugpy-1.8.5/src/debugpy.egg-info → debugpy-1.8.7}/PKG-INFO +1 -1
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_calltip_util.py +19 -21
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_completer.py +30 -30
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_execfile.py +3 -1
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_filesystem_encoding.py +43 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_getopt.py +35 -32
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_imports_tipper.py +83 -84
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_jy_imports_tipper.py +92 -99
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_log.py +2 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_saved_modules.py +51 -27
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_sys_patch.py +11 -7
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_tipper_common.py +6 -5
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/fsnotify/__init__.py +34 -38
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_console_utils.py +71 -69
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_import_hook.py +1 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_imports.py +0 -1
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_ipython_console.py +14 -16
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_ipython_console_011.py +81 -93
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py +3 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_localhost.py +9 -8
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_log.py +33 -25
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py +183 -170
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey_qt.py +33 -29
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_override.py +6 -4
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_umd.py +19 -18
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_versioncheck.py +3 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles.py +165 -138
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_coverage.py +77 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_nose.py +35 -36
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_parallel.py +22 -23
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_parallel_client.py +37 -57
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_pytest2.py +54 -52
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_unittest.py +28 -37
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_xml_rpc.py +56 -53
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py +604 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/debugProtocol.json +551 -445
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_base_schema.py +25 -29
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema.py +17458 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema_log.py +11 -12
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevconsole_code.py +18 -19
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info.py +41 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py +328 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_api.py +263 -214
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_breakpoints.py +7 -10
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_bytecode_utils.py +187 -92
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_bytecode_utils_py311.py +105 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_code_to_source.py +46 -51
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_collect_bytecode_info.py +239 -176
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py +370 -297
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm_constants.py +78 -86
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py +55 -59
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.py +194 -58
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_thread_wrappers.py +2 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_console.py +18 -23
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_constants.py +159 -127
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_custom_frames.py +10 -12
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.c +55527 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.pxd +15 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.pyx +803 -511
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython_wrapper.py +18 -7
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py +32 -24
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_defaults.py +11 -13
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_dont_trace.py +16 -16
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_dont_trace_files.py +27 -2
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_exec2.py +1 -1
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_extension_api.py +4 -5
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_extension_utils.py +8 -10
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_filtering.py +50 -45
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame.py +462 -407
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame_utils.py +69 -61
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_gevent_integration.py +14 -16
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_import_class.py +27 -25
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_io.py +40 -42
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_json_debug_options.py +200 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command.py +20 -19
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command_factory_json.py +199 -108
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command_factory_xml.py +121 -73
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_plugin_utils.py +208 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_process_net_command.py +206 -159
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_process_net_command_json.py +346 -334
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_referrers.py +75 -80
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_reload.py +35 -35
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_resolver.py +116 -124
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py +44 -58
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py +51 -55
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py +4 -2
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_signature.py +24 -24
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_source_mapping.py +19 -20
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_stackless.py +45 -49
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_suspended_frames.py +61 -58
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_thread_lifecycle.py +23 -13
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_timeout.py +29 -31
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_dispatch.py +41 -11
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_dispatch_regular.py +117 -55
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_traceproperty.py +11 -14
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_utils.py +90 -89
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py +106 -97
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vm_type.py +40 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_xml.py +56 -46
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_cython_wrapper.py +5 -5
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_main.py +71 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.c +11165 -5326
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_tracing.py +5 -6
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_modify_bytecode.py +53 -56
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/__init__.py +1 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/bytecode.py +4 -6
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/cfg.py +6 -26
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/concrete.py +7 -21
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/flags.py +5 -24
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/instr.py +10 -34
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/peephole_opt.py +1 -4
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__init__.py +2 -6
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_bytecode.py +3 -5
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_cfg.py +11 -31
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_code.py +2 -2
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_concrete.py +14 -41
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_flags.py +2 -4
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_instr.py +7 -18
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_misc.py +6 -18
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_peephole_opt.py +7 -18
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/util_annotation.py +1 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/pydevd_fix_code.py +14 -19
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py +1929 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c +43253 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pxd +46 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx +1935 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/pydevd_sys_monitoring.py +16 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_app_engine_debug_startup.py +12 -11
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_coverage.py +30 -32
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhook.py +58 -54
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookglut.py +20 -24
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookgtk.py +8 -7
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookgtk3.py +8 -6
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookpyglet.py +11 -8
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookqt4.py +21 -18
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookqt5.py +17 -15
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookqt6.py +17 -15
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhooktk.py +6 -4
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookwx.py +14 -10
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/matplotlibtools.py +30 -26
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydev_ipython/qt.py +24 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/qt_for_kernel.py +37 -34
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/qt_loaders.py +86 -73
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/version.py +7 -7
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydev_pysrc.py +1 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_run_in_console.py +23 -24
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydev_sitecustomize/sitecustomize.py +267 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevconsole.py +55 -47
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd.py +732 -508
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_always_live_program.py +40 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_check.py +1 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process.py +11 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process_linux.py +75 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py +130 -125
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.pdb +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_pydevd.py +89 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_script.py +41 -32
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.pdb +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_utils.hpp +1 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp +9 -1
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.exe +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.pdb +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.exe +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.pdb +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/lldb_prepare.py +10 -9
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.pdb +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.dll +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.pdb +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__init__.py +103 -119
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/breakpoint.py +457 -516
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/compat.py +33 -15
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/crash.py +336 -281
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/debug.py +101 -131
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/disasm.py +148 -153
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/event.py +310 -302
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/interactive.py +235 -208
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/module.py +185 -218
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/process.py +428 -564
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/registry.py +54 -53
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/search.py +69 -73
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/sql.py +158 -170
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/system.py +143 -213
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/textio.py +302 -333
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/thread.py +220 -239
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/util.py +198 -177
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__init__.py +11 -11
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/advapi32.py +1191 -713
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/context_amd64.py +248 -194
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/context_i386.py +132 -120
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/dbghelp.py +450 -346
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/defines.py +305 -286
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/gdi32.py +526 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/kernel32.py +1479 -1097
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/ntdll.py +579 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/peb_teb.py +3517 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/psapi.py +54 -31
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/shell32.py +170 -149
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/shlwapi.py +190 -108
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/user32.py +542 -437
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/version.py +489 -442
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/wtsapi32.py +83 -65
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/window.py +70 -76
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/attach.cpp +17 -9
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/compile_windows.bat +1 -1
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_file_utils.py +141 -120
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/__init__.py +1 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/django_debug.py +175 -149
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/__init__.py +1 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/__init__.py +1 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_helpers.py +5 -5
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugin_numpy_types.py +28 -28
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugin_pandas_types.py +22 -30
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py +3 -2
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/jinja2_debug.py +130 -108
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/pydevd_line_validation.py +27 -14
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_tracing.py +85 -66
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/setup_pydevd_cython.py +96 -59
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_version.py +3 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/messaging.py +2 -1
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/server/cli.py +32 -17
- {debugpy-1.8.5 → debugpy-1.8.7/src/debugpy.egg-info}/PKG-INFO +1 -1
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy.egg-info/SOURCES.txt +6 -1
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_filesystem_encoding.py +0 -41
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_coverage.py +0 -76
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py +0 -592
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema.py +0 -19514
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info.py +0 -19
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py +0 -153
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.c +0 -43377
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_json_debug_options.py +0 -204
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_plugin_utils.py +0 -91
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_api.py +0 -62
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vm_type.py +0 -41
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_main.py +0 -48
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydev_ipython/qt.py +0 -23
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydev_pysrc.py +0 -1
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydev_sitecustomize/sitecustomize.py +0 -237
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_always_live_program.py +0 -32
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process.py +0 -9
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process_linux.py +0 -74
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.pdb +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_pydevd.py +0 -79
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.pdb +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.exe +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.pdb +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.pdb +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.pdb +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.dll +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.pdb +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/gdi32.py +0 -507
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/ntdll.py +0 -539
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/peb_teb.py +0 -3435
- {debugpy-1.8.5 → debugpy-1.8.7}/DESCRIPTION.md +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/LICENSE +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/MANIFEST.in +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/README.md +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/pyproject.toml +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/setup.cfg +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/setup.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/ThirdPartyNotices.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/__main__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/_pydevd_packaging.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/_util.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/force_pydevd.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/debugProtocolCustom.json +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/.gitignore +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.pxd +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.pyx +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.template.pyx +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/release_mem.h +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/README.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/README +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_sitecustomize/__not_in_default_pythonpath.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/README.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_custom_pyeval_settrace.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_custom_pyeval_settrace_310.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_custom_pyeval_settrace_311.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_custom_pyeval_settrace_common.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_settrace.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/python.h +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/ref_utils.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/.gitignore +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/attach.cpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_manylinux.cmd +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/attach.h +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/inject_dll.cpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/py_win_helpers.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/run_code_in_memory.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/run_code_on_dllmain.cpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/stdafx.cpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/stdafx.h +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/targetver.h +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/README.md +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/__main__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/clients.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/components.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/launchers.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/servers.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/sessions.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/json.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/log.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/singleton.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/sockets.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/stacks.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/timestamp.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/util.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/__main__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/debuggee.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/handlers.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/output.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/winapi.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/public_api.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/server/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/server/api.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/server/attach_pid_injected.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy.egg-info/dependency_links.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy.egg-info/entry_points.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy.egg-info/top_level.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/versioneer.py +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""
|
|
1
|
+
"""Import Qt in a manner suitable for an IPython kernel.
|
|
2
2
|
|
|
3
3
|
This is the import used for the `gui=qt` or `matplotlib=qt` initialization.
|
|
4
4
|
|
|
@@ -35,9 +35,16 @@ import os
|
|
|
35
35
|
import sys
|
|
36
36
|
|
|
37
37
|
from pydev_ipython.version import check_version
|
|
38
|
-
from pydev_ipython.qt_loaders import (
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
from pydev_ipython.qt_loaders import (
|
|
39
|
+
load_qt,
|
|
40
|
+
QT_API_PYSIDE,
|
|
41
|
+
QT_API_PYSIDE2,
|
|
42
|
+
QT_API_PYQT,
|
|
43
|
+
QT_API_PYQT_DEFAULT,
|
|
44
|
+
loaded_api,
|
|
45
|
+
QT_API_PYQT5,
|
|
46
|
+
QT_API_PYQT6,
|
|
47
|
+
)
|
|
41
48
|
|
|
42
49
|
|
|
43
50
|
# Constraints placed on an imported matplotlib
|
|
@@ -48,57 +55,53 @@ def matplotlib_options(mpl):
|
|
|
48
55
|
# #PyDev-779: In pysrc/pydev_ipython/qt_for_kernel.py, matplotlib_options should be replaced with latest from ipython
|
|
49
56
|
# (i.e.: properly check backend to decide upon qt4/qt5).
|
|
50
57
|
|
|
51
|
-
backend = mpl.rcParams.get(
|
|
52
|
-
if backend ==
|
|
53
|
-
mpqt = mpl.rcParams.get(
|
|
58
|
+
backend = mpl.rcParams.get("backend", None)
|
|
59
|
+
if backend == "Qt4Agg":
|
|
60
|
+
mpqt = mpl.rcParams.get("backend.qt4", None)
|
|
54
61
|
if mpqt is None:
|
|
55
62
|
return None
|
|
56
|
-
if mpqt.lower() ==
|
|
63
|
+
if mpqt.lower() == "pyside":
|
|
57
64
|
return [QT_API_PYSIDE]
|
|
58
|
-
elif mpqt.lower() ==
|
|
65
|
+
elif mpqt.lower() == "pyqt4":
|
|
59
66
|
return [QT_API_PYQT_DEFAULT]
|
|
60
|
-
elif mpqt.lower() ==
|
|
67
|
+
elif mpqt.lower() == "pyqt4v2":
|
|
61
68
|
return [QT_API_PYQT]
|
|
62
|
-
raise ImportError("unhandled value for backend.qt4 from matplotlib: %r" %
|
|
63
|
-
mpqt)
|
|
69
|
+
raise ImportError("unhandled value for backend.qt4 from matplotlib: %r" % mpqt)
|
|
64
70
|
|
|
65
|
-
elif backend ==
|
|
66
|
-
mpqt = mpl.rcParams.get(
|
|
71
|
+
elif backend == "Qt5Agg":
|
|
72
|
+
mpqt = mpl.rcParams.get("backend.qt5", None)
|
|
67
73
|
if mpqt is None:
|
|
68
74
|
return None
|
|
69
|
-
if mpqt.lower() ==
|
|
75
|
+
if mpqt.lower() == "pyqt5":
|
|
70
76
|
return [QT_API_PYQT5]
|
|
71
|
-
raise ImportError("unhandled value for backend.qt5 from matplotlib: %r" %
|
|
72
|
-
mpqt)
|
|
77
|
+
raise ImportError("unhandled value for backend.qt5 from matplotlib: %r" % mpqt)
|
|
73
78
|
|
|
74
|
-
elif backend ==
|
|
75
|
-
mpqt = mpl.rcParams.get(
|
|
79
|
+
elif backend == "Qt6Agg":
|
|
80
|
+
mpqt = mpl.rcParams.get("backend.qt6", None)
|
|
76
81
|
if mpqt is None:
|
|
77
82
|
return None
|
|
78
|
-
if mpqt.lower() ==
|
|
83
|
+
if mpqt.lower() == "pyqt6":
|
|
79
84
|
return [QT_API_PYQT6]
|
|
80
|
-
raise ImportError("unhandled value for backend.qt6 from matplotlib: %r" %
|
|
81
|
-
mpqt)
|
|
85
|
+
raise ImportError("unhandled value for backend.qt6 from matplotlib: %r" % mpqt)
|
|
82
86
|
|
|
83
87
|
# Fallback without checking backend (previous code)
|
|
84
|
-
mpqt = mpl.rcParams.get(
|
|
88
|
+
mpqt = mpl.rcParams.get("backend.qt4", None)
|
|
85
89
|
if mpqt is None:
|
|
86
|
-
mpqt = mpl.rcParams.get(
|
|
90
|
+
mpqt = mpl.rcParams.get("backend.qt5", None)
|
|
87
91
|
if mpqt is None:
|
|
88
|
-
mpqt = mpl.rcParams.get(
|
|
92
|
+
mpqt = mpl.rcParams.get("backend.qt6", None)
|
|
89
93
|
|
|
90
94
|
if mpqt is None:
|
|
91
95
|
return None
|
|
92
|
-
if mpqt.lower() ==
|
|
96
|
+
if mpqt.lower() == "pyside":
|
|
93
97
|
return [QT_API_PYSIDE]
|
|
94
|
-
elif mpqt.lower() ==
|
|
98
|
+
elif mpqt.lower() == "pyqt4":
|
|
95
99
|
return [QT_API_PYQT_DEFAULT]
|
|
96
|
-
elif mpqt.lower() ==
|
|
100
|
+
elif mpqt.lower() == "pyqt5":
|
|
97
101
|
return [QT_API_PYQT5]
|
|
98
|
-
elif mpqt.lower() ==
|
|
102
|
+
elif mpqt.lower() == "pyqt6":
|
|
99
103
|
return [QT_API_PYQT6]
|
|
100
|
-
raise ImportError("unhandled value for qt backend from matplotlib: %r" %
|
|
101
|
-
mpqt)
|
|
104
|
+
raise ImportError("unhandled value for qt backend from matplotlib: %r" % mpqt)
|
|
102
105
|
|
|
103
106
|
|
|
104
107
|
def get_options():
|
|
@@ -110,13 +113,13 @@ def get_options():
|
|
|
110
113
|
if loaded is not None:
|
|
111
114
|
return [loaded]
|
|
112
115
|
|
|
113
|
-
mpl = sys.modules.get(
|
|
116
|
+
mpl = sys.modules.get("matplotlib", None)
|
|
114
117
|
|
|
115
|
-
if mpl is not None and not check_version(mpl.__version__,
|
|
118
|
+
if mpl is not None and not check_version(mpl.__version__, "1.0.2"):
|
|
116
119
|
# 1.0.1 only supports PyQt4 v1
|
|
117
120
|
return [QT_API_PYQT_DEFAULT]
|
|
118
121
|
|
|
119
|
-
if os.environ.get(
|
|
122
|
+
if os.environ.get("QT_API", None) is None:
|
|
120
123
|
# no ETS variable. Ask mpl, then use either
|
|
121
124
|
return matplotlib_options(mpl) or [QT_API_PYQT_DEFAULT, QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT5, QT_API_PYQT6]
|
|
122
125
|
|
|
@@ -8,20 +8,21 @@ bindings, which is unstable and likely to crash
|
|
|
8
8
|
This is used primarily by qt and qt_for_kernel, and shouldn't
|
|
9
9
|
be accessed directly from the outside
|
|
10
10
|
"""
|
|
11
|
+
|
|
11
12
|
import sys
|
|
12
13
|
from functools import partial
|
|
13
14
|
|
|
14
15
|
from pydev_ipython.version import check_version
|
|
15
16
|
|
|
16
17
|
# Available APIs.
|
|
17
|
-
QT_API_PYQT =
|
|
18
|
-
QT_API_PYQTv1 =
|
|
19
|
-
QT_API_PYQT_DEFAULT =
|
|
20
|
-
QT_API_PYSIDE =
|
|
21
|
-
QT_API_PYSIDE2 =
|
|
22
|
-
QT_API_PYSIDE6 =
|
|
23
|
-
QT_API_PYQT5 =
|
|
24
|
-
QT_API_PYQT6 =
|
|
18
|
+
QT_API_PYQT = "pyqt"
|
|
19
|
+
QT_API_PYQTv1 = "pyqtv1"
|
|
20
|
+
QT_API_PYQT_DEFAULT = "pyqtdefault" # don't set SIP explicitly
|
|
21
|
+
QT_API_PYSIDE = "pyside"
|
|
22
|
+
QT_API_PYSIDE2 = "pyside2"
|
|
23
|
+
QT_API_PYSIDE6 = "pyside6"
|
|
24
|
+
QT_API_PYQT5 = "pyqt5"
|
|
25
|
+
QT_API_PYQT6 = "pyqt6"
|
|
25
26
|
|
|
26
27
|
|
|
27
28
|
class ImportDenier(object):
|
|
@@ -43,10 +44,13 @@ class ImportDenier(object):
|
|
|
43
44
|
return self
|
|
44
45
|
|
|
45
46
|
def load_module(self, fullname):
|
|
46
|
-
raise ImportError(
|
|
47
|
+
raise ImportError(
|
|
48
|
+
"""
|
|
47
49
|
Importing %s disabled by IPython, which has
|
|
48
50
|
already imported an Incompatible QT Binding: %s
|
|
49
|
-
"""
|
|
51
|
+
"""
|
|
52
|
+
% (fullname, loaded_api())
|
|
53
|
+
)
|
|
50
54
|
|
|
51
55
|
|
|
52
56
|
ID = ImportDenier()
|
|
@@ -55,16 +59,16 @@ sys.meta_path.append(ID)
|
|
|
55
59
|
|
|
56
60
|
def commit_api(api):
|
|
57
61
|
"""Commit to a particular API, and trigger ImportErrors on subsequent
|
|
58
|
-
|
|
62
|
+
dangerous imports"""
|
|
59
63
|
|
|
60
64
|
if api == QT_API_PYSIDE:
|
|
61
|
-
ID.forbid(
|
|
62
|
-
ID.forbid(
|
|
63
|
-
ID.forbid(
|
|
65
|
+
ID.forbid("PyQt4")
|
|
66
|
+
ID.forbid("PyQt5")
|
|
67
|
+
ID.forbid("PyQt6")
|
|
64
68
|
else:
|
|
65
|
-
ID.forbid(
|
|
66
|
-
ID.forbid(
|
|
67
|
-
ID.forbid(
|
|
69
|
+
ID.forbid("PySide")
|
|
70
|
+
ID.forbid("PySide2")
|
|
71
|
+
ID.forbid("PySide6")
|
|
68
72
|
|
|
69
73
|
|
|
70
74
|
def loaded_api():
|
|
@@ -77,63 +81,65 @@ def loaded_api():
|
|
|
77
81
|
-------
|
|
78
82
|
None, 'pyside', 'pyside2', 'pyside6', 'pyqt5', 'pyqt6', or 'pyqtv1'
|
|
79
83
|
"""
|
|
80
|
-
if
|
|
84
|
+
if "PyQt4.QtCore" in sys.modules:
|
|
81
85
|
if qtapi_version() == 2:
|
|
82
86
|
return QT_API_PYQT
|
|
83
87
|
else:
|
|
84
88
|
return QT_API_PYQTv1
|
|
85
|
-
elif
|
|
89
|
+
elif "PySide.QtCore" in sys.modules:
|
|
86
90
|
return QT_API_PYSIDE
|
|
87
|
-
elif
|
|
91
|
+
elif "PySide2.QtCore" in sys.modules:
|
|
88
92
|
return QT_API_PYSIDE2
|
|
89
|
-
elif
|
|
93
|
+
elif "PySide6.QtCore" in sys.modules:
|
|
90
94
|
return QT_API_PYSIDE6
|
|
91
|
-
elif
|
|
95
|
+
elif "PyQt5.QtCore" in sys.modules:
|
|
92
96
|
return QT_API_PYQT5
|
|
93
|
-
elif
|
|
97
|
+
elif "PyQt6.QtCore" in sys.modules:
|
|
94
98
|
return QT_API_PYQT6
|
|
95
99
|
return None
|
|
96
100
|
|
|
97
101
|
|
|
98
102
|
def has_binding(api):
|
|
99
103
|
"""Safely check for PyQt or PySide, without importing
|
|
100
|
-
|
|
104
|
+
submodules
|
|
101
105
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
+
Parameters
|
|
107
|
+
----------
|
|
108
|
+
api : str [ 'pyqtv1' | 'pyqt' | 'pyside' | 'pyqtdefault']
|
|
109
|
+
Which module to check for
|
|
106
110
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
111
|
+
Returns
|
|
112
|
+
-------
|
|
113
|
+
True if the relevant module appears to be importable
|
|
110
114
|
"""
|
|
111
115
|
# we can't import an incomplete pyside and pyqt4
|
|
112
116
|
# this will cause a crash in sip (#1431)
|
|
113
117
|
# check for complete presence before importing
|
|
114
|
-
module_name = {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
118
|
+
module_name = {
|
|
119
|
+
QT_API_PYSIDE: "PySide",
|
|
120
|
+
QT_API_PYSIDE2: "PySide2",
|
|
121
|
+
QT_API_PYSIDE6: "PySide6",
|
|
122
|
+
QT_API_PYQT: "PyQt4",
|
|
123
|
+
QT_API_PYQTv1: "PyQt4",
|
|
124
|
+
QT_API_PYQT_DEFAULT: "PyQt4",
|
|
125
|
+
QT_API_PYQT5: "PyQt5",
|
|
126
|
+
QT_API_PYQT6: "PyQt6",
|
|
127
|
+
}
|
|
123
128
|
module_name = module_name[api]
|
|
124
129
|
|
|
125
130
|
import imp
|
|
131
|
+
|
|
126
132
|
try:
|
|
127
133
|
# importing top level PyQt4/PySide module is ok...
|
|
128
134
|
mod = __import__(module_name)
|
|
129
135
|
# ...importing submodules is not
|
|
130
|
-
imp.find_module(
|
|
131
|
-
imp.find_module(
|
|
132
|
-
imp.find_module(
|
|
136
|
+
imp.find_module("QtCore", mod.__path__)
|
|
137
|
+
imp.find_module("QtGui", mod.__path__)
|
|
138
|
+
imp.find_module("QtSvg", mod.__path__)
|
|
133
139
|
|
|
134
140
|
# we can also safely check PySide version
|
|
135
141
|
if api == QT_API_PYSIDE:
|
|
136
|
-
return check_version(mod.__version__,
|
|
142
|
+
return check_version(mod.__version__, "1.0.3")
|
|
137
143
|
else:
|
|
138
144
|
return True
|
|
139
145
|
except ImportError:
|
|
@@ -152,7 +158,7 @@ def qtapi_version():
|
|
|
152
158
|
except ImportError:
|
|
153
159
|
return
|
|
154
160
|
try:
|
|
155
|
-
return sip.getapi(
|
|
161
|
+
return sip.getapi("QString")
|
|
156
162
|
except ValueError:
|
|
157
163
|
return
|
|
158
164
|
|
|
@@ -187,21 +193,20 @@ def import_pyqt4(version=2):
|
|
|
187
193
|
import sip
|
|
188
194
|
|
|
189
195
|
if version is not None:
|
|
190
|
-
sip.setapi(
|
|
191
|
-
sip.setapi(
|
|
196
|
+
sip.setapi("QString", version)
|
|
197
|
+
sip.setapi("QVariant", version)
|
|
192
198
|
|
|
193
199
|
from PyQt4 import QtGui, QtCore, QtSvg
|
|
194
200
|
|
|
195
|
-
if not check_version(QtCore.PYQT_VERSION_STR,
|
|
196
|
-
raise ImportError("IPython requires PyQt4 >= 4.7, found %s" %
|
|
197
|
-
QtCore.PYQT_VERSION_STR)
|
|
201
|
+
if not check_version(QtCore.PYQT_VERSION_STR, "4.7"):
|
|
202
|
+
raise ImportError("IPython requires PyQt4 >= 4.7, found %s" % QtCore.PYQT_VERSION_STR)
|
|
198
203
|
|
|
199
204
|
# Alias PyQt-specific functions for PySide compatibility.
|
|
200
205
|
QtCore.Signal = QtCore.pyqtSignal
|
|
201
206
|
QtCore.Slot = QtCore.pyqtSlot
|
|
202
207
|
|
|
203
208
|
# query for the API version (in case version == None)
|
|
204
|
-
version = sip.getapi(
|
|
209
|
+
version = sip.getapi("QString")
|
|
205
210
|
api = QT_API_PYQTv1 if version == 1 else QT_API_PYQT
|
|
206
211
|
return QtCore, QtGui, QtSvg, api
|
|
207
212
|
|
|
@@ -243,6 +248,7 @@ def import_pyside():
|
|
|
243
248
|
ImportErrors raised within this function are non-recoverable
|
|
244
249
|
"""
|
|
245
250
|
from PySide import QtGui, QtCore, QtSvg # @UnresolvedImport
|
|
251
|
+
|
|
246
252
|
return QtCore, QtGui, QtSvg, QT_API_PYSIDE
|
|
247
253
|
|
|
248
254
|
|
|
@@ -253,6 +259,7 @@ def import_pyside2():
|
|
|
253
259
|
ImportErrors raised within this function are non-recoverable
|
|
254
260
|
"""
|
|
255
261
|
from PySide2 import QtGui, QtCore, QtSvg # @UnresolvedImport
|
|
262
|
+
|
|
256
263
|
return QtCore, QtGui, QtSvg, QT_API_PYSIDE2
|
|
257
264
|
|
|
258
265
|
|
|
@@ -263,6 +270,7 @@ def import_pyside6():
|
|
|
263
270
|
ImportErrors raised within this function are non-recoverable
|
|
264
271
|
"""
|
|
265
272
|
from PySide6 import QtGui, QtCore, QtSvg # @UnresolvedImport
|
|
273
|
+
|
|
266
274
|
return QtCore, QtGui, QtSvg, QT_API_PYSIDE6
|
|
267
275
|
|
|
268
276
|
|
|
@@ -292,23 +300,23 @@ def load_qt(api_options):
|
|
|
292
300
|
bindings (either becaues they aren't installed, or because
|
|
293
301
|
an incompatible library has already been installed)
|
|
294
302
|
"""
|
|
295
|
-
loaders = {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
303
|
+
loaders = {
|
|
304
|
+
QT_API_PYSIDE: import_pyside,
|
|
305
|
+
QT_API_PYSIDE2: import_pyside2,
|
|
306
|
+
QT_API_PYSIDE6: import_pyside6,
|
|
307
|
+
QT_API_PYQT: import_pyqt4,
|
|
308
|
+
QT_API_PYQTv1: partial(import_pyqt4, version=1),
|
|
309
|
+
QT_API_PYQT_DEFAULT: partial(import_pyqt4, version=None),
|
|
310
|
+
QT_API_PYQT5: import_pyqt5,
|
|
311
|
+
QT_API_PYQT6: import_pyqt6,
|
|
312
|
+
}
|
|
304
313
|
|
|
305
314
|
for api in api_options:
|
|
306
|
-
|
|
307
315
|
if api not in loaders:
|
|
308
316
|
raise RuntimeError(
|
|
309
|
-
"Invalid Qt API %r, valid values are: %r, %r, %r, %r, %r, %r, %r"
|
|
310
|
-
(api, QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT,
|
|
311
|
-
|
|
317
|
+
"Invalid Qt API %r, valid values are: %r, %r, %r, %r, %r, %r, %r"
|
|
318
|
+
% (api, QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT, QT_API_PYQTv1, QT_API_PYQT_DEFAULT, QT_API_PYQT5, QT_API_PYQT6)
|
|
319
|
+
)
|
|
312
320
|
|
|
313
321
|
if not can_import(api):
|
|
314
322
|
continue
|
|
@@ -319,7 +327,8 @@ def load_qt(api_options):
|
|
|
319
327
|
commit_api(api)
|
|
320
328
|
return result
|
|
321
329
|
else:
|
|
322
|
-
raise ImportError(
|
|
330
|
+
raise ImportError(
|
|
331
|
+
"""
|
|
323
332
|
Could not load requested Qt binding. Please ensure that
|
|
324
333
|
PyQt4 >= 4.7 or PySide >= 1.0.3 is available,
|
|
325
334
|
and only one is imported per session.
|
|
@@ -332,11 +341,15 @@ def load_qt(api_options):
|
|
|
332
341
|
PySide2 installed: %s
|
|
333
342
|
PySide6 installed: %s
|
|
334
343
|
Tried to load: %r
|
|
335
|
-
"""
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
344
|
+
"""
|
|
345
|
+
% (
|
|
346
|
+
loaded_api(),
|
|
347
|
+
has_binding(QT_API_PYQT),
|
|
348
|
+
has_binding(QT_API_PYQT5),
|
|
349
|
+
has_binding(QT_API_PYQT6),
|
|
350
|
+
has_binding(QT_API_PYSIDE),
|
|
351
|
+
has_binding(QT_API_PYSIDE2),
|
|
352
|
+
has_binding(QT_API_PYSIDE6),
|
|
353
|
+
api_options,
|
|
354
|
+
)
|
|
355
|
+
)
|
|
@@ -5,22 +5,23 @@ Utilities for version comparison
|
|
|
5
5
|
It is a bit ridiculous that we need these.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
# -----------------------------------------------------------------------------
|
|
9
9
|
# Copyright (C) 2013 The IPython Development Team
|
|
10
10
|
#
|
|
11
11
|
# Distributed under the terms of the BSD License. The full license is in
|
|
12
12
|
# the file COPYING, distributed as part of this software.
|
|
13
|
-
|
|
13
|
+
# -----------------------------------------------------------------------------
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
# -----------------------------------------------------------------------------
|
|
16
16
|
# Imports
|
|
17
|
-
|
|
17
|
+
# -----------------------------------------------------------------------------
|
|
18
18
|
|
|
19
19
|
from distutils.version import LooseVersion
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
# -----------------------------------------------------------------------------
|
|
22
22
|
# Code
|
|
23
|
-
|
|
23
|
+
# -----------------------------------------------------------------------------
|
|
24
|
+
|
|
24
25
|
|
|
25
26
|
def check_version(v, check):
|
|
26
27
|
"""check version string v >= check
|
|
@@ -33,4 +34,3 @@ def check_version(v, check):
|
|
|
33
34
|
return LooseVersion(v) >= LooseVersion(check)
|
|
34
35
|
except TypeError:
|
|
35
36
|
return True
|
|
36
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""An empty file in pysrc that can be imported (from sitecustomize) to find the location of pysrc"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
"""
|
|
2
2
|
Entry point module to run a file in the interactive console.
|
|
3
|
-
|
|
3
|
+
"""
|
|
4
4
|
import os
|
|
5
5
|
import sys
|
|
6
6
|
import traceback
|
|
@@ -17,7 +17,7 @@ def run_file(file, globals=None, locals=None, is_module=False):
|
|
|
17
17
|
module_name = None
|
|
18
18
|
entry_point_fn = None
|
|
19
19
|
if is_module:
|
|
20
|
-
file, _, entry_point_fn = file.partition(
|
|
20
|
+
file, _, entry_point_fn = file.partition(":")
|
|
21
21
|
module_name = file
|
|
22
22
|
filename = get_fullname(file)
|
|
23
23
|
if filename is None:
|
|
@@ -27,16 +27,16 @@ def run_file(file, globals=None, locals=None, is_module=False):
|
|
|
27
27
|
file = filename
|
|
28
28
|
|
|
29
29
|
if os.path.isdir(file):
|
|
30
|
-
new_target = os.path.join(file,
|
|
30
|
+
new_target = os.path.join(file, "__main__.py")
|
|
31
31
|
if os.path.isfile(new_target):
|
|
32
32
|
file = new_target
|
|
33
33
|
|
|
34
34
|
if globals is None:
|
|
35
|
-
m = save_main_module(file,
|
|
35
|
+
m = save_main_module(file, "pydev_run_in_console")
|
|
36
36
|
|
|
37
37
|
globals = m.__dict__
|
|
38
38
|
try:
|
|
39
|
-
globals[
|
|
39
|
+
globals["__builtins__"] = __builtins__
|
|
40
40
|
except NameError:
|
|
41
41
|
pass # Not there on Jython...
|
|
42
42
|
|
|
@@ -46,7 +46,7 @@ def run_file(file, globals=None, locals=None, is_module=False):
|
|
|
46
46
|
if not is_module:
|
|
47
47
|
sys.path.insert(0, os.path.split(file)[0])
|
|
48
48
|
|
|
49
|
-
print(
|
|
49
|
+
print("Running %s" % file)
|
|
50
50
|
try:
|
|
51
51
|
if not is_module:
|
|
52
52
|
pydev_imports.execfile(file, globals, locals) # execute the script
|
|
@@ -61,6 +61,7 @@ def run_file(file, globals=None, locals=None, is_module=False):
|
|
|
61
61
|
else:
|
|
62
62
|
# Run with the -m switch
|
|
63
63
|
from _pydevd_bundle import pydevd_runpy
|
|
64
|
+
|
|
64
65
|
pydevd_runpy._run_module_as_main(module_name)
|
|
65
66
|
except:
|
|
66
67
|
traceback.print_exc()
|
|
@@ -69,7 +70,7 @@ def run_file(file, globals=None, locals=None, is_module=False):
|
|
|
69
70
|
|
|
70
71
|
|
|
71
72
|
def skip_successful_exit(*args):
|
|
72
|
-
"""
|
|
73
|
+
"""System exit in file shouldn't kill interpreter (i.e. in `timeit`)"""
|
|
73
74
|
if len(args) == 1 and args[0] in (0, None):
|
|
74
75
|
pass
|
|
75
76
|
else:
|
|
@@ -77,38 +78,38 @@ def skip_successful_exit(*args):
|
|
|
77
78
|
|
|
78
79
|
|
|
79
80
|
def process_args(argv):
|
|
80
|
-
setup_args = {
|
|
81
|
+
setup_args = {"file": "", "module": False}
|
|
81
82
|
|
|
82
|
-
setup_args[
|
|
83
|
+
setup_args["port"] = argv[1]
|
|
83
84
|
del argv[1]
|
|
84
|
-
setup_args[
|
|
85
|
+
setup_args["client_port"] = argv[1]
|
|
85
86
|
del argv[1]
|
|
86
87
|
|
|
87
88
|
module_flag = "--module"
|
|
88
89
|
if module_flag in argv:
|
|
89
90
|
i = argv.index(module_flag)
|
|
90
91
|
if i != -1:
|
|
91
|
-
setup_args[
|
|
92
|
-
setup_args[
|
|
92
|
+
setup_args["module"] = True
|
|
93
|
+
setup_args["file"] = argv[i + 1]
|
|
93
94
|
del sys.argv[i]
|
|
94
95
|
else:
|
|
95
|
-
setup_args[
|
|
96
|
+
setup_args["file"] = argv[1]
|
|
96
97
|
|
|
97
98
|
del argv[0]
|
|
98
99
|
|
|
99
100
|
return setup_args
|
|
100
101
|
|
|
101
102
|
|
|
102
|
-
|
|
103
|
+
# =======================================================================================================================
|
|
103
104
|
# main
|
|
104
|
-
|
|
105
|
-
if __name__ ==
|
|
105
|
+
# =======================================================================================================================
|
|
106
|
+
if __name__ == "__main__":
|
|
106
107
|
setup = process_args(sys.argv)
|
|
107
108
|
|
|
108
|
-
port = setup[
|
|
109
|
-
client_port = setup[
|
|
110
|
-
file = setup[
|
|
111
|
-
is_module = setup[
|
|
109
|
+
port = setup["port"]
|
|
110
|
+
client_port = setup["client_port"]
|
|
111
|
+
file = setup["file"]
|
|
112
|
+
is_module = setup["module"]
|
|
112
113
|
|
|
113
114
|
from _pydev_bundle import pydev_localhost
|
|
114
115
|
|
|
@@ -125,9 +126,7 @@ if __name__ == '__main__':
|
|
|
125
126
|
connect_status_queue = _queue.Queue()
|
|
126
127
|
interpreter = InterpreterInterface(host, int(client_port), threading.current_thread(), connect_status_queue=connect_status_queue)
|
|
127
128
|
|
|
128
|
-
server_thread = threading.Thread(target=start_console_server,
|
|
129
|
-
name='ServerThread',
|
|
130
|
-
args=(host, int(port), interpreter))
|
|
129
|
+
server_thread = threading.Thread(target=start_console_server, name="ServerThread", args=(host, int(port), interpreter))
|
|
131
130
|
server_thread.daemon = True
|
|
132
131
|
server_thread.start()
|
|
133
132
|
|