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
@@ -41,118 +41,118 @@ __revision__ = "$Id$"
41
41
  from winappdbg.win32.defines import *
42
42
  from winappdbg.win32.kernel32 import LocalFree
43
43
 
44
- #==============================================================================
44
+ # ==============================================================================
45
45
  # This is used later on to calculate the list of exported symbols.
46
46
  _all = None
47
47
  _all = set(vars().keys())
48
- #==============================================================================
49
-
50
- #--- Constants ----------------------------------------------------------------
51
-
52
- SEE_MASK_DEFAULT = 0x00000000
53
- SEE_MASK_CLASSNAME = 0x00000001
54
- SEE_MASK_CLASSKEY = 0x00000003
55
- SEE_MASK_IDLIST = 0x00000004
56
- SEE_MASK_INVOKEIDLIST = 0x0000000C
57
- SEE_MASK_ICON = 0x00000010
58
- SEE_MASK_HOTKEY = 0x00000020
59
- SEE_MASK_NOCLOSEPROCESS = 0x00000040
60
- SEE_MASK_CONNECTNETDRV = 0x00000080
61
- SEE_MASK_NOASYNC = 0x00000100
62
- SEE_MASK_DOENVSUBST = 0x00000200
63
- SEE_MASK_FLAG_NO_UI = 0x00000400
64
- SEE_MASK_UNICODE = 0x00004000
65
- SEE_MASK_NO_CONSOLE = 0x00008000
66
- SEE_MASK_ASYNCOK = 0x00100000
67
- SEE_MASK_HMONITOR = 0x00200000
68
- SEE_MASK_NOZONECHECKS = 0x00800000
69
- SEE_MASK_WAITFORINPUTIDLE = 0x02000000
70
- SEE_MASK_FLAG_LOG_USAGE = 0x04000000
71
-
72
- SE_ERR_FNF = 2
73
- SE_ERR_PNF = 3
74
- SE_ERR_ACCESSDENIED = 5
75
- SE_ERR_OOM = 8
76
- SE_ERR_DLLNOTFOUND = 32
77
- SE_ERR_SHARE = 26
78
- SE_ERR_ASSOCINCOMPLETE = 27
79
- SE_ERR_DDETIMEOUT = 28
80
- SE_ERR_DDEFAIL = 29
81
- SE_ERR_DDEBUSY = 30
82
- SE_ERR_NOASSOC = 31
48
+ # ==============================================================================
49
+
50
+ # --- Constants ----------------------------------------------------------------
51
+
52
+ SEE_MASK_DEFAULT = 0x00000000
53
+ SEE_MASK_CLASSNAME = 0x00000001
54
+ SEE_MASK_CLASSKEY = 0x00000003
55
+ SEE_MASK_IDLIST = 0x00000004
56
+ SEE_MASK_INVOKEIDLIST = 0x0000000C
57
+ SEE_MASK_ICON = 0x00000010
58
+ SEE_MASK_HOTKEY = 0x00000020
59
+ SEE_MASK_NOCLOSEPROCESS = 0x00000040
60
+ SEE_MASK_CONNECTNETDRV = 0x00000080
61
+ SEE_MASK_NOASYNC = 0x00000100
62
+ SEE_MASK_DOENVSUBST = 0x00000200
63
+ SEE_MASK_FLAG_NO_UI = 0x00000400
64
+ SEE_MASK_UNICODE = 0x00004000
65
+ SEE_MASK_NO_CONSOLE = 0x00008000
66
+ SEE_MASK_ASYNCOK = 0x00100000
67
+ SEE_MASK_HMONITOR = 0x00200000
68
+ SEE_MASK_NOZONECHECKS = 0x00800000
69
+ SEE_MASK_WAITFORINPUTIDLE = 0x02000000
70
+ SEE_MASK_FLAG_LOG_USAGE = 0x04000000
71
+
72
+ SE_ERR_FNF = 2
73
+ SE_ERR_PNF = 3
74
+ SE_ERR_ACCESSDENIED = 5
75
+ SE_ERR_OOM = 8
76
+ SE_ERR_DLLNOTFOUND = 32
77
+ SE_ERR_SHARE = 26
78
+ SE_ERR_ASSOCINCOMPLETE = 27
79
+ SE_ERR_DDETIMEOUT = 28
80
+ SE_ERR_DDEFAIL = 29
81
+ SE_ERR_DDEBUSY = 30
82
+ SE_ERR_NOASSOC = 31
83
83
 
84
84
  SHGFP_TYPE_CURRENT = 0
85
85
  SHGFP_TYPE_DEFAULT = 1
86
86
 
87
- CSIDL_DESKTOP = 0x0000
88
- CSIDL_INTERNET = 0x0001
89
- CSIDL_PROGRAMS = 0x0002
90
- CSIDL_CONTROLS = 0x0003
91
- CSIDL_PRINTERS = 0x0004
92
- CSIDL_PERSONAL = 0x0005
93
- CSIDL_FAVORITES = 0x0006
94
- CSIDL_STARTUP = 0x0007
95
- CSIDL_RECENT = 0x0008
96
- CSIDL_SENDTO = 0x0009
97
- CSIDL_BITBUCKET = 0x000a
98
- CSIDL_STARTMENU = 0x000b
99
- CSIDL_MYDOCUMENTS = CSIDL_PERSONAL
100
- CSIDL_MYMUSIC = 0x000d
101
- CSIDL_MYVIDEO = 0x000e
102
- CSIDL_DESKTOPDIRECTORY = 0x0010
103
- CSIDL_DRIVES = 0x0011
104
- CSIDL_NETWORK = 0x0012
105
- CSIDL_NETHOOD = 0x0013
106
- CSIDL_FONTS = 0x0014
107
- CSIDL_TEMPLATES = 0x0015
108
- CSIDL_COMMON_STARTMENU = 0x0016
109
- CSIDL_COMMON_PROGRAMS = 0x0017
110
- CSIDL_COMMON_STARTUP = 0x0018
111
- CSIDL_COMMON_DESKTOPDIRECTORY = 0x0019
112
- CSIDL_APPDATA = 0x001a
113
- CSIDL_PRINTHOOD = 0x001b
114
- CSIDL_LOCAL_APPDATA = 0x001c
115
- CSIDL_ALTSTARTUP = 0x001d
116
- CSIDL_COMMON_ALTSTARTUP = 0x001e
117
- CSIDL_COMMON_FAVORITES = 0x001f
118
- CSIDL_INTERNET_CACHE = 0x0020
119
- CSIDL_COOKIES = 0x0021
120
- CSIDL_HISTORY = 0x0022
121
- CSIDL_COMMON_APPDATA = 0x0023
122
- CSIDL_WINDOWS = 0x0024
123
- CSIDL_SYSTEM = 0x0025
124
- CSIDL_PROGRAM_FILES = 0x0026
125
- CSIDL_MYPICTURES = 0x0027
126
- CSIDL_PROFILE = 0x0028
127
- CSIDL_SYSTEMX86 = 0x0029
128
- CSIDL_PROGRAM_FILESX86 = 0x002a
129
- CSIDL_PROGRAM_FILES_COMMON = 0x002b
130
- CSIDL_PROGRAM_FILES_COMMONX86 = 0x002c
131
- CSIDL_COMMON_TEMPLATES = 0x002d
132
- CSIDL_COMMON_DOCUMENTS = 0x002e
133
- CSIDL_COMMON_ADMINTOOLS = 0x002f
134
- CSIDL_ADMINTOOLS = 0x0030
135
- CSIDL_CONNECTIONS = 0x0031
136
- CSIDL_COMMON_MUSIC = 0x0035
137
- CSIDL_COMMON_PICTURES = 0x0036
138
- CSIDL_COMMON_VIDEO = 0x0037
139
- CSIDL_RESOURCES = 0x0038
140
- CSIDL_RESOURCES_LOCALIZED = 0x0039
141
- CSIDL_COMMON_OEM_LINKS = 0x003a
142
- CSIDL_CDBURN_AREA = 0x003b
143
- CSIDL_COMPUTERSNEARME = 0x003d
144
- CSIDL_PROFILES = 0x003e
145
-
146
- CSIDL_FOLDER_MASK = 0x00ff
147
-
148
- CSIDL_FLAG_PER_USER_INIT = 0x0800
149
- CSIDL_FLAG_NO_ALIAS = 0x1000
150
- CSIDL_FLAG_DONT_VERIFY = 0x4000
151
- CSIDL_FLAG_CREATE = 0x8000
152
-
153
- CSIDL_FLAG_MASK = 0xff00
154
-
155
- #--- Structures ---------------------------------------------------------------
87
+ CSIDL_DESKTOP = 0x0000
88
+ CSIDL_INTERNET = 0x0001
89
+ CSIDL_PROGRAMS = 0x0002
90
+ CSIDL_CONTROLS = 0x0003
91
+ CSIDL_PRINTERS = 0x0004
92
+ CSIDL_PERSONAL = 0x0005
93
+ CSIDL_FAVORITES = 0x0006
94
+ CSIDL_STARTUP = 0x0007
95
+ CSIDL_RECENT = 0x0008
96
+ CSIDL_SENDTO = 0x0009
97
+ CSIDL_BITBUCKET = 0x000A
98
+ CSIDL_STARTMENU = 0x000B
99
+ CSIDL_MYDOCUMENTS = CSIDL_PERSONAL
100
+ CSIDL_MYMUSIC = 0x000D
101
+ CSIDL_MYVIDEO = 0x000E
102
+ CSIDL_DESKTOPDIRECTORY = 0x0010
103
+ CSIDL_DRIVES = 0x0011
104
+ CSIDL_NETWORK = 0x0012
105
+ CSIDL_NETHOOD = 0x0013
106
+ CSIDL_FONTS = 0x0014
107
+ CSIDL_TEMPLATES = 0x0015
108
+ CSIDL_COMMON_STARTMENU = 0x0016
109
+ CSIDL_COMMON_PROGRAMS = 0x0017
110
+ CSIDL_COMMON_STARTUP = 0x0018
111
+ CSIDL_COMMON_DESKTOPDIRECTORY = 0x0019
112
+ CSIDL_APPDATA = 0x001A
113
+ CSIDL_PRINTHOOD = 0x001B
114
+ CSIDL_LOCAL_APPDATA = 0x001C
115
+ CSIDL_ALTSTARTUP = 0x001D
116
+ CSIDL_COMMON_ALTSTARTUP = 0x001E
117
+ CSIDL_COMMON_FAVORITES = 0x001F
118
+ CSIDL_INTERNET_CACHE = 0x0020
119
+ CSIDL_COOKIES = 0x0021
120
+ CSIDL_HISTORY = 0x0022
121
+ CSIDL_COMMON_APPDATA = 0x0023
122
+ CSIDL_WINDOWS = 0x0024
123
+ CSIDL_SYSTEM = 0x0025
124
+ CSIDL_PROGRAM_FILES = 0x0026
125
+ CSIDL_MYPICTURES = 0x0027
126
+ CSIDL_PROFILE = 0x0028
127
+ CSIDL_SYSTEMX86 = 0x0029
128
+ CSIDL_PROGRAM_FILESX86 = 0x002A
129
+ CSIDL_PROGRAM_FILES_COMMON = 0x002B
130
+ CSIDL_PROGRAM_FILES_COMMONX86 = 0x002C
131
+ CSIDL_COMMON_TEMPLATES = 0x002D
132
+ CSIDL_COMMON_DOCUMENTS = 0x002E
133
+ CSIDL_COMMON_ADMINTOOLS = 0x002F
134
+ CSIDL_ADMINTOOLS = 0x0030
135
+ CSIDL_CONNECTIONS = 0x0031
136
+ CSIDL_COMMON_MUSIC = 0x0035
137
+ CSIDL_COMMON_PICTURES = 0x0036
138
+ CSIDL_COMMON_VIDEO = 0x0037
139
+ CSIDL_RESOURCES = 0x0038
140
+ CSIDL_RESOURCES_LOCALIZED = 0x0039
141
+ CSIDL_COMMON_OEM_LINKS = 0x003A
142
+ CSIDL_CDBURN_AREA = 0x003B
143
+ CSIDL_COMPUTERSNEARME = 0x003D
144
+ CSIDL_PROFILES = 0x003E
145
+
146
+ CSIDL_FOLDER_MASK = 0x00FF
147
+
148
+ CSIDL_FLAG_PER_USER_INIT = 0x0800
149
+ CSIDL_FLAG_NO_ALIAS = 0x1000
150
+ CSIDL_FLAG_DONT_VERIFY = 0x4000
151
+ CSIDL_FLAG_CREATE = 0x8000
152
+
153
+ CSIDL_FLAG_MASK = 0xFF00
154
+
155
+ # --- Structures ---------------------------------------------------------------
156
156
 
157
157
  # typedef struct _SHELLEXECUTEINFO {
158
158
  # DWORD cbSize;
@@ -175,34 +175,39 @@ CSIDL_FLAG_MASK = 0xff00
175
175
  # HANDLE hProcess;
176
176
  # } SHELLEXECUTEINFO, *LPSHELLEXECUTEINFO;
177
177
 
178
+
178
179
  class SHELLEXECUTEINFO(Structure):
179
180
  _fields_ = [
180
- ("cbSize", DWORD),
181
- ("fMask", ULONG),
182
- ("hwnd", HWND),
183
- ("lpVerb", LPSTR),
184
- ("lpFile", LPSTR),
181
+ ("cbSize", DWORD),
182
+ ("fMask", ULONG),
183
+ ("hwnd", HWND),
184
+ ("lpVerb", LPSTR),
185
+ ("lpFile", LPSTR),
185
186
  ("lpParameters", LPSTR),
186
- ("lpDirectory", LPSTR),
187
- ("nShow", ctypes.c_int),
188
- ("hInstApp", HINSTANCE),
189
- ("lpIDList", LPVOID),
190
- ("lpClass", LPSTR),
191
- ("hkeyClass", HKEY),
192
- ("dwHotKey", DWORD),
193
- ("hIcon", HANDLE),
194
- ("hProcess", HANDLE),
187
+ ("lpDirectory", LPSTR),
188
+ ("nShow", ctypes.c_int),
189
+ ("hInstApp", HINSTANCE),
190
+ ("lpIDList", LPVOID),
191
+ ("lpClass", LPSTR),
192
+ ("hkeyClass", HKEY),
193
+ ("dwHotKey", DWORD),
194
+ ("hIcon", HANDLE),
195
+ ("hProcess", HANDLE),
195
196
  ]
196
197
 
197
198
  def __get_hMonitor(self):
198
199
  return self.hIcon
200
+
199
201
  def __set_hMonitor(self, hMonitor):
200
202
  self.hIcon = hMonitor
203
+
201
204
  hMonitor = property(__get_hMonitor, __set_hMonitor)
202
205
 
206
+
203
207
  LPSHELLEXECUTEINFO = POINTER(SHELLEXECUTEINFO)
204
208
 
205
- #--- shell32.dll --------------------------------------------------------------
209
+ # --- shell32.dll --------------------------------------------------------------
210
+
206
211
 
207
212
  # LPWSTR *CommandLineToArgvW(
208
213
  # LPCWSTR lpCmdLine,
@@ -211,7 +216,7 @@ LPSHELLEXECUTEINFO = POINTER(SHELLEXECUTEINFO)
211
216
  def CommandLineToArgvW(lpCmdLine):
212
217
  _CommandLineToArgvW = windll.shell32.CommandLineToArgvW
213
218
  _CommandLineToArgvW.argtypes = [LPVOID, POINTER(ctypes.c_int)]
214
- _CommandLineToArgvW.restype = LPVOID
219
+ _CommandLineToArgvW.restype = LPVOID
215
220
 
216
221
  if not lpCmdLine:
217
222
  lpCmdLine = None
@@ -224,13 +229,14 @@ def CommandLineToArgvW(lpCmdLine):
224
229
  argc = argc.value
225
230
  if argc <= 0:
226
231
  raise ctypes.WinError()
227
- argv = ctypes.cast(argv, ctypes.POINTER(LPWSTR * argc) )
228
- argv = [ argv.contents[i] for i in compat.xrange(0, argc) ]
232
+ argv = ctypes.cast(argv, ctypes.POINTER(LPWSTR * argc))
233
+ argv = [argv.contents[i] for i in compat.xrange(0, argc)]
229
234
  finally:
230
235
  if vptr is not None:
231
236
  LocalFree(vptr)
232
237
  return argv
233
238
 
239
+
234
240
  def CommandLineToArgvA(lpCmdLine):
235
241
  t_ansi = GuessStringType.t_ansi
236
242
  t_unicode = GuessStringType.t_unicode
@@ -240,8 +246,10 @@ def CommandLineToArgvA(lpCmdLine):
240
246
  cmdline = lpCmdLine
241
247
  return [t_ansi(x) for x in CommandLineToArgvW(cmdline)]
242
248
 
249
+
243
250
  CommandLineToArgv = GuessStringType(CommandLineToArgvA, CommandLineToArgvW)
244
251
 
252
+
245
253
  # HINSTANCE ShellExecute(
246
254
  # HWND hwnd,
247
255
  # LPCTSTR lpOperation,
@@ -250,34 +258,37 @@ CommandLineToArgv = GuessStringType(CommandLineToArgvA, CommandLineToArgvW)
250
258
  # LPCTSTR lpDirectory,
251
259
  # INT nShowCmd
252
260
  # );
253
- def ShellExecuteA(hwnd = None, lpOperation = None, lpFile = None, lpParameters = None, lpDirectory = None, nShowCmd = None):
261
+ def ShellExecuteA(hwnd=None, lpOperation=None, lpFile=None, lpParameters=None, lpDirectory=None, nShowCmd=None):
254
262
  _ShellExecuteA = windll.shell32.ShellExecuteA
255
263
  _ShellExecuteA.argtypes = [HWND, LPSTR, LPSTR, LPSTR, LPSTR, INT]
256
- _ShellExecuteA.restype = HINSTANCE
264
+ _ShellExecuteA.restype = HINSTANCE
257
265
 
258
266
  if not nShowCmd:
259
267
  nShowCmd = 0
260
268
  success = _ShellExecuteA(hwnd, lpOperation, lpFile, lpParameters, lpDirectory, nShowCmd)
261
269
  success = ctypes.cast(success, c_int)
262
270
  success = success.value
263
- if not success > 32: # weird! isn't it?
271
+ if not success > 32: # weird! isn't it?
264
272
  raise ctypes.WinError(success)
265
273
 
266
- def ShellExecuteW(hwnd = None, lpOperation = None, lpFile = None, lpParameters = None, lpDirectory = None, nShowCmd = None):
274
+
275
+ def ShellExecuteW(hwnd=None, lpOperation=None, lpFile=None, lpParameters=None, lpDirectory=None, nShowCmd=None):
267
276
  _ShellExecuteW = windll.shell32.ShellExecuteW
268
277
  _ShellExecuteW.argtypes = [HWND, LPWSTR, LPWSTR, LPWSTR, LPWSTR, INT]
269
- _ShellExecuteW.restype = HINSTANCE
278
+ _ShellExecuteW.restype = HINSTANCE
270
279
 
271
280
  if not nShowCmd:
272
281
  nShowCmd = 0
273
282
  success = _ShellExecuteW(hwnd, lpOperation, lpFile, lpParameters, lpDirectory, nShowCmd)
274
283
  success = ctypes.cast(success, c_int)
275
284
  success = success.value
276
- if not success > 32: # weird! isn't it?
285
+ if not success > 32: # weird! isn't it?
277
286
  raise ctypes.WinError(success)
278
287
 
288
+
279
289
  ShellExecute = GuessStringType(ShellExecuteA, ShellExecuteW)
280
290
 
291
+
281
292
  # BOOL ShellExecuteEx(
282
293
  # __inout LPSHELLEXECUTEINFO lpExecInfo
283
294
  # );
@@ -289,53 +300,59 @@ def ShellExecuteEx(lpExecInfo):
289
300
  else:
290
301
  raise TypeError("Expected SHELLEXECUTEINFOA or SHELLEXECUTEINFOW, got %s instead" % type(lpExecInfo))
291
302
 
303
+
292
304
  def ShellExecuteExA(lpExecInfo):
293
305
  _ShellExecuteExA = windll.shell32.ShellExecuteExA
294
306
  _ShellExecuteExA.argtypes = [LPSHELLEXECUTEINFOA]
295
- _ShellExecuteExA.restype = BOOL
307
+ _ShellExecuteExA.restype = BOOL
296
308
  _ShellExecuteExA.errcheck = RaiseIfZero
297
309
  _ShellExecuteExA(byref(lpExecInfo))
298
310
 
311
+
299
312
  def ShellExecuteExW(lpExecInfo):
300
313
  _ShellExecuteExW = windll.shell32.ShellExecuteExW
301
314
  _ShellExecuteExW.argtypes = [LPSHELLEXECUTEINFOW]
302
- _ShellExecuteExW.restype = BOOL
315
+ _ShellExecuteExW.restype = BOOL
303
316
  _ShellExecuteExW.errcheck = RaiseIfZero
304
317
  _ShellExecuteExW(byref(lpExecInfo))
305
318
 
319
+
306
320
  # HINSTANCE FindExecutable(
307
321
  # __in LPCTSTR lpFile,
308
322
  # __in_opt LPCTSTR lpDirectory,
309
323
  # __out LPTSTR lpResult
310
324
  # );
311
- def FindExecutableA(lpFile, lpDirectory = None):
325
+ def FindExecutableA(lpFile, lpDirectory=None):
312
326
  _FindExecutableA = windll.shell32.FindExecutableA
313
327
  _FindExecutableA.argtypes = [LPSTR, LPSTR, LPSTR]
314
- _FindExecutableA.restype = HINSTANCE
328
+ _FindExecutableA.restype = HINSTANCE
315
329
 
316
330
  lpResult = ctypes.create_string_buffer(MAX_PATH)
317
331
  success = _FindExecutableA(lpFile, lpDirectory, lpResult)
318
332
  success = ctypes.cast(success, ctypes.c_void_p)
319
333
  success = success.value
320
- if not success > 32: # weird! isn't it?
334
+ if not success > 32: # weird! isn't it?
321
335
  raise ctypes.WinError(success)
322
336
  return lpResult.value
323
337
 
324
- def FindExecutableW(lpFile, lpDirectory = None):
338
+
339
+ def FindExecutableW(lpFile, lpDirectory=None):
325
340
  _FindExecutableW = windll.shell32.FindExecutableW
326
341
  _FindExecutableW.argtypes = [LPWSTR, LPWSTR, LPWSTR]
327
- _FindExecutableW.restype = HINSTANCE
342
+ _FindExecutableW.restype = HINSTANCE
328
343
 
329
344
  lpResult = ctypes.create_unicode_buffer(MAX_PATH)
330
345
  success = _FindExecutableW(lpFile, lpDirectory, lpResult)
331
346
  success = ctypes.cast(success, ctypes.c_void_p)
332
347
  success = success.value
333
- if not success > 32: # weird! isn't it?
348
+ if not success > 32: # weird! isn't it?
334
349
  raise ctypes.WinError(success)
335
350
  return lpResult.value
336
351
 
352
+
337
353
  FindExecutable = GuessStringType(FindExecutableA, FindExecutableW)
338
354
 
355
+
339
356
  # HRESULT SHGetFolderPath(
340
357
  # __in HWND hwndOwner,
341
358
  # __in int nFolder,
@@ -343,40 +360,44 @@ FindExecutable = GuessStringType(FindExecutableA, FindExecutableW)
343
360
  # __in DWORD dwFlags,
344
361
  # __out LPTSTR pszPath
345
362
  # );
346
- def SHGetFolderPathA(nFolder, hToken = None, dwFlags = SHGFP_TYPE_CURRENT):
347
- _SHGetFolderPathA = windll.shell32.SHGetFolderPathA # shfolder.dll in older win versions
363
+ def SHGetFolderPathA(nFolder, hToken=None, dwFlags=SHGFP_TYPE_CURRENT):
364
+ _SHGetFolderPathA = windll.shell32.SHGetFolderPathA # shfolder.dll in older win versions
348
365
  _SHGetFolderPathA.argtypes = [HWND, ctypes.c_int, HANDLE, DWORD, LPSTR]
349
- _SHGetFolderPathA.restype = HRESULT
350
- _SHGetFolderPathA.errcheck = RaiseIfNotZero # S_OK == 0
366
+ _SHGetFolderPathA.restype = HRESULT
367
+ _SHGetFolderPathA.errcheck = RaiseIfNotZero # S_OK == 0
351
368
 
352
369
  pszPath = ctypes.create_string_buffer(MAX_PATH + 1)
353
370
  _SHGetFolderPathA(None, nFolder, hToken, dwFlags, pszPath)
354
371
  return pszPath.value
355
372
 
356
- def SHGetFolderPathW(nFolder, hToken = None, dwFlags = SHGFP_TYPE_CURRENT):
357
- _SHGetFolderPathW = windll.shell32.SHGetFolderPathW # shfolder.dll in older win versions
373
+
374
+ def SHGetFolderPathW(nFolder, hToken=None, dwFlags=SHGFP_TYPE_CURRENT):
375
+ _SHGetFolderPathW = windll.shell32.SHGetFolderPathW # shfolder.dll in older win versions
358
376
  _SHGetFolderPathW.argtypes = [HWND, ctypes.c_int, HANDLE, DWORD, LPWSTR]
359
- _SHGetFolderPathW.restype = HRESULT
360
- _SHGetFolderPathW.errcheck = RaiseIfNotZero # S_OK == 0
377
+ _SHGetFolderPathW.restype = HRESULT
378
+ _SHGetFolderPathW.errcheck = RaiseIfNotZero # S_OK == 0
361
379
 
362
380
  pszPath = ctypes.create_unicode_buffer(MAX_PATH + 1)
363
381
  _SHGetFolderPathW(None, nFolder, hToken, dwFlags, pszPath)
364
382
  return pszPath.value
365
383
 
384
+
366
385
  SHGetFolderPath = DefaultStringType(SHGetFolderPathA, SHGetFolderPathW)
367
386
 
387
+
368
388
  # BOOL IsUserAnAdmin(void);
369
389
  def IsUserAnAdmin():
370
390
  # Supposedly, IsUserAnAdmin() is deprecated in Vista.
371
391
  # But I tried it on Windows 7 and it works just fine.
372
392
  _IsUserAnAdmin = windll.shell32.IsUserAnAdmin
373
393
  _IsUserAnAdmin.argtypes = []
374
- _IsUserAnAdmin.restype = bool
394
+ _IsUserAnAdmin.restype = bool
375
395
  return _IsUserAnAdmin()
376
396
 
377
- #==============================================================================
397
+
398
+ # ==============================================================================
378
399
  # This calculates the list of exported symbols.
379
400
  _all = set(vars().keys()).difference(_all)
380
- __all__ = [_x for _x in _all if not _x.startswith('_')]
401
+ __all__ = [_x for _x in _all if not _x.startswith("_")]
381
402
  __all__.sort()
382
- #==============================================================================
403
+ # ==============================================================================