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.
Files changed (340) hide show
  1. {debugpy-1.8.5/src/debugpy.egg-info → debugpy-1.8.7}/PKG-INFO +1 -1
  2. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_calltip_util.py +19 -21
  3. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_completer.py +30 -30
  4. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_execfile.py +3 -1
  5. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_filesystem_encoding.py +43 -0
  6. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_getopt.py +35 -32
  7. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_imports_tipper.py +83 -84
  8. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_jy_imports_tipper.py +92 -99
  9. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_log.py +2 -3
  10. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_saved_modules.py +51 -27
  11. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_sys_patch.py +11 -7
  12. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_tipper_common.py +6 -5
  13. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/fsnotify/__init__.py +34 -38
  14. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_console_utils.py +71 -69
  15. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_import_hook.py +1 -3
  16. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_imports.py +0 -1
  17. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_ipython_console.py +14 -16
  18. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_ipython_console_011.py +81 -93
  19. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py +3 -3
  20. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_localhost.py +9 -8
  21. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_log.py +33 -25
  22. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py +183 -170
  23. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey_qt.py +33 -29
  24. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_override.py +6 -4
  25. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_umd.py +19 -18
  26. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_versioncheck.py +3 -3
  27. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles.py +165 -138
  28. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_coverage.py +77 -0
  29. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_nose.py +35 -36
  30. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_parallel.py +22 -23
  31. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_parallel_client.py +37 -57
  32. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_pytest2.py +54 -52
  33. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_unittest.py +28 -37
  34. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_xml_rpc.py +56 -53
  35. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py +604 -0
  36. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/debugProtocol.json +551 -445
  37. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_base_schema.py +25 -29
  38. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema.py +17458 -0
  39. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema_log.py +11 -12
  40. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevconsole_code.py +18 -19
  41. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info.py +41 -0
  42. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py +328 -0
  43. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_api.py +263 -214
  44. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_breakpoints.py +7 -10
  45. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_bytecode_utils.py +187 -92
  46. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_bytecode_utils_py311.py +105 -0
  47. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_code_to_source.py +46 -51
  48. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_collect_bytecode_info.py +239 -176
  49. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py +370 -297
  50. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm_constants.py +78 -86
  51. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py +55 -59
  52. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.py +194 -58
  53. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_thread_wrappers.py +2 -3
  54. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_console.py +18 -23
  55. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_constants.py +159 -127
  56. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_custom_frames.py +10 -12
  57. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.c +55527 -0
  58. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.pxd +15 -0
  59. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.pyx +803 -511
  60. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython_wrapper.py +18 -7
  61. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py +32 -24
  62. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_defaults.py +11 -13
  63. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_dont_trace.py +16 -16
  64. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_dont_trace_files.py +27 -2
  65. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_exec2.py +1 -1
  66. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_extension_api.py +4 -5
  67. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_extension_utils.py +8 -10
  68. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_filtering.py +50 -45
  69. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame.py +462 -407
  70. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame_utils.py +69 -61
  71. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_gevent_integration.py +14 -16
  72. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_import_class.py +27 -25
  73. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_io.py +40 -42
  74. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_json_debug_options.py +200 -0
  75. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command.py +20 -19
  76. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command_factory_json.py +199 -108
  77. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command_factory_xml.py +121 -73
  78. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_plugin_utils.py +208 -0
  79. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_process_net_command.py +206 -159
  80. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_process_net_command_json.py +346 -334
  81. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_referrers.py +75 -80
  82. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_reload.py +35 -35
  83. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_resolver.py +116 -124
  84. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py +44 -58
  85. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py +51 -55
  86. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py +4 -2
  87. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_signature.py +24 -24
  88. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_source_mapping.py +19 -20
  89. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_stackless.py +45 -49
  90. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_suspended_frames.py +61 -58
  91. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_thread_lifecycle.py +23 -13
  92. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_timeout.py +29 -31
  93. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_dispatch.py +41 -11
  94. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_dispatch_regular.py +117 -55
  95. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_traceproperty.py +11 -14
  96. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_utils.py +90 -89
  97. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py +106 -97
  98. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vm_type.py +40 -0
  99. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_xml.py +56 -46
  100. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_cython_wrapper.py +5 -5
  101. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_main.py +71 -0
  102. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.c +11165 -5326
  103. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_tracing.py +5 -6
  104. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_modify_bytecode.py +53 -56
  105. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/__init__.py +1 -0
  106. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/bytecode.py +4 -6
  107. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/cfg.py +6 -26
  108. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/concrete.py +7 -21
  109. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/flags.py +5 -24
  110. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/instr.py +10 -34
  111. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/peephole_opt.py +1 -4
  112. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__init__.py +2 -6
  113. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_bytecode.py +3 -5
  114. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_cfg.py +11 -31
  115. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_code.py +2 -2
  116. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_concrete.py +14 -41
  117. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_flags.py +2 -4
  118. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_instr.py +7 -18
  119. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_misc.py +6 -18
  120. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_peephole_opt.py +7 -18
  121. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/util_annotation.py +1 -3
  122. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/pydevd_fix_code.py +14 -19
  123. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py +1929 -0
  124. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c +43253 -0
  125. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pxd +46 -0
  126. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx +1935 -0
  127. debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/pydevd_sys_monitoring.py +16 -0
  128. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_app_engine_debug_startup.py +12 -11
  129. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_coverage.py +30 -32
  130. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhook.py +58 -54
  131. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookglut.py +20 -24
  132. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookgtk.py +8 -7
  133. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookgtk3.py +8 -6
  134. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookpyglet.py +11 -8
  135. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookqt4.py +21 -18
  136. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookqt5.py +17 -15
  137. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookqt6.py +17 -15
  138. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhooktk.py +6 -4
  139. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookwx.py +14 -10
  140. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/matplotlibtools.py +30 -26
  141. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydev_ipython/qt.py +24 -0
  142. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/qt_for_kernel.py +37 -34
  143. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/qt_loaders.py +86 -73
  144. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/version.py +7 -7
  145. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydev_pysrc.py +1 -0
  146. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_run_in_console.py +23 -24
  147. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydev_sitecustomize/sitecustomize.py +267 -0
  148. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevconsole.py +55 -47
  149. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd.py +732 -508
  150. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_always_live_program.py +40 -0
  151. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_check.py +1 -0
  152. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process.py +11 -0
  153. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process_linux.py +75 -0
  154. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py +130 -125
  155. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll +0 -0
  156. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.pdb +0 -0
  157. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_pydevd.py +89 -0
  158. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_script.py +41 -32
  159. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll +0 -0
  160. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.pdb +0 -0
  161. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_utils.hpp +1 -0
  162. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp +9 -1
  163. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.exe +0 -0
  164. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.pdb +0 -0
  165. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.exe +0 -0
  166. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.pdb +0 -0
  167. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/lldb_prepare.py +10 -9
  168. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll +0 -0
  169. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.pdb +0 -0
  170. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.dll +0 -0
  171. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.pdb +0 -0
  172. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__init__.py +103 -119
  173. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/breakpoint.py +457 -516
  174. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/compat.py +33 -15
  175. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/crash.py +336 -281
  176. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/debug.py +101 -131
  177. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/disasm.py +148 -153
  178. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/event.py +310 -302
  179. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/interactive.py +235 -208
  180. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/module.py +185 -218
  181. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/process.py +428 -564
  182. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/registry.py +54 -53
  183. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/search.py +69 -73
  184. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/sql.py +158 -170
  185. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/system.py +143 -213
  186. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/textio.py +302 -333
  187. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/thread.py +220 -239
  188. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/util.py +198 -177
  189. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__init__.py +11 -11
  190. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/advapi32.py +1191 -713
  191. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/context_amd64.py +248 -194
  192. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/context_i386.py +132 -120
  193. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/dbghelp.py +450 -346
  194. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/defines.py +305 -286
  195. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/gdi32.py +526 -0
  196. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/kernel32.py +1479 -1097
  197. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/ntdll.py +579 -0
  198. debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/peb_teb.py +3517 -0
  199. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/psapi.py +54 -31
  200. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/shell32.py +170 -149
  201. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/shlwapi.py +190 -108
  202. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/user32.py +542 -437
  203. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/version.py +489 -442
  204. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/wtsapi32.py +83 -65
  205. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/window.py +70 -76
  206. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/attach.cpp +17 -9
  207. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/compile_windows.bat +1 -1
  208. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_file_utils.py +141 -120
  209. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/__init__.py +1 -0
  210. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/django_debug.py +175 -149
  211. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/__init__.py +1 -0
  212. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/__init__.py +1 -0
  213. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_helpers.py +5 -5
  214. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugin_numpy_types.py +28 -28
  215. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugin_pandas_types.py +22 -30
  216. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py +3 -2
  217. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/jinja2_debug.py +130 -108
  218. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/pydevd_line_validation.py +27 -14
  219. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_tracing.py +85 -66
  220. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/setup_pydevd_cython.py +96 -59
  221. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_version.py +3 -3
  222. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/messaging.py +2 -1
  223. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/server/cli.py +32 -17
  224. {debugpy-1.8.5 → debugpy-1.8.7/src/debugpy.egg-info}/PKG-INFO +1 -1
  225. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy.egg-info/SOURCES.txt +6 -1
  226. debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_filesystem_encoding.py +0 -41
  227. debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_coverage.py +0 -76
  228. debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py +0 -592
  229. debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema.py +0 -19514
  230. debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info.py +0 -19
  231. debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py +0 -153
  232. debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.c +0 -43377
  233. debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_json_debug_options.py +0 -204
  234. debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_plugin_utils.py +0 -91
  235. debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_api.py +0 -62
  236. debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vm_type.py +0 -41
  237. debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_main.py +0 -48
  238. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydev_ipython/qt.py +0 -23
  239. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydev_pysrc.py +0 -1
  240. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydev_sitecustomize/sitecustomize.py +0 -237
  241. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_always_live_program.py +0 -32
  242. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process.py +0 -9
  243. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process_linux.py +0 -74
  244. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll +0 -0
  245. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.pdb +0 -0
  246. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_pydevd.py +0 -79
  247. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll +0 -0
  248. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.pdb +0 -0
  249. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.exe +0 -0
  250. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.pdb +0 -0
  251. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.pdb +0 -0
  252. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll +0 -0
  253. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.pdb +0 -0
  254. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.dll +0 -0
  255. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.pdb +0 -0
  256. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/gdi32.py +0 -507
  257. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/ntdll.py +0 -539
  258. debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/peb_teb.py +0 -3435
  259. {debugpy-1.8.5 → debugpy-1.8.7}/DESCRIPTION.md +0 -0
  260. {debugpy-1.8.5 → debugpy-1.8.7}/LICENSE +0 -0
  261. {debugpy-1.8.5 → debugpy-1.8.7}/MANIFEST.in +0 -0
  262. {debugpy-1.8.5 → debugpy-1.8.7}/README.md +0 -0
  263. {debugpy-1.8.5 → debugpy-1.8.7}/pyproject.toml +0 -0
  264. {debugpy-1.8.5 → debugpy-1.8.7}/setup.cfg +0 -0
  265. {debugpy-1.8.5 → debugpy-1.8.7}/setup.py +0 -0
  266. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/ThirdPartyNotices.txt +0 -0
  267. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/__init__.py +0 -0
  268. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/__main__.py +0 -0
  269. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/__init__.py +0 -0
  270. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/_pydevd_packaging.py +0 -0
  271. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/_util.py +0 -0
  272. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/force_pydevd.py +0 -0
  273. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/__init__.py +0 -0
  274. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/__init__.py +0 -0
  275. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/__init__.py +0 -0
  276. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__init__.py +0 -0
  277. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/debugProtocolCustom.json +0 -0
  278. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/__init__.py +0 -0
  279. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/.gitignore +0 -0
  280. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/__init__.py +0 -0
  281. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.pxd +0 -0
  282. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.pyx +0 -0
  283. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.template.pyx +0 -0
  284. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/release_mem.h +0 -0
  285. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/README.txt +0 -0
  286. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/__init__.py +0 -0
  287. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/README +0 -0
  288. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/__init__.py +0 -0
  289. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_sitecustomize/__not_in_default_pythonpath.txt +0 -0
  290. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/README.txt +0 -0
  291. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_custom_pyeval_settrace.hpp +0 -0
  292. {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
  293. {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
  294. {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
  295. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_settrace.hpp +0 -0
  296. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/python.h +0 -0
  297. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/ref_utils.hpp +0 -0
  298. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/.gitignore +0 -0
  299. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/attach.cpp +0 -0
  300. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh +0 -0
  301. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh +0 -0
  302. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_manylinux.cmd +0 -0
  303. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/attach.h +0 -0
  304. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/inject_dll.cpp +0 -0
  305. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/py_win_helpers.hpp +0 -0
  306. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/run_code_in_memory.hpp +0 -0
  307. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/run_code_on_dllmain.cpp +0 -0
  308. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/stdafx.cpp +0 -0
  309. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/stdafx.h +0 -0
  310. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/targetver.h +0 -0
  311. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/README.md +0 -0
  312. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/__init__.py +0 -0
  313. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/__main__.py +0 -0
  314. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/clients.py +0 -0
  315. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/components.py +0 -0
  316. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/launchers.py +0 -0
  317. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/servers.py +0 -0
  318. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/sessions.py +0 -0
  319. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/__init__.py +0 -0
  320. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/json.py +0 -0
  321. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/log.py +0 -0
  322. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/singleton.py +0 -0
  323. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/sockets.py +0 -0
  324. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/stacks.py +0 -0
  325. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/timestamp.py +0 -0
  326. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/util.py +0 -0
  327. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/__init__.py +0 -0
  328. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/__main__.py +0 -0
  329. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/debuggee.py +0 -0
  330. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/handlers.py +0 -0
  331. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/output.py +0 -0
  332. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/winapi.py +0 -0
  333. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/public_api.py +0 -0
  334. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/server/__init__.py +0 -0
  335. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/server/api.py +0 -0
  336. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/server/attach_pid_injected.py +0 -0
  337. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy.egg-info/dependency_links.txt +0 -0
  338. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy.egg-info/entry_points.txt +0 -0
  339. {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy.egg-info/top_level.txt +0 -0
  340. {debugpy-1.8.5 → debugpy-1.8.7}/versioneer.py +0 -0
@@ -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('linux'):
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('on_draw')
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, '_inputhook_qt4'):
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: # shouldn't happen, but safer if it happens anyway...
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(os.name == 'posix'):
161
+ if os.name == "posix":
158
162
  pid = os.getpid()
159
- if(not sigint_timer):
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(sigint_timer):
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('pre_prompt_hook', preprompthook_qt4)
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, '_inputhook_qt5'):
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(os.name == 'posix'):
163
+ if os.name == "posix":
162
164
  pid = os.getpid()
163
- if(not sigint_timer):
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(sigint_timer):
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('pre_prompt_hook', preprompthook_qt5)
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, '_inputhook_qt6'):
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(os.name == 'posix'):
163
+ if os.name == "posix":
162
164
  pid = os.getpid()
163
- if(not sigint_timer):
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(sigint_timer):
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('pre_prompt_hook', preprompthook_qt6)
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, 'IsMainThread'):
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
- if sys.platform == 'darwin':
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.
@@ -1,15 +1,16 @@
1
-
2
1
  import sys
3
2
  from _pydev_bundle import pydev_log
4
3
 
5
- backends = {'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'}
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['GTK'] = backend2gui['GTKCairo'] = 'gtk'
22
- backend2gui['WX'] = 'wx'
23
- backend2gui['CocoaAgg'] = 'osx'
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 ['none', '', None]:
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['matplotlib']
47
+ matplotlib = sys.modules["matplotlib"]
45
48
  # WARNING: this assumes matplotlib 1.1 or newer!!
46
- backend = matplotlib.rcParams['backend']
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
- """ Check if backend is interactive """
55
- matplotlib = sys.modules['matplotlib']
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
- """ Patch matplotlib function 'use' """
67
- matplotlib = sys.modules['matplotlib']
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
- """ Patch matplotlib function 'use' """
80
- matplotlib = sys.modules['matplotlib']
83
+ """Patch matplotlib function 'use'"""
84
+ matplotlib = sys.modules["matplotlib"]
81
85
 
82
86
  def patched_is_interactive():
83
- return matplotlib.rcParams['interactive']
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['matplotlib']
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, 'called'):
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['pylab']
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['matplotlib.pyplot']
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)