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
{debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookpyglet.py
RENAMED
|
@@ -9,16 +9,16 @@ Authors
|
|
|
9
9
|
* Fernando Perez
|
|
10
10
|
"""
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
# -----------------------------------------------------------------------------
|
|
13
13
|
# Copyright (C) 2008-2011 The IPython Development Team
|
|
14
14
|
#
|
|
15
15
|
# Distributed under the terms of the BSD License. The full license is in
|
|
16
16
|
# the file COPYING, distributed as part of this software.
|
|
17
|
-
|
|
17
|
+
# -----------------------------------------------------------------------------
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
# -----------------------------------------------------------------------------
|
|
20
20
|
# Imports
|
|
21
|
-
|
|
21
|
+
# -----------------------------------------------------------------------------
|
|
22
22
|
|
|
23
23
|
import os
|
|
24
24
|
import sys
|
|
@@ -32,19 +32,22 @@ from pydev_ipython.inputhook import stdin_ready
|
|
|
32
32
|
# window close. For details, see:
|
|
33
33
|
# http://groups.google.com/group/pyglet-users/browse_thread/thread/47c1aab9aa4a3d23/c22f9e819826799e?#c22f9e819826799e
|
|
34
34
|
|
|
35
|
-
if sys.platform.startswith(
|
|
35
|
+
if sys.platform.startswith("linux"):
|
|
36
|
+
|
|
36
37
|
def flip(window):
|
|
37
38
|
try:
|
|
38
39
|
window.flip()
|
|
39
40
|
except AttributeError:
|
|
40
41
|
pass
|
|
41
42
|
else:
|
|
43
|
+
|
|
42
44
|
def flip(window):
|
|
43
45
|
window.flip()
|
|
44
46
|
|
|
45
|
-
|
|
47
|
+
# -----------------------------------------------------------------------------
|
|
46
48
|
# Code
|
|
47
|
-
|
|
49
|
+
# -----------------------------------------------------------------------------
|
|
50
|
+
|
|
48
51
|
|
|
49
52
|
def inputhook_pyglet():
|
|
50
53
|
"""Run the pyglet event loop by processing pending events only.
|
|
@@ -63,7 +66,7 @@ def inputhook_pyglet():
|
|
|
63
66
|
for window in pyglet.app.windows:
|
|
64
67
|
window.switch_to()
|
|
65
68
|
window.dispatch_events()
|
|
66
|
-
window.dispatch_event(
|
|
69
|
+
window.dispatch_event("on_draw")
|
|
67
70
|
flip(window)
|
|
68
71
|
|
|
69
72
|
# We need to sleep at this point to keep the idle CPU load
|
|
@@ -5,16 +5,16 @@ Qt4's inputhook support function
|
|
|
5
5
|
Author: Christian Boos
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
# -----------------------------------------------------------------------------
|
|
9
9
|
# Copyright (C) 2011 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
|
import os
|
|
20
20
|
import signal
|
|
@@ -25,31 +25,35 @@ import threading
|
|
|
25
25
|
from pydev_ipython.qt_for_kernel import QtCore, QtGui
|
|
26
26
|
from pydev_ipython.inputhook import allow_CTRL_C, ignore_CTRL_C, stdin_ready
|
|
27
27
|
|
|
28
|
+
|
|
28
29
|
# To minimise future merging complexity, rather than edit the entire code base below
|
|
29
30
|
# we fake InteractiveShell here
|
|
30
31
|
class InteractiveShell:
|
|
31
32
|
_instance = None
|
|
33
|
+
|
|
32
34
|
@classmethod
|
|
33
35
|
def instance(cls):
|
|
34
36
|
if cls._instance is None:
|
|
35
37
|
cls._instance = cls()
|
|
36
38
|
return cls._instance
|
|
39
|
+
|
|
37
40
|
def set_hook(self, *args, **kwargs):
|
|
38
41
|
# We don't consider the pre_prompt_hook because we don't have
|
|
39
42
|
# KeyboardInterrupts to consider since we are running under PyDev
|
|
40
43
|
pass
|
|
41
44
|
|
|
42
45
|
|
|
43
|
-
|
|
46
|
+
# -----------------------------------------------------------------------------
|
|
44
47
|
# Module Globals
|
|
45
|
-
|
|
48
|
+
# -----------------------------------------------------------------------------
|
|
46
49
|
|
|
47
50
|
got_kbdint = False
|
|
48
51
|
sigint_timer = None
|
|
49
52
|
|
|
50
|
-
|
|
53
|
+
# -----------------------------------------------------------------------------
|
|
51
54
|
# Code
|
|
52
|
-
|
|
55
|
+
# -----------------------------------------------------------------------------
|
|
56
|
+
|
|
53
57
|
|
|
54
58
|
def create_inputhook_qt4(mgr, app=None):
|
|
55
59
|
"""Create an input hook for running the Qt4 application event loop.
|
|
@@ -85,7 +89,7 @@ def create_inputhook_qt4(mgr, app=None):
|
|
|
85
89
|
|
|
86
90
|
# Re-use previously created inputhook if any
|
|
87
91
|
ip = InteractiveShell.instance()
|
|
88
|
-
if hasattr(ip,
|
|
92
|
+
if hasattr(ip, "_inputhook_qt4"):
|
|
89
93
|
return app, ip._inputhook_qt4
|
|
90
94
|
|
|
91
95
|
# Otherwise create the inputhook_qt4/preprompthook_qt4 pair of
|
|
@@ -106,7 +110,7 @@ def create_inputhook_qt4(mgr, app=None):
|
|
|
106
110
|
try:
|
|
107
111
|
allow_CTRL_C()
|
|
108
112
|
app = QtCore.QCoreApplication.instance()
|
|
109
|
-
if not app:
|
|
113
|
+
if not app: # shouldn't happen, but safer if it happens anyway...
|
|
110
114
|
return 0
|
|
111
115
|
app.processEvents(QtCore.QEventLoop.AllEvents, 300)
|
|
112
116
|
if not stdin_ready():
|
|
@@ -154,19 +158,18 @@ def create_inputhook_qt4(mgr, app=None):
|
|
|
154
158
|
#
|
|
155
159
|
# Unfortunately this doesn't work on Windows (SIGINT kills
|
|
156
160
|
# Python and CTRL_C_EVENT doesn't work).
|
|
157
|
-
if
|
|
161
|
+
if os.name == "posix":
|
|
158
162
|
pid = os.getpid()
|
|
159
|
-
if
|
|
160
|
-
sigint_timer = threading.Timer(.01, os.kill,
|
|
161
|
-
args=[pid, signal.SIGINT] )
|
|
163
|
+
if not sigint_timer:
|
|
164
|
+
sigint_timer = threading.Timer(0.01, os.kill, args=[pid, signal.SIGINT])
|
|
162
165
|
sigint_timer.start()
|
|
163
166
|
else:
|
|
164
167
|
print("\nKeyboardInterrupt - Ctrl-C again for new prompt")
|
|
165
168
|
|
|
166
|
-
|
|
167
|
-
except: # NO exceptions are allowed to escape from a ctypes callback
|
|
169
|
+
except: # NO exceptions are allowed to escape from a ctypes callback
|
|
168
170
|
ignore_CTRL_C()
|
|
169
171
|
from traceback import print_exc
|
|
172
|
+
|
|
170
173
|
print_exc()
|
|
171
174
|
print("Got exception from inputhook_qt4, unregistering.")
|
|
172
175
|
mgr.clear_inputhook()
|
|
@@ -182,7 +185,7 @@ def create_inputhook_qt4(mgr, app=None):
|
|
|
182
185
|
"""
|
|
183
186
|
global got_kbdint, sigint_timer
|
|
184
187
|
|
|
185
|
-
if
|
|
188
|
+
if sigint_timer:
|
|
186
189
|
sigint_timer.cancel()
|
|
187
190
|
sigint_timer = None
|
|
188
191
|
|
|
@@ -191,6 +194,6 @@ def create_inputhook_qt4(mgr, app=None):
|
|
|
191
194
|
got_kbdint = False
|
|
192
195
|
|
|
193
196
|
ip._inputhook_qt4 = inputhook_qt4
|
|
194
|
-
ip.set_hook(
|
|
197
|
+
ip.set_hook("pre_prompt_hook", preprompthook_qt4)
|
|
195
198
|
|
|
196
199
|
return app, inputhook_qt4
|
|
@@ -5,16 +5,16 @@ Qt5's inputhook support function
|
|
|
5
5
|
Author: Christian Boos
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
# -----------------------------------------------------------------------------
|
|
9
9
|
# Copyright (C) 2011 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
|
import os
|
|
20
20
|
import signal
|
|
@@ -41,17 +41,18 @@ class InteractiveShell:
|
|
|
41
41
|
# KeyboardInterrupts to consider since we are running under PyDev
|
|
42
42
|
pass
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
|
|
45
|
+
# -----------------------------------------------------------------------------
|
|
45
46
|
# Module Globals
|
|
46
|
-
|
|
47
|
+
# -----------------------------------------------------------------------------
|
|
47
48
|
|
|
48
49
|
|
|
49
50
|
got_kbdint = False
|
|
50
51
|
sigint_timer = None
|
|
51
52
|
|
|
52
|
-
|
|
53
|
+
# -----------------------------------------------------------------------------
|
|
53
54
|
# Code
|
|
54
|
-
|
|
55
|
+
# -----------------------------------------------------------------------------
|
|
55
56
|
|
|
56
57
|
|
|
57
58
|
def create_inputhook_qt5(mgr, app=None):
|
|
@@ -85,11 +86,12 @@ def create_inputhook_qt5(mgr, app=None):
|
|
|
85
86
|
app = QtCore.QCoreApplication.instance()
|
|
86
87
|
if app is None:
|
|
87
88
|
from PyQt5 import QtWidgets
|
|
89
|
+
|
|
88
90
|
app = QtWidgets.QApplication([" "])
|
|
89
91
|
|
|
90
92
|
# Re-use previously created inputhook if any
|
|
91
93
|
ip = InteractiveShell.instance()
|
|
92
|
-
if hasattr(ip,
|
|
94
|
+
if hasattr(ip, "_inputhook_qt5"):
|
|
93
95
|
return app, ip._inputhook_qt5
|
|
94
96
|
|
|
95
97
|
# Otherwise create the inputhook_qt5/preprompthook_qt5 pair of
|
|
@@ -158,11 +160,10 @@ def create_inputhook_qt5(mgr, app=None):
|
|
|
158
160
|
#
|
|
159
161
|
# Unfortunately this doesn't work on Windows (SIGINT kills
|
|
160
162
|
# Python and CTRL_C_EVENT doesn't work).
|
|
161
|
-
if
|
|
163
|
+
if os.name == "posix":
|
|
162
164
|
pid = os.getpid()
|
|
163
|
-
if
|
|
164
|
-
sigint_timer = threading.Timer(.01, os.kill,
|
|
165
|
-
args=[pid, signal.SIGINT])
|
|
165
|
+
if not sigint_timer:
|
|
166
|
+
sigint_timer = threading.Timer(0.01, os.kill, args=[pid, signal.SIGINT])
|
|
166
167
|
sigint_timer.start()
|
|
167
168
|
else:
|
|
168
169
|
print("\nKeyboardInterrupt - Ctrl-C again for new prompt")
|
|
@@ -170,6 +171,7 @@ def create_inputhook_qt5(mgr, app=None):
|
|
|
170
171
|
except: # NO exceptions are allowed to escape from a ctypes callback
|
|
171
172
|
ignore_CTRL_C()
|
|
172
173
|
from traceback import print_exc
|
|
174
|
+
|
|
173
175
|
print_exc()
|
|
174
176
|
print("Got exception from inputhook_qt5, unregistering.")
|
|
175
177
|
mgr.clear_inputhook()
|
|
@@ -185,7 +187,7 @@ def create_inputhook_qt5(mgr, app=None):
|
|
|
185
187
|
"""
|
|
186
188
|
global got_kbdint, sigint_timer
|
|
187
189
|
|
|
188
|
-
if
|
|
190
|
+
if sigint_timer:
|
|
189
191
|
sigint_timer.cancel()
|
|
190
192
|
sigint_timer = None
|
|
191
193
|
|
|
@@ -194,6 +196,6 @@ def create_inputhook_qt5(mgr, app=None):
|
|
|
194
196
|
got_kbdint = False
|
|
195
197
|
|
|
196
198
|
ip._inputhook_qt5 = inputhook_qt5
|
|
197
|
-
ip.set_hook(
|
|
199
|
+
ip.set_hook("pre_prompt_hook", preprompthook_qt5)
|
|
198
200
|
|
|
199
201
|
return app, inputhook_qt5
|
|
@@ -5,16 +5,16 @@ Qt6's inputhook support function
|
|
|
5
5
|
Author: Christian Boos, Marijn van Vliet
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
# -----------------------------------------------------------------------------
|
|
9
9
|
# Copyright (C) 2011 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
|
import os
|
|
20
20
|
import signal
|
|
@@ -41,17 +41,18 @@ class InteractiveShell:
|
|
|
41
41
|
# KeyboardInterrupts to consider since we are running under PyDev
|
|
42
42
|
pass
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
|
|
45
|
+
# -----------------------------------------------------------------------------
|
|
45
46
|
# Module Globals
|
|
46
|
-
|
|
47
|
+
# -----------------------------------------------------------------------------
|
|
47
48
|
|
|
48
49
|
|
|
49
50
|
got_kbdint = False
|
|
50
51
|
sigint_timer = None
|
|
51
52
|
|
|
52
|
-
|
|
53
|
+
# -----------------------------------------------------------------------------
|
|
53
54
|
# Code
|
|
54
|
-
|
|
55
|
+
# -----------------------------------------------------------------------------
|
|
55
56
|
|
|
56
57
|
|
|
57
58
|
def create_inputhook_qt6(mgr, app=None):
|
|
@@ -85,11 +86,12 @@ def create_inputhook_qt6(mgr, app=None):
|
|
|
85
86
|
app = QtCore.QCoreApplication.instance()
|
|
86
87
|
if app is None:
|
|
87
88
|
from PyQt6 import QtWidgets
|
|
89
|
+
|
|
88
90
|
app = QtWidgets.QApplication([" "])
|
|
89
91
|
|
|
90
92
|
# Re-use previously created inputhook if any
|
|
91
93
|
ip = InteractiveShell.instance()
|
|
92
|
-
if hasattr(ip,
|
|
94
|
+
if hasattr(ip, "_inputhook_qt6"):
|
|
93
95
|
return app, ip._inputhook_qt6
|
|
94
96
|
|
|
95
97
|
# Otherwise create the inputhook_qt6/preprompthook_qt6 pair of
|
|
@@ -158,11 +160,10 @@ def create_inputhook_qt6(mgr, app=None):
|
|
|
158
160
|
#
|
|
159
161
|
# Unfortunately this doesn't work on Windows (SIGINT kills
|
|
160
162
|
# Python and CTRL_C_EVENT doesn't work).
|
|
161
|
-
if
|
|
163
|
+
if os.name == "posix":
|
|
162
164
|
pid = os.getpid()
|
|
163
|
-
if
|
|
164
|
-
sigint_timer = threading.Timer(.01, os.kill,
|
|
165
|
-
args=[pid, signal.SIGINT])
|
|
165
|
+
if not sigint_timer:
|
|
166
|
+
sigint_timer = threading.Timer(0.01, os.kill, args=[pid, signal.SIGINT])
|
|
166
167
|
sigint_timer.start()
|
|
167
168
|
else:
|
|
168
169
|
print("\nKeyboardInterrupt - Ctrl-C again for new prompt")
|
|
@@ -170,6 +171,7 @@ def create_inputhook_qt6(mgr, app=None):
|
|
|
170
171
|
except: # NO exceptions are allowed to escape from a ctypes callback
|
|
171
172
|
ignore_CTRL_C()
|
|
172
173
|
from traceback import print_exc
|
|
174
|
+
|
|
173
175
|
print_exc()
|
|
174
176
|
print("Got exception from inputhook_qt6, unregistering.")
|
|
175
177
|
mgr.clear_inputhook()
|
|
@@ -185,7 +187,7 @@ def create_inputhook_qt6(mgr, app=None):
|
|
|
185
187
|
"""
|
|
186
188
|
global got_kbdint, sigint_timer
|
|
187
189
|
|
|
188
|
-
if
|
|
190
|
+
if sigint_timer:
|
|
189
191
|
sigint_timer.cancel()
|
|
190
192
|
sigint_timer = None
|
|
191
193
|
|
|
@@ -194,6 +196,6 @@ def create_inputhook_qt6(mgr, app=None):
|
|
|
194
196
|
got_kbdint = False
|
|
195
197
|
|
|
196
198
|
ip._inputhook_qt6 = inputhook_qt6
|
|
197
|
-
ip.set_hook(
|
|
199
|
+
ip.set_hook("pre_prompt_hook", preprompthook_qt6)
|
|
198
200
|
|
|
199
201
|
return app, inputhook_qt6
|
|
@@ -2,22 +2,24 @@
|
|
|
2
2
|
# Unlike what IPython does, we need to have an explicit inputhook because tkinter handles
|
|
3
3
|
# input hook in the C Source code
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
# -----------------------------------------------------------------------------
|
|
6
6
|
# Imports
|
|
7
|
-
|
|
7
|
+
# -----------------------------------------------------------------------------
|
|
8
8
|
|
|
9
9
|
from pydev_ipython.inputhook import stdin_ready
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
# -----------------------------------------------------------------------------
|
|
12
12
|
# Code
|
|
13
|
-
|
|
13
|
+
# -----------------------------------------------------------------------------
|
|
14
14
|
|
|
15
15
|
TCL_DONT_WAIT = 1 << 1
|
|
16
16
|
|
|
17
|
+
|
|
17
18
|
def create_inputhook_tk(app):
|
|
18
19
|
def inputhook_tk():
|
|
19
20
|
while app.dooneevent(TCL_DONT_WAIT) == 1:
|
|
20
21
|
if stdin_ready():
|
|
21
22
|
break
|
|
22
23
|
return 0
|
|
24
|
+
|
|
23
25
|
return inputhook_tk
|
|
@@ -5,16 +5,16 @@ Enable wxPython to be used interacive by setting PyOS_InputHook.
|
|
|
5
5
|
Authors: Robin Dunn, Brian Granger, Ondrej Certik
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
# -----------------------------------------------------------------------------
|
|
9
9
|
# Copyright (C) 2008-2011 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
|
import sys
|
|
20
20
|
import signal
|
|
@@ -25,9 +25,10 @@ import wx
|
|
|
25
25
|
from pydev_ipython.inputhook import stdin_ready
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
# -----------------------------------------------------------------------------
|
|
29
29
|
# Code
|
|
30
|
-
|
|
30
|
+
# -----------------------------------------------------------------------------
|
|
31
|
+
|
|
31
32
|
|
|
32
33
|
def inputhook_wx1():
|
|
33
34
|
"""Run the wx event loop by processing pending events only.
|
|
@@ -53,8 +54,8 @@ def inputhook_wx1():
|
|
|
53
54
|
pass
|
|
54
55
|
return 0
|
|
55
56
|
|
|
56
|
-
class EventLoopTimer(wx.Timer): # @UndefinedVariable
|
|
57
57
|
|
|
58
|
+
class EventLoopTimer(wx.Timer): # @UndefinedVariable
|
|
58
59
|
def __init__(self, func):
|
|
59
60
|
self.func = func
|
|
60
61
|
wx.Timer.__init__(self) # @UndefinedVariable
|
|
@@ -62,8 +63,8 @@ class EventLoopTimer(wx.Timer): # @UndefinedVariable
|
|
|
62
63
|
def Notify(self):
|
|
63
64
|
self.func()
|
|
64
65
|
|
|
65
|
-
class EventLoopRunner(object):
|
|
66
66
|
|
|
67
|
+
class EventLoopRunner(object):
|
|
67
68
|
def Run(self, time):
|
|
68
69
|
self.evtloop = wx.EventLoop() # @UndefinedVariable
|
|
69
70
|
self.timer = EventLoopTimer(self.check_stdin)
|
|
@@ -75,6 +76,7 @@ class EventLoopRunner(object):
|
|
|
75
76
|
self.timer.Stop()
|
|
76
77
|
self.evtloop.Exit()
|
|
77
78
|
|
|
79
|
+
|
|
78
80
|
def inputhook_wx2():
|
|
79
81
|
"""Run the wx event loop, polling for stdin.
|
|
80
82
|
|
|
@@ -101,6 +103,7 @@ def inputhook_wx2():
|
|
|
101
103
|
pass
|
|
102
104
|
return 0
|
|
103
105
|
|
|
106
|
+
|
|
104
107
|
def inputhook_wx3():
|
|
105
108
|
"""Run the wx event loop by processing pending events only.
|
|
106
109
|
|
|
@@ -114,7 +117,7 @@ def inputhook_wx3():
|
|
|
114
117
|
try:
|
|
115
118
|
app = wx.GetApp() # @UndefinedVariable
|
|
116
119
|
if app is not None:
|
|
117
|
-
if hasattr(wx,
|
|
120
|
+
if hasattr(wx, "IsMainThread"):
|
|
118
121
|
assert wx.IsMainThread() # @UndefinedVariable
|
|
119
122
|
else:
|
|
120
123
|
assert wx.Thread_IsMain() # @UndefinedVariable
|
|
@@ -159,7 +162,8 @@ def inputhook_wx3():
|
|
|
159
162
|
pass
|
|
160
163
|
return 0
|
|
161
164
|
|
|
162
|
-
|
|
165
|
+
|
|
166
|
+
if sys.platform == "darwin":
|
|
163
167
|
# On OSX, evtloop.Pending() always returns True, regardless of there being
|
|
164
168
|
# any events pending. As such we can't use implementations 1 or 3 of the
|
|
165
169
|
# inputhook as those depend on a pending/dispatch loop.
|
{debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/matplotlibtools.py
RENAMED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
|
|
2
1
|
import sys
|
|
3
2
|
from _pydev_bundle import pydev_log
|
|
4
3
|
|
|
5
|
-
backends = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
backends = {
|
|
5
|
+
"tk": "TkAgg",
|
|
6
|
+
"gtk": "GTKAgg",
|
|
7
|
+
"wx": "WXAgg",
|
|
8
|
+
"qt": "QtAgg", # Auto-choose qt4/5
|
|
9
|
+
"qt4": "Qt4Agg",
|
|
10
|
+
"qt5": "Qt5Agg",
|
|
11
|
+
"qt6": "Qt6Agg",
|
|
12
|
+
"osx": "MacOSX",
|
|
13
|
+
}
|
|
13
14
|
|
|
14
15
|
# We also need a reverse backends2guis mapping that will properly choose which
|
|
15
16
|
# GUI support to activate based on the desired matplotlib backend. For the
|
|
@@ -18,21 +19,23 @@ backends = {'tk': 'TkAgg',
|
|
|
18
19
|
backend2gui = dict(zip(backends.values(), backends.keys()))
|
|
19
20
|
# In the reverse mapping, there are a few extra valid matplotlib backends that
|
|
20
21
|
# map to the same GUI support
|
|
21
|
-
backend2gui[
|
|
22
|
-
backend2gui[
|
|
23
|
-
backend2gui[
|
|
22
|
+
backend2gui["GTK"] = backend2gui["GTKCairo"] = "gtk"
|
|
23
|
+
backend2gui["WX"] = "wx"
|
|
24
|
+
backend2gui["CocoaAgg"] = "osx"
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
def do_enable_gui(guiname):
|
|
27
28
|
from _pydev_bundle.pydev_versioncheck import versionok_for_gui
|
|
29
|
+
|
|
28
30
|
if versionok_for_gui():
|
|
29
31
|
try:
|
|
30
32
|
from pydev_ipython.inputhook import enable_gui
|
|
33
|
+
|
|
31
34
|
enable_gui(guiname)
|
|
32
35
|
except:
|
|
33
36
|
sys.stderr.write("Failed to enable GUI event loop integration for '%s'\n" % guiname)
|
|
34
37
|
pydev_log.exception()
|
|
35
|
-
elif guiname not in [
|
|
38
|
+
elif guiname not in ["none", "", None]:
|
|
36
39
|
# Only print a warning if the guiname was going to do something
|
|
37
40
|
sys.stderr.write("Debug console: Python version does not support GUI event loop integration for '%s'\n" % guiname)
|
|
38
41
|
# Return value does not matter, so return back what was sent
|
|
@@ -41,9 +44,9 @@ def do_enable_gui(guiname):
|
|
|
41
44
|
|
|
42
45
|
def find_gui_and_backend():
|
|
43
46
|
"""Return the gui and mpl backend."""
|
|
44
|
-
matplotlib = sys.modules[
|
|
47
|
+
matplotlib = sys.modules["matplotlib"]
|
|
45
48
|
# WARNING: this assumes matplotlib 1.1 or newer!!
|
|
46
|
-
backend = matplotlib.rcParams[
|
|
49
|
+
backend = matplotlib.rcParams["backend"]
|
|
47
50
|
# In this case, we need to find what the appropriate gui selection call
|
|
48
51
|
# should be for IPython, so we can activate inputhook accordingly
|
|
49
52
|
gui = backend2gui.get(backend, None)
|
|
@@ -51,9 +54,10 @@ def find_gui_and_backend():
|
|
|
51
54
|
|
|
52
55
|
|
|
53
56
|
def is_interactive_backend(backend):
|
|
54
|
-
"""
|
|
55
|
-
matplotlib = sys.modules[
|
|
57
|
+
"""Check if backend is interactive"""
|
|
58
|
+
matplotlib = sys.modules["matplotlib"]
|
|
56
59
|
from matplotlib.rcsetup import interactive_bk, non_interactive_bk # @UnresolvedImport
|
|
60
|
+
|
|
57
61
|
if backend in interactive_bk:
|
|
58
62
|
return True
|
|
59
63
|
elif backend in non_interactive_bk:
|
|
@@ -63,8 +67,8 @@ def is_interactive_backend(backend):
|
|
|
63
67
|
|
|
64
68
|
|
|
65
69
|
def patch_use(enable_gui_function):
|
|
66
|
-
"""
|
|
67
|
-
matplotlib = sys.modules[
|
|
70
|
+
"""Patch matplotlib function 'use'"""
|
|
71
|
+
matplotlib = sys.modules["matplotlib"]
|
|
68
72
|
|
|
69
73
|
def patched_use(*args, **kwargs):
|
|
70
74
|
matplotlib.real_use(*args, **kwargs)
|
|
@@ -76,11 +80,11 @@ def patch_use(enable_gui_function):
|
|
|
76
80
|
|
|
77
81
|
|
|
78
82
|
def patch_is_interactive():
|
|
79
|
-
"""
|
|
80
|
-
matplotlib = sys.modules[
|
|
83
|
+
"""Patch matplotlib function 'use'"""
|
|
84
|
+
matplotlib = sys.modules["matplotlib"]
|
|
81
85
|
|
|
82
86
|
def patched_is_interactive():
|
|
83
|
-
return matplotlib.rcParams[
|
|
87
|
+
return matplotlib.rcParams["interactive"]
|
|
84
88
|
|
|
85
89
|
matplotlib.real_is_interactive = matplotlib.is_interactive
|
|
86
90
|
matplotlib.is_interactive = patched_is_interactive
|
|
@@ -90,7 +94,7 @@ def activate_matplotlib(enable_gui_function):
|
|
|
90
94
|
"""Set interactive to True for interactive backends.
|
|
91
95
|
enable_gui_function - Function which enables gui, should be run in the main thread.
|
|
92
96
|
"""
|
|
93
|
-
matplotlib = sys.modules[
|
|
97
|
+
matplotlib = sys.modules["matplotlib"]
|
|
94
98
|
gui, backend = find_gui_and_backend()
|
|
95
99
|
is_interactive = is_interactive_backend(backend)
|
|
96
100
|
if is_interactive:
|
|
@@ -120,7 +124,7 @@ def flag_calls(func):
|
|
|
120
124
|
func() was attempted and succeeded."""
|
|
121
125
|
|
|
122
126
|
# don't wrap twice
|
|
123
|
-
if hasattr(func,
|
|
127
|
+
if hasattr(func, "called"):
|
|
124
128
|
return func
|
|
125
129
|
|
|
126
130
|
def wrapper(*args, **kw):
|
|
@@ -135,7 +139,7 @@ def flag_calls(func):
|
|
|
135
139
|
|
|
136
140
|
|
|
137
141
|
def activate_pylab():
|
|
138
|
-
pylab = sys.modules[
|
|
142
|
+
pylab = sys.modules["pylab"]
|
|
139
143
|
pylab.show._needmain = False
|
|
140
144
|
# We need to detect at runtime whether show() is called by the user.
|
|
141
145
|
# For this, we wrap it into a decorator which adds a 'called' flag.
|
|
@@ -143,7 +147,7 @@ def activate_pylab():
|
|
|
143
147
|
|
|
144
148
|
|
|
145
149
|
def activate_pyplot():
|
|
146
|
-
pyplot = sys.modules[
|
|
150
|
+
pyplot = sys.modules["matplotlib.pyplot"]
|
|
147
151
|
pyplot.show._needmain = False
|
|
148
152
|
# We need to detect at runtime whether show() is called by the user.
|
|
149
153
|
# For this, we wrap it into a decorator which adds a 'called' flag.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""A Qt API selector that can be used to switch between PyQt and PySide.
|
|
2
|
+
|
|
3
|
+
This uses the ETS 4.0 selection pattern of:
|
|
4
|
+
PySide first, PyQt with API v2. second.
|
|
5
|
+
|
|
6
|
+
Do not use this if you need PyQt with the old QString/QVariant API.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import os
|
|
10
|
+
|
|
11
|
+
from pydev_ipython.qt_loaders import load_qt, QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT, QT_API_PYQT5, QT_API_PYQT6
|
|
12
|
+
|
|
13
|
+
QT_API = os.environ.get("QT_API", None)
|
|
14
|
+
if QT_API not in [QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT, QT_API_PYQT5, QT_API_PYQT6, None]:
|
|
15
|
+
raise RuntimeError(
|
|
16
|
+
"Invalid Qt API %r, valid values are: %r, %r, %r, %r, %r"
|
|
17
|
+
% (QT_API, QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT, QT_API_PYQT5, QT_API_PYQT6)
|
|
18
|
+
)
|
|
19
|
+
if QT_API is None:
|
|
20
|
+
api_opts = [QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT, QT_API_PYQT5, QT_API_PYQT6]
|
|
21
|
+
else:
|
|
22
|
+
api_opts = [QT_API]
|
|
23
|
+
|
|
24
|
+
QtCore, QtGui, QtSvg, QT_API = load_qt(api_opts)
|