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
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from _pydevd_bundle.pydevd_constants import USE_CYTHON_FLAG, ENV_TRUE_LOWER_VALUES, ENV_FALSE_LOWER_VALUES, IS_PY312_OR_GREATER
|
|
2
|
+
|
|
3
|
+
if IS_PY312_OR_GREATER:
|
|
4
|
+
if USE_CYTHON_FLAG in ENV_TRUE_LOWER_VALUES:
|
|
5
|
+
from ._pydevd_sys_monitoring_cython import *
|
|
6
|
+
|
|
7
|
+
elif USE_CYTHON_FLAG in ENV_FALSE_LOWER_VALUES:
|
|
8
|
+
from ._pydevd_sys_monitoring import *
|
|
9
|
+
|
|
10
|
+
else:
|
|
11
|
+
try:
|
|
12
|
+
from ._pydevd_sys_monitoring_cython import *
|
|
13
|
+
except:
|
|
14
|
+
from ._pydevd_sys_monitoring import *
|
|
15
|
+
else:
|
|
16
|
+
from ._pydevd_sys_monitoring import *
|
{debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_app_engine_debug_startup.py
RENAMED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
if False:
|
|
2
2
|
config = None
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
|
|
4
|
+
|
|
5
5
|
# See: https://docs.google.com/document/d/1CCSaRiIWCLgbD3OwmuKsRoHHDfBffbROWyVWWL0ZXN4/edit
|
|
6
|
-
if
|
|
6
|
+
if ":" not in config.version_id:
|
|
7
7
|
# The default server version_id does not contain ':'
|
|
8
|
-
import json
|
|
8
|
+
import json
|
|
9
9
|
import os
|
|
10
10
|
import sys
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
startup = config.python_config.startup_args
|
|
13
13
|
if not startup:
|
|
14
|
-
raise AssertionError(
|
|
15
|
-
|
|
16
|
-
setup = json.loads(startup)
|
|
17
|
-
pydevd_path = setup[
|
|
14
|
+
raise AssertionError("Expected --python_startup_args to be passed from the pydev debugger.")
|
|
15
|
+
|
|
16
|
+
setup = json.loads(startup)
|
|
17
|
+
pydevd_path = setup["pydevd"]
|
|
18
18
|
sys.path.append(os.path.dirname(pydevd_path))
|
|
19
|
-
|
|
19
|
+
|
|
20
20
|
import pydevd
|
|
21
|
-
|
|
21
|
+
|
|
22
|
+
pydevd.settrace(setup["client"], port=setup["port"], suspend=False, trace_only_current_thread=False)
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
"""
|
|
2
2
|
Entry point module to run code-coverage.
|
|
3
|
-
|
|
3
|
+
"""
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
def is_valid_py_file(path):
|
|
7
|
-
|
|
7
|
+
"""
|
|
8
8
|
Checks whether the file can be read by the coverage module. This is especially
|
|
9
9
|
needed for .pyx files and .py files with syntax errors.
|
|
10
|
-
|
|
10
|
+
"""
|
|
11
11
|
import os
|
|
12
12
|
|
|
13
13
|
is_valid = False
|
|
14
|
-
if os.path.isfile(path) and not os.path.splitext(path)[1] ==
|
|
14
|
+
if os.path.isfile(path) and not os.path.splitext(path)[1] == ".pyx":
|
|
15
15
|
try:
|
|
16
|
-
with open(path,
|
|
17
|
-
compile(f.read(), path,
|
|
16
|
+
with open(path, "rb") as f:
|
|
17
|
+
compile(f.read(), path, "exec")
|
|
18
18
|
is_valid = True
|
|
19
19
|
except:
|
|
20
20
|
pass
|
|
@@ -26,29 +26,26 @@ def execute():
|
|
|
26
26
|
import sys
|
|
27
27
|
|
|
28
28
|
files = None
|
|
29
|
-
if
|
|
30
|
-
|
|
31
|
-
if '--pydev-analyze' in sys.argv:
|
|
32
|
-
|
|
29
|
+
if "combine" not in sys.argv:
|
|
30
|
+
if "--pydev-analyze" in sys.argv:
|
|
33
31
|
# Ok, what we want here is having the files passed through stdin (because
|
|
34
32
|
# there may be too many files for passing in the command line -- we could
|
|
35
33
|
# just pass a dir and make the find files here, but as that's already
|
|
36
34
|
# given in the java side, let's just gather that info here).
|
|
37
|
-
sys.argv.remove(
|
|
35
|
+
sys.argv.remove("--pydev-analyze")
|
|
38
36
|
s = input()
|
|
39
|
-
s = s.replace(
|
|
40
|
-
s = s.replace(
|
|
37
|
+
s = s.replace("\r", "")
|
|
38
|
+
s = s.replace("\n", "")
|
|
41
39
|
|
|
42
40
|
files = []
|
|
43
41
|
invalid_files = []
|
|
44
|
-
for v in s.split(
|
|
42
|
+
for v in s.split("|"):
|
|
45
43
|
if is_valid_py_file(v):
|
|
46
44
|
files.append(v)
|
|
47
45
|
else:
|
|
48
46
|
invalid_files.append(v)
|
|
49
47
|
if invalid_files:
|
|
50
|
-
sys.stderr.write(
|
|
51
|
-
% ', '.join(invalid_files))
|
|
48
|
+
sys.stderr.write("Invalid files not passed to coverage: %s\n" % ", ".join(invalid_files))
|
|
52
49
|
|
|
53
50
|
# Note that in this case we'll already be in the working dir with the coverage files,
|
|
54
51
|
# so, the coverage file location is not passed.
|
|
@@ -56,39 +53,40 @@ def execute():
|
|
|
56
53
|
else:
|
|
57
54
|
# For all commands, the coverage file is configured in pydev, and passed as the first
|
|
58
55
|
# argument in the command line, so, let's make sure this gets to the coverage module.
|
|
59
|
-
os.environ[
|
|
56
|
+
os.environ["COVERAGE_FILE"] = sys.argv[1]
|
|
60
57
|
del sys.argv[1]
|
|
61
58
|
|
|
62
59
|
try:
|
|
63
60
|
import coverage # @UnresolvedImport
|
|
64
61
|
except:
|
|
65
|
-
sys.stderr.write(
|
|
66
|
-
sys.stderr.write(
|
|
67
|
-
|
|
68
|
-
|
|
62
|
+
sys.stderr.write("Error: coverage module could not be imported\n")
|
|
63
|
+
sys.stderr.write("Please make sure that the coverage module " "(http://nedbatchelder.com/code/coverage/)\n")
|
|
64
|
+
sys.stderr.write("is properly installed in your interpreter: %s\n" % (sys.executable,))
|
|
65
|
+
|
|
66
|
+
import traceback
|
|
69
67
|
|
|
70
|
-
|
|
68
|
+
traceback.print_exc()
|
|
71
69
|
return
|
|
72
70
|
|
|
73
|
-
if hasattr(coverage,
|
|
74
|
-
version = tuple(map(int, coverage.__version__.split(
|
|
71
|
+
if hasattr(coverage, "__version__"):
|
|
72
|
+
version = tuple(map(int, coverage.__version__.split(".")[:2]))
|
|
75
73
|
if version < (4, 3):
|
|
76
|
-
sys.stderr.write(
|
|
77
|
-
|
|
78
|
-
|
|
74
|
+
sys.stderr.write(
|
|
75
|
+
"Error: minimum supported coverage version is 4.3."
|
|
76
|
+
"\nFound: %s\nLocation: %s\n" % (".".join(str(x) for x in version), coverage.__file__)
|
|
77
|
+
)
|
|
79
78
|
sys.exit(1)
|
|
80
79
|
else:
|
|
81
|
-
sys.stderr.write(
|
|
82
|
-
'\nEnsure coverage version is >= 4.3\n')
|
|
80
|
+
sys.stderr.write("Warning: Could not determine version of python module coverage." "\nEnsure coverage version is >= 4.3\n")
|
|
83
81
|
|
|
84
82
|
from coverage.cmdline import main # @UnresolvedImport
|
|
85
83
|
|
|
86
84
|
if files is not None:
|
|
87
|
-
sys.argv.append(
|
|
85
|
+
sys.argv.append("xml")
|
|
88
86
|
sys.argv += files
|
|
89
87
|
|
|
90
88
|
main()
|
|
91
89
|
|
|
92
90
|
|
|
93
|
-
if __name__ ==
|
|
91
|
+
if __name__ == "__main__":
|
|
94
92
|
execute()
|
|
@@ -3,41 +3,41 @@
|
|
|
3
3
|
Inputhook management for GUI event loop integration.
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# -----------------------------------------------------------------------------
|
|
7
7
|
# Copyright (C) 2008-2011 The IPython Development Team
|
|
8
8
|
#
|
|
9
9
|
# Distributed under the terms of the BSD License. The full license is in
|
|
10
10
|
# the file COPYING, distributed as part of this software.
|
|
11
|
-
|
|
11
|
+
# -----------------------------------------------------------------------------
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
# -----------------------------------------------------------------------------
|
|
14
14
|
# Imports
|
|
15
|
-
|
|
15
|
+
# -----------------------------------------------------------------------------
|
|
16
16
|
|
|
17
17
|
import sys
|
|
18
18
|
import select
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
# -----------------------------------------------------------------------------
|
|
21
21
|
# Constants
|
|
22
|
-
|
|
22
|
+
# -----------------------------------------------------------------------------
|
|
23
23
|
|
|
24
24
|
# Constants for identifying the GUI toolkits.
|
|
25
|
-
GUI_WX =
|
|
26
|
-
GUI_QT =
|
|
27
|
-
GUI_QT4 =
|
|
28
|
-
GUI_QT5 =
|
|
29
|
-
GUI_QT6 =
|
|
30
|
-
GUI_GTK =
|
|
31
|
-
GUI_TK =
|
|
32
|
-
GUI_OSX =
|
|
33
|
-
GUI_GLUT =
|
|
34
|
-
GUI_PYGLET =
|
|
35
|
-
GUI_GTK3 =
|
|
36
|
-
GUI_NONE =
|
|
37
|
-
|
|
38
|
-
|
|
25
|
+
GUI_WX = "wx"
|
|
26
|
+
GUI_QT = "qt"
|
|
27
|
+
GUI_QT4 = "qt4"
|
|
28
|
+
GUI_QT5 = "qt5"
|
|
29
|
+
GUI_QT6 = "qt6"
|
|
30
|
+
GUI_GTK = "gtk"
|
|
31
|
+
GUI_TK = "tk"
|
|
32
|
+
GUI_OSX = "osx"
|
|
33
|
+
GUI_GLUT = "glut"
|
|
34
|
+
GUI_PYGLET = "pyglet"
|
|
35
|
+
GUI_GTK3 = "gtk3"
|
|
36
|
+
GUI_NONE = "none" # i.e. disable
|
|
37
|
+
|
|
38
|
+
# -----------------------------------------------------------------------------
|
|
39
39
|
# Utilities
|
|
40
|
-
|
|
40
|
+
# -----------------------------------------------------------------------------
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
def ignore_CTRL_C():
|
|
@@ -49,9 +49,10 @@ def allow_CTRL_C():
|
|
|
49
49
|
"""Take CTRL+C into account (not implemented)."""
|
|
50
50
|
pass
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
|
|
53
|
+
# -----------------------------------------------------------------------------
|
|
53
54
|
# Main InputHookManager class
|
|
54
|
-
|
|
55
|
+
# -----------------------------------------------------------------------------
|
|
55
56
|
|
|
56
57
|
|
|
57
58
|
class InputHookManager(object):
|
|
@@ -147,12 +148,14 @@ class InputHookManager(object):
|
|
|
147
148
|
"""
|
|
148
149
|
import wx
|
|
149
150
|
from distutils.version import LooseVersion as V
|
|
151
|
+
|
|
150
152
|
wx_version = V(wx.__version__).version # @UndefinedVariable
|
|
151
153
|
|
|
152
154
|
if wx_version < [2, 8]:
|
|
153
155
|
raise ValueError("requires wxPython >= 2.8, but you have %s" % wx.__version__) # @UndefinedVariable
|
|
154
156
|
|
|
155
157
|
from pydev_ipython.inputhookwx import inputhook_wx
|
|
158
|
+
|
|
156
159
|
self.set_inputhook(inputhook_wx)
|
|
157
160
|
self._current_gui = GUI_WX
|
|
158
161
|
|
|
@@ -175,6 +178,7 @@ class InputHookManager(object):
|
|
|
175
178
|
|
|
176
179
|
def enable_qt(self, app=None):
|
|
177
180
|
from pydev_ipython.qt_for_kernel import QT_API, QT_API_PYQT5, QT_API_PYQT6
|
|
181
|
+
|
|
178
182
|
if QT_API == QT_API_PYQT6:
|
|
179
183
|
self.enable_qt6(app)
|
|
180
184
|
elif QT_API == QT_API_PYQT5:
|
|
@@ -205,6 +209,7 @@ class InputHookManager(object):
|
|
|
205
209
|
app = QtGui.QApplication(sys.argv)
|
|
206
210
|
"""
|
|
207
211
|
from pydev_ipython.inputhookqt4 import create_inputhook_qt4
|
|
212
|
+
|
|
208
213
|
app, inputhook_qt4 = create_inputhook_qt4(self, app)
|
|
209
214
|
self.set_inputhook(inputhook_qt4)
|
|
210
215
|
|
|
@@ -224,6 +229,7 @@ class InputHookManager(object):
|
|
|
224
229
|
|
|
225
230
|
def enable_qt5(self, app=None):
|
|
226
231
|
from pydev_ipython.inputhookqt5 import create_inputhook_qt5
|
|
232
|
+
|
|
227
233
|
app, inputhook_qt5 = create_inputhook_qt5(self, app)
|
|
228
234
|
self.set_inputhook(inputhook_qt5)
|
|
229
235
|
|
|
@@ -239,6 +245,7 @@ class InputHookManager(object):
|
|
|
239
245
|
|
|
240
246
|
def enable_qt6(self, app=None):
|
|
241
247
|
from pydev_ipython.inputhookqt6 import create_inputhook_qt6
|
|
248
|
+
|
|
242
249
|
app, inputhook_qt6 = create_inputhook_qt6(self, app)
|
|
243
250
|
self.set_inputhook(inputhook_qt6)
|
|
244
251
|
|
|
@@ -269,6 +276,7 @@ class InputHookManager(object):
|
|
|
269
276
|
IPython.
|
|
270
277
|
"""
|
|
271
278
|
from pydev_ipython.inputhookgtk import create_inputhook_gtk
|
|
279
|
+
|
|
272
280
|
self.set_inputhook(create_inputhook_gtk(self._stdin_file))
|
|
273
281
|
self._current_gui = GUI_GTK
|
|
274
282
|
|
|
@@ -307,6 +315,7 @@ class InputHookManager(object):
|
|
|
307
315
|
self._apps[GUI_TK] = app
|
|
308
316
|
|
|
309
317
|
from pydev_ipython.inputhooktk import create_inputhook_tk
|
|
318
|
+
|
|
310
319
|
self.set_inputhook(create_inputhook_tk(app))
|
|
311
320
|
return app
|
|
312
321
|
|
|
@@ -318,7 +327,7 @@ class InputHookManager(object):
|
|
|
318
327
|
self.clear_inputhook()
|
|
319
328
|
|
|
320
329
|
def enable_glut(self, app=None):
|
|
321
|
-
"""
|
|
330
|
+
"""Enable event loop integration with GLUT.
|
|
322
331
|
|
|
323
332
|
Parameters
|
|
324
333
|
----------
|
|
@@ -343,19 +352,16 @@ class InputHookManager(object):
|
|
|
343
352
|
"""
|
|
344
353
|
|
|
345
354
|
import OpenGL.GLUT as glut # @UnresolvedImport
|
|
346
|
-
from pydev_ipython.inputhookglut import glut_display_mode,
|
|
347
|
-
glut_close, glut_display, \
|
|
348
|
-
glut_idle, inputhook_glut
|
|
355
|
+
from pydev_ipython.inputhookglut import glut_display_mode, glut_close, glut_display, glut_idle, inputhook_glut
|
|
349
356
|
|
|
350
357
|
if GUI_GLUT not in self._apps:
|
|
351
|
-
argv = getattr(sys,
|
|
358
|
+
argv = getattr(sys, "argv", [])
|
|
352
359
|
glut.glutInit(argv)
|
|
353
360
|
glut.glutInitDisplayMode(glut_display_mode)
|
|
354
361
|
# This is specific to freeglut
|
|
355
362
|
if bool(glut.glutSetOption):
|
|
356
|
-
glut.glutSetOption(glut.GLUT_ACTION_ON_WINDOW_CLOSE,
|
|
357
|
-
|
|
358
|
-
glut.glutCreateWindow(argv[0] if len(argv) > 0 else '')
|
|
363
|
+
glut.glutSetOption(glut.GLUT_ACTION_ON_WINDOW_CLOSE, glut.GLUT_ACTION_GLUTMAINLOOP_RETURNS)
|
|
364
|
+
glut.glutCreateWindow(argv[0] if len(argv) > 0 else "")
|
|
359
365
|
glut.glutReshapeWindow(1, 1)
|
|
360
366
|
glut.glutHideWindow()
|
|
361
367
|
glut.glutWMCloseFunc(glut_close)
|
|
@@ -401,6 +407,7 @@ class InputHookManager(object):
|
|
|
401
407
|
|
|
402
408
|
"""
|
|
403
409
|
from pydev_ipython.inputhookpyglet import inputhook_pyglet
|
|
410
|
+
|
|
404
411
|
self.set_inputhook(inputhook_pyglet)
|
|
405
412
|
self._current_gui = GUI_PYGLET
|
|
406
413
|
return app
|
|
@@ -429,6 +436,7 @@ class InputHookManager(object):
|
|
|
429
436
|
IPython.
|
|
430
437
|
"""
|
|
431
438
|
from pydev_ipython.inputhookgtk3 import create_inputhook_gtk3
|
|
439
|
+
|
|
432
440
|
self.set_inputhook(create_inputhook_gtk3(self._stdin_file))
|
|
433
441
|
self._current_gui = GUI_GTK
|
|
434
442
|
|
|
@@ -440,7 +448,7 @@ class InputHookManager(object):
|
|
|
440
448
|
self.clear_inputhook()
|
|
441
449
|
|
|
442
450
|
def enable_mac(self, app=None):
|
|
443
|
-
"""
|
|
451
|
+
"""Enable event loop integration with MacOSX.
|
|
444
452
|
|
|
445
453
|
We call function pyplot.pause, which updates and displays active
|
|
446
454
|
figure during pause. It's not MacOSX-specific, but it enables to
|
|
@@ -452,13 +460,13 @@ class InputHookManager(object):
|
|
|
452
460
|
|
|
453
461
|
def inputhook_mac(app=None):
|
|
454
462
|
if self.pyplot_imported:
|
|
455
|
-
pyplot = sys.modules[
|
|
463
|
+
pyplot = sys.modules["matplotlib.pyplot"]
|
|
456
464
|
try:
|
|
457
465
|
pyplot.pause(0.01)
|
|
458
466
|
except:
|
|
459
467
|
pass
|
|
460
468
|
else:
|
|
461
|
-
if
|
|
469
|
+
if "matplotlib.pyplot" in sys.modules:
|
|
462
470
|
self.pyplot_imported = True
|
|
463
471
|
|
|
464
472
|
self.set_inputhook(inputhook_mac)
|
|
@@ -535,22 +543,23 @@ def enable_gui(gui=None, app=None):
|
|
|
535
543
|
if get_return_control_callback() is None:
|
|
536
544
|
raise ValueError("A return_control_callback must be supplied as a reference before a gui can be enabled")
|
|
537
545
|
|
|
538
|
-
guis = {
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
546
|
+
guis = {
|
|
547
|
+
GUI_NONE: clear_inputhook,
|
|
548
|
+
GUI_OSX: enable_mac,
|
|
549
|
+
GUI_TK: enable_tk,
|
|
550
|
+
GUI_GTK: enable_gtk,
|
|
551
|
+
GUI_WX: enable_wx,
|
|
552
|
+
GUI_QT: enable_qt,
|
|
553
|
+
GUI_QT4: enable_qt4,
|
|
554
|
+
GUI_QT5: enable_qt5,
|
|
555
|
+
GUI_GLUT: enable_glut,
|
|
556
|
+
GUI_PYGLET: enable_pyglet,
|
|
557
|
+
GUI_GTK3: enable_gtk3,
|
|
558
|
+
}
|
|
550
559
|
try:
|
|
551
560
|
gui_hook = guis[gui]
|
|
552
561
|
except KeyError:
|
|
553
|
-
if gui is None or gui ==
|
|
562
|
+
if gui is None or gui == "":
|
|
554
563
|
gui_hook = clear_inputhook
|
|
555
564
|
else:
|
|
556
565
|
e = "Invalid GUI request %r, valid ones are:%s" % (gui, list(guis.keys()))
|
|
@@ -570,14 +579,10 @@ __all__ = [
|
|
|
570
579
|
"GUI_PYGLET",
|
|
571
580
|
"GUI_GTK3",
|
|
572
581
|
"GUI_NONE",
|
|
573
|
-
|
|
574
582
|
"ignore_CTRL_C",
|
|
575
583
|
"allow_CTRL_C",
|
|
576
|
-
|
|
577
584
|
"InputHookManager",
|
|
578
|
-
|
|
579
585
|
"inputhook_manager",
|
|
580
|
-
|
|
581
586
|
"enable_wx",
|
|
582
587
|
"disable_wx",
|
|
583
588
|
"enable_qt",
|
|
@@ -601,10 +606,9 @@ __all__ = [
|
|
|
601
606
|
"set_inputhook",
|
|
602
607
|
"current_gui",
|
|
603
608
|
"clear_app_refs",
|
|
604
|
-
|
|
605
609
|
"stdin_ready",
|
|
606
610
|
"set_return_control_callback",
|
|
607
611
|
"get_return_control_callback",
|
|
608
612
|
"get_inputhook",
|
|
609
|
-
|
|
610
|
-
|
|
613
|
+
"enable_gui",
|
|
614
|
+
]
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
GLUT Inputhook support functions
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# -----------------------------------------------------------------------------
|
|
7
7
|
# Copyright (C) 2008-2011 The IPython Development Team
|
|
8
8
|
#
|
|
9
9
|
# Distributed under the terms of the BSD License. The full license is in
|
|
10
10
|
# the file COPYING, distributed as part of this software.
|
|
11
|
-
|
|
11
|
+
# -----------------------------------------------------------------------------
|
|
12
12
|
|
|
13
13
|
# GLUT is quite an old library and it is difficult to ensure proper
|
|
14
14
|
# integration within IPython since original GLUT does not allow to handle
|
|
@@ -26,9 +26,9 @@ GLUT Inputhook support functions
|
|
|
26
26
|
# them later without modifying the code. This should probably be made available
|
|
27
27
|
# via IPython options system.
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
# -----------------------------------------------------------------------------
|
|
30
30
|
# Imports
|
|
31
|
-
|
|
31
|
+
# -----------------------------------------------------------------------------
|
|
32
32
|
import os
|
|
33
33
|
import sys
|
|
34
34
|
from _pydev_bundle._pydev_saved_modules import time
|
|
@@ -38,9 +38,9 @@ import OpenGL.platform as platform # @UnresolvedImport
|
|
|
38
38
|
from timeit import default_timer as clock
|
|
39
39
|
from pydev_ipython.inputhook import stdin_ready
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
# -----------------------------------------------------------------------------
|
|
42
42
|
# Constants
|
|
43
|
-
|
|
43
|
+
# -----------------------------------------------------------------------------
|
|
44
44
|
|
|
45
45
|
# Frame per second : 60
|
|
46
46
|
# Should probably be an IPython option
|
|
@@ -48,34 +48,30 @@ glut_fps = 60
|
|
|
48
48
|
|
|
49
49
|
# Display mode : double buffeed + rgba + depth
|
|
50
50
|
# Should probably be an IPython option
|
|
51
|
-
glut_display_mode =
|
|
52
|
-
glut.GLUT_RGBA |
|
|
53
|
-
glut.GLUT_DEPTH)
|
|
51
|
+
glut_display_mode = glut.GLUT_DOUBLE | glut.GLUT_RGBA | glut.GLUT_DEPTH
|
|
54
52
|
|
|
55
53
|
glutMainLoopEvent = None
|
|
56
|
-
if sys.platform ==
|
|
54
|
+
if sys.platform == "darwin":
|
|
57
55
|
try:
|
|
58
56
|
glutCheckLoop = platform.createBaseFunction(
|
|
59
|
-
|
|
57
|
+
"glutCheckLoop",
|
|
58
|
+
dll=platform.GLUT,
|
|
59
|
+
resultType=None,
|
|
60
60
|
argTypes=[],
|
|
61
|
-
doc=
|
|
61
|
+
doc="glutCheckLoop( ) -> None",
|
|
62
62
|
argNames=(),
|
|
63
|
-
|
|
63
|
+
)
|
|
64
64
|
except AttributeError:
|
|
65
|
-
raise RuntimeError(
|
|
66
|
-
'''Your glut implementation does not allow interactive sessions'''
|
|
67
|
-
'''Consider installing freeglut.''')
|
|
65
|
+
raise RuntimeError("""Your glut implementation does not allow interactive sessions""" """Consider installing freeglut.""")
|
|
68
66
|
glutMainLoopEvent = glutCheckLoop
|
|
69
67
|
elif glut.HAVE_FREEGLUT:
|
|
70
68
|
glutMainLoopEvent = glut.glutMainLoopEvent
|
|
71
69
|
else:
|
|
72
|
-
raise RuntimeError(
|
|
73
|
-
'''Your glut implementation does not allow interactive sessions. '''
|
|
74
|
-
'''Consider installing freeglut.''')
|
|
70
|
+
raise RuntimeError("""Your glut implementation does not allow interactive sessions. """ """Consider installing freeglut.""")
|
|
75
71
|
|
|
76
|
-
|
|
72
|
+
# -----------------------------------------------------------------------------
|
|
77
73
|
# Callback functions
|
|
78
|
-
|
|
74
|
+
# -----------------------------------------------------------------------------
|
|
79
75
|
|
|
80
76
|
|
|
81
77
|
def glut_display():
|
|
@@ -97,13 +93,13 @@ def glut_close():
|
|
|
97
93
|
def glut_int_handler(signum, frame):
|
|
98
94
|
# Catch sigint and print the defautl message
|
|
99
95
|
signal.signal(signal.SIGINT, signal.default_int_handler)
|
|
100
|
-
print(
|
|
96
|
+
print("\nKeyboardInterrupt")
|
|
101
97
|
# Need to reprint the prompt at this stage
|
|
102
98
|
|
|
103
99
|
|
|
104
|
-
|
|
100
|
+
# -----------------------------------------------------------------------------
|
|
105
101
|
# Code
|
|
106
|
-
|
|
102
|
+
# -----------------------------------------------------------------------------
|
|
107
103
|
def inputhook_glut():
|
|
108
104
|
"""Run the pyglet event loop by processing pending events only.
|
|
109
105
|
|
|
@@ -5,32 +5,33 @@ Enable pygtk to be used interacive by setting PyOS_InputHook.
|
|
|
5
5
|
Authors: Brian Granger
|
|
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 gtk, gobject # @UnresolvedImport
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
# -----------------------------------------------------------------------------
|
|
22
22
|
# Code
|
|
23
|
-
|
|
23
|
+
# -----------------------------------------------------------------------------
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
def _main_quit(*args, **kwargs):
|
|
27
27
|
gtk.main_quit()
|
|
28
28
|
return False
|
|
29
29
|
|
|
30
|
+
|
|
30
31
|
def create_inputhook_gtk(stdin_file):
|
|
31
32
|
def inputhook_gtk():
|
|
32
33
|
gobject.io_add_watch(stdin_file, gobject.IO_IN, _main_quit)
|
|
33
34
|
gtk.main()
|
|
34
35
|
return 0
|
|
35
|
-
return inputhook_gtk
|
|
36
36
|
|
|
37
|
+
return inputhook_gtk
|
|
@@ -4,23 +4,24 @@ Enable Gtk3 to be used interacive by IPython.
|
|
|
4
4
|
|
|
5
5
|
Authors: Thomi Richards
|
|
6
6
|
"""
|
|
7
|
-
|
|
7
|
+
# -----------------------------------------------------------------------------
|
|
8
8
|
# Copyright (c) 2012, the IPython Development Team.
|
|
9
9
|
#
|
|
10
10
|
# Distributed under the terms of the Modified BSD License.
|
|
11
11
|
#
|
|
12
12
|
# The full license is in the file COPYING.txt, distributed with this software.
|
|
13
|
-
|
|
13
|
+
# -----------------------------------------------------------------------------
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
# -----------------------------------------------------------------------------
|
|
16
16
|
# Imports
|
|
17
|
-
|
|
17
|
+
# -----------------------------------------------------------------------------
|
|
18
18
|
|
|
19
19
|
from gi.repository import Gtk, GLib # @UnresolvedImport
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
# -----------------------------------------------------------------------------
|
|
22
22
|
# Code
|
|
23
|
-
|
|
23
|
+
# -----------------------------------------------------------------------------
|
|
24
|
+
|
|
24
25
|
|
|
25
26
|
def _main_quit(*args, **kwargs):
|
|
26
27
|
Gtk.main_quit()
|
|
@@ -32,4 +33,5 @@ def create_inputhook_gtk3(stdin_file):
|
|
|
32
33
|
GLib.io_add_watch(stdin_file, GLib.IO_IN, _main_quit)
|
|
33
34
|
Gtk.main()
|
|
34
35
|
return 0
|
|
36
|
+
|
|
35
37
|
return inputhook_gtk3
|