content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\bytecode\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
4,660
0.8
0.018182
0
python-kit
420
2024-01-05T22:11:16.656598
Apache-2.0
false
30457f0768f02e1fb9c85d7fd0d3795a
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\__pycache__\pydevd_fix_code.cpython-313.pyc
pydevd_fix_code.cpython-313.pyc
Other
2,601
0.95
0.105263
0
awesome-app
501
2023-11-10T00:20:18.180245
BSD-3-Clause
false
97d63f62814df271b2a3295addc498db
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
227
0.7
0
0
vue-tools
919
2025-03-18T08:49:06.910938
GPL-3.0
false
11c61dd983da9970fbd97f3cc9ace281
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\__pycache__\pydevd_frame_eval_cython_wrapper.cpython-313.pyc
pydevd_frame_eval_cython_wrapper.cpython-313.pyc
Other
1,399
0.85
0
0
vue-tools
639
2024-08-04T14:43:10.338943
GPL-3.0
false
3c62c4850a73c4de5b0169cc053f8e23
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\__pycache__\pydevd_frame_eval_main.cpython-313.pyc
pydevd_frame_eval_main.cpython-313.pyc
Other
1,463
0.8
0
0
python-kit
298
2023-11-20T16:31:03.506355
BSD-3-Clause
false
794065ff51e9448f0101a2f04ab26e0f
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\__pycache__\pydevd_frame_tracing.cpython-313.pyc
pydevd_frame_tracing.cpython-313.pyc
Other
4,952
0.95
0.022222
0.071429
python-kit
713
2024-08-03T19:35:28.202201
Apache-2.0
false
9865cb8fa5a8ce3b6a13d98a57590980
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\__pycache__\pydevd_modify_bytecode.cpython-313.pyc
pydevd_modify_bytecode.cpython-313.pyc
Other
11,454
0.8
0.025424
0
node-utils
851
2025-01-11T09:56:16.611840
MIT
false
62431e9ae8c1c7c01874fa186e711a48
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
218
0.7
0
0
awesome-app
13
2023-08-01T02:52:23.070172
GPL-3.0
false
8df702425b94aa14c3bab420553f72d6
from _pydevd_bundle.pydevd_constants import USE_CYTHON_FLAG, ENV_TRUE_LOWER_VALUES, ENV_FALSE_LOWER_VALUES, IS_PY312_OR_GREATER\n\nif IS_PY312_OR_GREATER:\n if USE_CYTHON_FLAG in ENV_TRUE_LOWER_VALUES:\n from ._pydevd_sys_monitoring_cython import *\n\n elif USE_CYTHON_FLAG in ENV_FALSE_LOWER_VALUES:\n from ._pydevd_sys_monitoring import *\n\n else:\n try:\n from ._pydevd_sys_monitoring_cython import *\n except:\n from ._pydevd_sys_monitoring import *\nelse:\n from ._pydevd_sys_monitoring import *\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydevd_sys_monitoring\pydevd_sys_monitoring.py
pydevd_sys_monitoring.py
Python
565
0.85
0.1875
0
vue-tools
700
2024-08-07T22:14:38.310414
Apache-2.0
false
3a673a078e414a9b90cb01d732e874f2
from cpython.mem cimport PyMem_Malloc, PyMem_Free\n\ncdef extern from *:\n ctypedef void PyObject\n ctypedef struct PyCodeObject:\n int co_argcount; # arguments, except *args */\n int co_kwonlyargcount; # keyword only arguments */\n int co_nlocals; # local variables */\n int co_stacksize; # entries needed for evaluation stack */\n int co_flags; # CO_..., see below */\n int co_firstlineno; # first source line number */\n PyObject *co_code; # instruction opcodes */\n PyObject *co_consts; # list (constants used) */\n PyObject *co_names; # list of strings (names used) */\n PyObject *co_varnames; # tuple of strings (local variable names) */\n PyObject *co_freevars; # tuple of strings (free variable names) */\n PyObject *co_cellvars; # tuple of strings (cell variable names) */\n unsigned char *co_cell2arg; # Maps cell vars which are arguments. */\n PyObject *co_filename; # unicode (where it was loaded from) */\n PyObject *co_name; # unicode (name, for reference) */\n PyObject *co_lnotab; # string (encoding addr<->lineno mapping) See\n # Objects/lnotab_notes.txt for details. */\n void *co_zombieframe; # for optimization only (see frameobject.c) */\n PyObject *co_weakreflist; # to support weakrefs to code objects */\n void *co_extra;\n\ncdef extern from "frameobject.h":\n ctypedef struct PyFrameObject:\n PyFrameObject *f_back\n PyCodeObject *f_code # code segment\n PyObject *f_builtins # builtin symbol table (PyDictObject)\n PyObject *f_globals # global symbol table (PyDictObject) */\n PyObject *f_locals # local symbol table (any mapping) */\n PyObject **f_valuestack #\n PyObject **f_stacktop\n PyObject *f_trace # Trace function */\n PyObject *f_exc_type\n PyObject *f_exc_value\n PyObject *f_exc_traceback\n PyObject *f_gen;\n\n int f_lasti; #/* Last instruction if called */\n int f_lineno; #/* Current line number */\n int f_iblock; #/* index in f_blockstack */\n char f_executing; #/* whether the frame is still executing */\n PyObject *f_localsplus[1];\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydevd_sys_monitoring\_pydevd_sys_monitoring_cython.pxd
_pydevd_sys_monitoring_cython.pxd
Other
2,385
0.95
0.130435
0.023256
vue-tools
792
2025-02-26T11:18:14.141725
MIT
false
5bcf2835e22c65d47c32702403132e56
from __future__ import print_function\n\n# Important: Autogenerated file.\n\n# DO NOT edit manually!\n# DO NOT edit manually!\n# Copyright: Brainwy Software\n#\n# License: EPL\n\nfrom collections import namedtuple\nimport dis\nimport os\nimport re\nimport sys\nfrom _pydev_bundle._pydev_saved_modules import threading\nfrom types import CodeType, FrameType\nfrom typing import Dict, Optional, Tuple, Any\nfrom os.path import basename, splitext\n\nfrom _pydev_bundle import pydev_log\nfrom _pydevd_bundle import pydevd_dont_trace\nfrom _pydevd_bundle.pydevd_constants import (\n IS_PY313_OR_GREATER,\n GlobalDebuggerHolder,\n ForkSafeLock,\n PYDEVD_IPYTHON_CONTEXT,\n EXCEPTION_TYPE_USER_UNHANDLED,\n RETURN_VALUES_DICT,\n PYTHON_SUSPEND,\n)\nfrom pydevd_file_utils import (\n NORM_PATHS_AND_BASE_CONTAINER,\n get_abs_path_real_path_and_base_from_file,\n get_abs_path_real_path_and_base_from_frame,\n)\nfrom _pydevd_bundle.pydevd_trace_dispatch import should_stop_on_exception, handle_exception\nfrom _pydevd_bundle.pydevd_constants import EXCEPTION_TYPE_HANDLED\nfrom _pydevd_bundle.pydevd_trace_dispatch import is_unhandled_exception\nfrom _pydevd_bundle.pydevd_breakpoints import stop_on_unhandled_exception\nfrom _pydevd_bundle.pydevd_utils import get_clsname_for_code\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\nimport cython\nfrom _pydevd_bundle.pydevd_cython cimport set_additional_thread_info, any_thread_stepping, PyDBAdditionalThreadInfo\n# ELSE\n# from _pydevd_bundle.pydevd_additional_thread_info import set_additional_thread_info, any_thread_stepping, PyDBAdditionalThreadInfo\n# ENDIF\n# fmt: on\n\ntry:\n from _pydevd_bundle.pydevd_bytecode_utils import get_smart_step_into_variant_from_frame_offset\nexcept ImportError:\n\n def get_smart_step_into_variant_from_frame_offset(*args, **kwargs):\n return None\n\n\nif hasattr(sys, "monitoring"):\n DEBUGGER_ID = sys.monitoring.DEBUGGER_ID\n monitor = sys.monitoring\n\n_thread_local_info = threading.local()\n_get_ident = threading.get_ident\n_thread_active = threading._active # noqa\n\nCMD_STEP_INTO: int = 107\nCMD_STEP_OVER: int = 108\nCMD_STEP_INTO_MY_CODE: int = 144\nCMD_STEP_INTO_COROUTINE: int = 206\nCMD_SMART_STEP_INTO: int = 128\ncan_skip: bool = True\nCMD_STEP_RETURN: int = 109\nCMD_STEP_OVER_MY_CODE: int = 159\nCMD_STEP_RETURN_MY_CODE: int = 160\nCMD_SET_BREAK: int = 111\nCMD_SET_FUNCTION_BREAK: int = 208\nSTATE_RUN: int = 1\nSTATE_SUSPEND: int = 2\n\nIGNORE_EXCEPTION_TAG = re.compile("[^#]*#.*@IgnoreException")\nDEBUG_START = ("pydevd.py", "run")\nDEBUG_START_PY3K = ("_pydev_execfile.py", "execfile")\nTRACE_PROPERTY = "pydevd_traceproperty.py"\n\n_global_notify_skipped_step_in = False\n_global_notify_skipped_step_in_lock = ForkSafeLock()\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _notify_skipped_step_in_because_of_filters(py_db, frame):\n# ELSE\n# def _notify_skipped_step_in_because_of_filters(py_db, frame):\n# ENDIF\n# fmt: on\n global _global_notify_skipped_step_in\n\n with _global_notify_skipped_step_in_lock:\n if _global_notify_skipped_step_in:\n # Check with lock in place (callers should actually have checked\n # before without the lock in place due to performance).\n return\n _global_notify_skipped_step_in = True\n py_db.notify_skipped_step_in_because_of_filters(frame)\n\n\n# Easy for cython: always get the one at level 0 as that's the caller frame\n# (on Python we have to control the depth to get the first user frame).\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\n@cython.cfunc\ndef _getframe(depth=0):\n return sys._getframe()\n# ELSE\n# _getframe = sys._getframe\n# ENDIF\n# fmt: on\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _get_bootstrap_frame(depth):\n# ELSE\n# def _get_bootstrap_frame(depth: int) -> Tuple[Optional[FrameType], bool]:\n# ENDIF\n# fmt: on\n try:\n return _thread_local_info.f_bootstrap, _thread_local_info.is_bootstrap_frame_internal\n except:\n frame = _getframe(depth)\n f_bootstrap = frame\n # print('called at', f_bootstrap.f_code.co_name, f_bootstrap.f_code.co_filename, f_bootstrap.f_code.co_firstlineno)\n is_bootstrap_frame_internal = False\n while f_bootstrap is not None:\n filename = f_bootstrap.f_code.co_filename\n name = splitext(basename(filename))[0]\n\n if name == "threading":\n if f_bootstrap.f_code.co_name in ("__bootstrap", "_bootstrap"):\n # We need __bootstrap_inner, not __bootstrap.\n return None, False\n\n elif f_bootstrap.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"):\n # Note: be careful not to use threading.current_thread to avoid creating a dummy thread.\n is_bootstrap_frame_internal = True\n break\n\n elif name == "pydev_monkey":\n if f_bootstrap.f_code.co_name == "__call__":\n is_bootstrap_frame_internal = True\n break\n\n elif name == "pydevd":\n if f_bootstrap.f_code.co_name in ("run", "main"):\n # We need to get to _exec\n return None, False\n\n if f_bootstrap.f_code.co_name == "_exec":\n is_bootstrap_frame_internal = True\n break\n\n elif f_bootstrap.f_back is None:\n break\n\n f_bootstrap = f_bootstrap.f_back\n\n if f_bootstrap is not None:\n _thread_local_info.is_bootstrap_frame_internal = is_bootstrap_frame_internal\n _thread_local_info.f_bootstrap = f_bootstrap\n return _thread_local_info.f_bootstrap, _thread_local_info.is_bootstrap_frame_internal\n\n return f_bootstrap, is_bootstrap_frame_internal\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _get_unhandled_exception_frame(exc, int depth):\n# ELSE\n# def _get_unhandled_exception_frame(exc, depth: int) -> Optional[FrameType]:\n# ENDIF\n# fmt: on\n try:\n # Unhandled frame has to be from the same exception.\n if _thread_local_info.f_unhandled_exc is exc:\n return _thread_local_info.f_unhandled_frame\n else:\n del _thread_local_info.f_unhandled_frame\n del _thread_local_info.f_unhandled_exc\n raise AttributeError('Not the same exception')\n except:\n f_unhandled = _getframe(depth)\n\n while f_unhandled is not None and f_unhandled.f_back is not None:\n f_back = f_unhandled.f_back\n filename = f_back.f_code.co_filename\n name = splitext(basename(filename))[0]\n\n # When the back frame is the bootstrap (or if we have no back\n # frame) then use this frame as the one to track.\n if name == "threading":\n if f_back.f_code.co_name in ("__bootstrap", "_bootstrap", "__bootstrap_inner", "_bootstrap_inner", "run"):\n break\n\n elif name == "pydev_monkey":\n if f_back.f_code.co_name == "__call__":\n break\n\n elif name == "pydevd":\n if f_back.f_code.co_name in ("_exec", "run", "main"):\n break\n\n elif name == "pydevd_runpy":\n if f_back.f_code.co_name.startswith(("run", "_run")):\n break\n\n elif name == "<frozen runpy>":\n if f_back.f_code.co_name.startswith(("run", "_run")):\n break\n\n elif name == "runpy":\n if f_back.f_code.co_name.startswith(("run", "_run")):\n break\n\n f_unhandled = f_back\n\n if f_unhandled is not None:\n _thread_local_info.f_unhandled_frame = f_unhandled\n _thread_local_info.f_unhandled_exc = exc\n return _thread_local_info.f_unhandled_frame\n\n return f_unhandled\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef class ThreadInfo:\n cdef unsigned long thread_ident\n cdef PyDBAdditionalThreadInfo additional_info\n thread: threading.Thread\n trace: bool\n _use_is_stopped: bool\n# ELSE\n# class ThreadInfo:\n# additional_info: PyDBAdditionalThreadInfo\n# thread_ident: int\n# thread: threading.Thread\n# trace: bool\n# ENDIF\n# fmt: on\n\n # fmt: off\n # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\n def __init__(self, thread, unsigned long thread_ident, bint trace, PyDBAdditionalThreadInfo additional_info):\n # ELSE\n# def __init__(self, thread: threading.Thread, thread_ident: int, trace: bool, additional_info: PyDBAdditionalThreadInfo):\n # ENDIF\n # fmt: on\n self.thread = thread\n self.thread_ident = thread_ident\n self.additional_info = additional_info\n self.trace = trace\n self._use_is_stopped = hasattr(thread, '_is_stopped')\n \n # fmt: off\n # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\n cdef bint is_thread_alive(self):\n # ELSE\n# def is_thread_alive(self):\n # ENDIF\n # fmt: on\n if self._use_is_stopped:\n return not self.thread._is_stopped\n else:\n return not self.thread._handle.is_done()\n\n\nclass _DeleteDummyThreadOnDel:\n """\n Helper class to remove a dummy thread from threading._active on __del__.\n """\n\n def __init__(self, dummy_thread):\n self._dummy_thread = dummy_thread\n self._tident = dummy_thread.ident\n # Put the thread on a thread local variable so that when\n # the related thread finishes this instance is collected.\n #\n # Note: no other references to this instance may be created.\n # If any client code creates a reference to this instance,\n # the related _DummyThread will be kept forever!\n _thread_local_info._track_dummy_thread_ref = self\n\n def __del__(self):\n with threading._active_limbo_lock:\n if _thread_active.get(self._tident) is self._dummy_thread:\n _thread_active.pop(self._tident, None)\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _create_thread_info(depth):\n cdef unsigned long thread_ident\n# ELSE\n# def _create_thread_info(depth):\n# ENDIF\n# fmt: on\n # Don't call threading.currentThread because if we're too early in the process\n # we may create a dummy thread.\n thread_ident = _get_ident()\n\n f_bootstrap_frame, is_bootstrap_frame_internal = _get_bootstrap_frame(depth + 1)\n if f_bootstrap_frame is None:\n return None # Case for threading when it's still in bootstrap or early in pydevd.\n\n if is_bootstrap_frame_internal:\n t = None\n if f_bootstrap_frame.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"):\n # Note: be careful not to use threading.current_thread to avoid creating a dummy thread.\n t = f_bootstrap_frame.f_locals.get("self")\n if not isinstance(t, threading.Thread):\n t = None\n\n elif f_bootstrap_frame.f_code.co_name in ("_exec", "__call__"):\n # Note: be careful not to use threading.current_thread to avoid creating a dummy thread.\n t = f_bootstrap_frame.f_locals.get("t")\n if not isinstance(t, threading.Thread):\n t = None\n\n else:\n # This means that the first frame is not in threading nor in pydevd.\n # In practice this means it's some unmanaged thread, so, creating\n # a dummy thread is ok in this use-case.\n t = threading.current_thread()\n\n if t is None:\n t = _thread_active.get(thread_ident)\n\n if isinstance(t, threading._DummyThread) and not IS_PY313_OR_GREATER:\n _thread_local_info._ref = _DeleteDummyThreadOnDel(t)\n\n if t is None:\n return None\n\n if getattr(t, "is_pydev_daemon_thread", False):\n return ThreadInfo(t, thread_ident, False, None)\n else:\n try:\n additional_info = t.additional_info\n if additional_info is None:\n raise AttributeError()\n except:\n additional_info = set_additional_thread_info(t)\n return ThreadInfo(t, thread_ident, True, additional_info)\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef class FuncCodeInfo:\n cdef str co_filename\n cdef str canonical_normalized_filename\n cdef str abs_path_filename\n cdef bint always_skip_code\n cdef bint breakpoint_found\n cdef bint function_breakpoint_found\n cdef bint plugin_line_breakpoint_found\n cdef bint plugin_call_breakpoint_found\n cdef bint plugin_line_stepping\n cdef bint plugin_call_stepping\n cdef bint plugin_return_stepping\n cdef int pydb_mtime\n cdef dict bp_line_to_breakpoint\n cdef object function_breakpoint\n cdef bint always_filtered_out\n cdef bint filtered_out_force_checked\n cdef object try_except_container_obj\n cdef object code_obj\n cdef str co_name\n# ELSE\n# class FuncCodeInfo:\n# \n# ENDIF\n# fmt: on\n def __init__(self):\n self.co_filename: str = ""\n self.canonical_normalized_filename: str = ""\n self.abs_path_filename: str = ""\n\n # These is never seen and we never stop, even if it's a callback coming\n # from user code (these are completely invisible to the debugging tracing).\n self.always_skip_code: bool = False\n\n self.breakpoint_found: bool = False\n self.function_breakpoint_found: bool = False\n\n # A plugin can choose whether to stop on function calls or line events.\n self.plugin_line_breakpoint_found: bool = False\n self.plugin_call_breakpoint_found: bool = False\n\n self.plugin_line_stepping: bool = False\n self.plugin_call_stepping: bool = False\n self.plugin_return_stepping: bool = False\n\n # When pydb_mtime != PyDb.mtime the validity of breakpoints have\n # to be re-evaluated (if invalid a new FuncCodeInfo must be created and\n # tracing can't be disabled for the related frames).\n self.pydb_mtime: int = -1\n\n self.bp_line_to_breakpoint: Dict[int, Any] = {}\n self.function_breakpoint = None\n\n # This means some file is globally filtered out during debugging. Note\n # that we may still need to pause in it (in a step return to user code,\n # we may need to track this one).\n self.always_filtered_out: bool = False\n\n # This should be used to filter code in a CMD_STEP_INTO_MY_CODE\n # (and other XXX_MY_CODE variants).\n self.filtered_out_force_checked: bool = False\n\n self.try_except_container_obj: Optional[_TryExceptContainerObj] = None\n self.code_obj: CodeType = None\n self.co_name: str = ""\n\n def get_line_of_offset(self, offset):\n for start, end, line in self.code_obj.co_lines():\n if start is not None and end is not None and line is not None:\n if offset >= start and offset <= end:\n return line\n return -1\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _get_thread_info(bint create, int depth):\n# ELSE\n# def _get_thread_info(create: bool, depth: int) -> Optional[ThreadInfo]:\n# ENDIF\n# fmt: on\n """\n Provides thread-related info.\n\n May return None if the thread is still not active.\n """\n try:\n # Note: changing to a `dict[thread.ident] = thread_info` had almost no\n # effect in the performance.\n return _thread_local_info.thread_info\n except:\n if not create:\n return None\n thread_info = _create_thread_info(depth + 1)\n if thread_info is None:\n return None\n\n _thread_local_info.thread_info = thread_info\n return _thread_local_info.thread_info\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef class _CodeLineInfo:\n cdef dict line_to_offset\n cdef int first_line\n cdef int last_line\n# ELSE\n# class _CodeLineInfo:\n# line_to_offset: Dict[int, Any]\n# first_line: int\n# last_line: int\n# ENDIF\n# fmt: on\n\n # fmt: off\n # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\n def __init__(self, dict line_to_offset, int first_line, int last_line):\n self.line_to_offset = line_to_offset\n self.first_line = first_line\n self.last_line = last_line\n # ELSE\n# def __init__(self, line_to_offset, first_line, last_line):\n# self.line_to_offset = line_to_offset\n# self.first_line = first_line\n# self.last_line = last_line\n# \n # ENDIF\n # fmt: on\n\n# Note: this method has a version in cython too\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _CodeLineInfo _get_code_line_info(code_obj, _cache={}):\n# ELSE\n# def _get_code_line_info(code_obj, _cache={}) -> _CodeLineInfo:\n# ENDIF\n# fmt: on\n try:\n return _cache[code_obj]\n except:\n line_to_offset = {}\n first_line = None\n last_line = None\n\n for offset, line in dis.findlinestarts(code_obj):\n if line is not None:\n line_to_offset[line] = offset\n\n if len(line_to_offset):\n first_line = min(line_to_offset)\n last_line = max(line_to_offset)\n ret = _CodeLineInfo(line_to_offset, first_line, last_line)\n _cache[code_obj] = ret\n return ret\n\n\n_code_to_func_code_info_cache: Dict[CodeType, "FuncCodeInfo"] = {}\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncpdef FuncCodeInfo _get_func_code_info(code_obj, frame_or_depth):\n cdef FuncCodeInfo func_code_info\n# ELSE\n# def _get_func_code_info(code_obj, frame_or_depth) -> FuncCodeInfo:\n# ENDIF\n# fmt: on\n """\n Provides code-object related info.\n\n Note that it contains informations on the breakpoints for a given function.\n If breakpoints change a new FuncCodeInfo instance will be created.\n\n Note that this can be called by any thread.\n """\n py_db = GlobalDebuggerHolder.global_dbg\n if py_db is None:\n return None\n\n func_code_info = _code_to_func_code_info_cache.get(code_obj)\n if func_code_info is not None:\n if func_code_info.pydb_mtime == py_db.mtime:\n # if DEBUG:\n # print('_get_func_code_info: matched mtime', key, code_obj)\n return func_code_info\n\n # fmt: off\n # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\n cdef dict cache_file_type\n cdef tuple cache_file_type_key\n cdef PyCodeObject * code\n cdef str co_filename\n cdef str co_name\n code = <PyCodeObject *> code_obj\n co_filename = <str> code.co_filename\n co_name = <str> code.co_name\n # ELSE\n# cache_file_type: dict\n# cache_file_type_key: tuple\n# code = code_obj\n# co_filename: str = code.co_filename\n# co_name: str = code.co_name\n # ENDIF\n # fmt: on\n\n # print('_get_func_code_info: new (mtime did not match)', key, code_obj)\n\n func_code_info = FuncCodeInfo()\n func_code_info.code_obj = code_obj\n code_line_info = _get_code_line_info(code_obj)\n line_to_offset = code_line_info.line_to_offset\n func_code_info.pydb_mtime = py_db.mtime\n\n func_code_info.co_filename = co_filename\n func_code_info.co_name = co_name\n\n # Compute whether to always skip this.\n try:\n abs_path_real_path_and_base = NORM_PATHS_AND_BASE_CONTAINER[co_filename]\n except:\n abs_path_real_path_and_base = get_abs_path_real_path_and_base_from_file(co_filename)\n\n func_code_info.abs_path_filename = abs_path_real_path_and_base[0]\n func_code_info.canonical_normalized_filename = abs_path_real_path_and_base[1]\n\n frame = None\n cache_file_type = py_db.get_cache_file_type()\n # Note: this cache key must be the same from PyDB.get_file_type() -- see it for comments\n # on the cache.\n cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj)\n try:\n file_type = cache_file_type[cache_file_type_key] # Make it faster\n except:\n if frame is None:\n if frame_or_depth.__class__ == int:\n frame = _getframe(frame_or_depth + 1)\n else:\n frame = frame_or_depth\n assert frame.f_code is code_obj, "%s != %s" % (frame.f_code, code_obj)\n\n file_type = py_db.get_file_type(frame, abs_path_real_path_and_base) # we don't want to debug anything related to pydevd\n\n if file_type is not None:\n func_code_info.always_skip_code = True\n func_code_info.always_filtered_out = True\n _code_to_func_code_info_cache[code_obj] = func_code_info\n return func_code_info\n\n # still not set, check for dont trace comments.\n if pydevd_dont_trace.should_trace_hook is not None:\n # I.e.: cache the result skip (no need to evaluate the same frame multiple times).\n # Note that on a code reload, we won't re-evaluate this because in practice, the frame.f_code\n # Which will be handled by this frame is read-only, so, we can cache it safely.\n if not pydevd_dont_trace.should_trace_hook(code_obj, func_code_info.abs_path_filename):\n if frame is None:\n if frame_or_depth.__class__ == int:\n frame = _getframe(frame_or_depth + 1)\n else:\n frame = frame_or_depth\n assert frame.f_code is code_obj\n\n func_code_info.always_filtered_out = True\n _code_to_func_code_info_cache[code_obj] = func_code_info\n return func_code_info\n\n if frame is None:\n if frame_or_depth.__class__ == int:\n frame = _getframe(frame_or_depth + 1)\n else:\n frame = frame_or_depth\n assert frame.f_code is code_obj\n\n func_code_info.filtered_out_force_checked = py_db.apply_files_filter(frame, func_code_info.abs_path_filename, True)\n\n if py_db.is_files_filter_enabled:\n func_code_info.always_filtered_out = py_db.apply_files_filter(frame, func_code_info.abs_path_filename, False)\n if func_code_info.always_filtered_out:\n _code_to_func_code_info_cache[code_obj] = func_code_info\n return func_code_info\n\n else:\n func_code_info.always_filtered_out = False\n\n # Handle regular breakpoints\n breakpoints: dict = py_db.breakpoints.get(func_code_info.canonical_normalized_filename)\n function_breakpoint: object = py_db.function_breakpoint_name_to_breakpoint.get(func_code_info.co_name)\n # print('\n---')\n # print(py_db.breakpoints)\n # print(func_code_info.canonical_normalized_filename)\n # print(py_db.breakpoints.get(func_code_info.canonical_normalized_filename))\n if function_breakpoint:\n # Go directly into tracing mode\n func_code_info.function_breakpoint_found = True\n func_code_info.function_breakpoint = function_breakpoint\n\n if breakpoints:\n # if DEBUG:\n # print('found breakpoints', code_obj_py.co_name, breakpoints)\n\n bp_line_to_breakpoint = {}\n\n for breakpoint_line, bp in breakpoints.items():\n if breakpoint_line in line_to_offset:\n bp_line_to_breakpoint[breakpoint_line] = bp\n\n func_code_info.breakpoint_found = bool(bp_line_to_breakpoint)\n func_code_info.bp_line_to_breakpoint = bp_line_to_breakpoint\n\n if py_db.plugin:\n plugin_manager = py_db.plugin\n is_tracked_frame = plugin_manager.is_tracked_frame(frame)\n\n if is_tracked_frame:\n if py_db.has_plugin_line_breaks:\n required_events_breakpoint = plugin_manager.required_events_breakpoint()\n func_code_info.plugin_line_breakpoint_found = "line" in required_events_breakpoint\n func_code_info.plugin_call_breakpoint_found = "call" in required_events_breakpoint\n\n required_events_stepping = plugin_manager.required_events_stepping()\n func_code_info.plugin_line_stepping: bool = "line" in required_events_stepping\n func_code_info.plugin_call_stepping: bool = "call" in required_events_stepping\n func_code_info.plugin_return_stepping: bool = "return" in required_events_stepping\n\n _code_to_func_code_info_cache[code_obj] = func_code_info\n return func_code_info\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _enable_line_tracing(code):\n# ELSE\n# def _enable_line_tracing(code):\n# ENDIF\n# fmt: on\n # print('enable line tracing', code)\n _ensure_monitoring()\n events = monitor.get_local_events(DEBUGGER_ID, code)\n monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.LINE | monitor.events.JUMP)\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _enable_return_tracing(code):\n# ELSE\n# def _enable_return_tracing(code):\n# ENDIF\n# fmt: on\n # print('enable return tracing', code)\n _ensure_monitoring()\n events = monitor.get_local_events(DEBUGGER_ID, code)\n monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.PY_RETURN)\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncpdef disable_code_tracing(code):\n# ELSE\n# def disable_code_tracing(code):\n# ENDIF\n# fmt: on\n _ensure_monitoring()\n monitor.set_local_events(DEBUGGER_ID, code, 0)\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncpdef enable_code_tracing(unsigned long thread_ident, code, frame):\n# ELSE\n# def enable_code_tracing(thread_ident: Optional[int], code, frame) -> bool:\n# ENDIF\n# fmt: on\n """\n Note: this must enable code tracing for the given code/frame.\n\n The frame can be from any thread!\n\n :return: Whether code tracing was added in this function to the given code.\n """\n # DEBUG = False # 'my_code.py' in code.co_filename or 'other.py' in code.co_filename\n # if DEBUG:\n # print('==== enable code tracing', code.co_filename[-30:], code.co_name)\n py_db: object = GlobalDebuggerHolder.global_dbg\n if py_db is None or py_db.pydb_disposed:\n return False\n\n func_code_info: FuncCodeInfo = _get_func_code_info(code, frame)\n if func_code_info.always_skip_code:\n # if DEBUG:\n # print('disable (always skip)')\n return False\n\n try:\n thread = threading._active.get(thread_ident)\n if thread is None:\n return False\n additional_info = set_additional_thread_info(thread)\n except:\n # Cannot set based on stepping\n return False\n\n return _enable_code_tracing(py_db, additional_info, func_code_info, code, frame, False)\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef bint _enable_code_tracing(py_db, PyDBAdditionalThreadInfo additional_info, FuncCodeInfo func_code_info, code, frame, bint warn_on_filtered_out):\n cdef int step_cmd\n cdef bint is_stepping\n cdef bint code_tracing_added\n# ELSE\n# def _enable_code_tracing(py_db, additional_info, func_code_info: FuncCodeInfo, code, frame, warn_on_filtered_out) -> bool:\n# ENDIF\n# fmt: on\n """\n :return: Whether code tracing was added in this function to the given code.\n """\n # DEBUG = False # 'my_code.py' in code.co_filename or 'other.py' in code.co_filename\n step_cmd = additional_info.pydev_step_cmd\n is_stepping = step_cmd != -1\n code_tracing_added = False\n\n if func_code_info.always_filtered_out:\n # if DEBUG:\n # print('disable (always filtered out)')\n if (\n warn_on_filtered_out\n and is_stepping\n and additional_info.pydev_original_step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE)\n and not _global_notify_skipped_step_in\n ):\n _notify_skipped_step_in_because_of_filters(py_db, frame)\n\n if is_stepping:\n # Tracing may be needed for return value\n _enable_step_tracing(py_db, code, step_cmd, additional_info, frame)\n code_tracing_added = True\n return code_tracing_added\n\n if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found:\n _enable_line_tracing(code)\n code_tracing_added = True\n\n if is_stepping:\n _enable_step_tracing(py_db, code, step_cmd, additional_info, frame)\n code_tracing_added = True\n\n return code_tracing_added\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _enable_step_tracing(py_db, code, step_cmd, PyDBAdditionalThreadInfo info, frame):\n# ELSE\n# def _enable_step_tracing(py_db, code, step_cmd, info, frame):\n# ENDIF\n# fmt: on\n if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO):\n # Stepping (must have line/return tracing enabled).\n _enable_line_tracing(code)\n _enable_return_tracing(code)\n\n elif step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and _is_same_frame(info, info.pydev_step_stop, frame):\n _enable_return_tracing(code)\n\n elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE):\n if _is_same_frame(info, info.pydev_step_stop, frame):\n _enable_line_tracing(code)\n\n # Wee need to enable return tracing because if we have a return during a step over\n # we need to stop too.\n _enable_return_tracing(code)\n elif py_db.show_return_values and _is_same_frame(info, info.pydev_step_stop, frame.f_back):\n # Show return values on step over.\n _enable_return_tracing(code)\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef class _TryExceptContainerObj:\n cdef list try_except_infos\n# ELSE\n# class _TryExceptContainerObj:\n# ENDIF\n# fmt: on\n """\n A dumb container object just to contain the try..except info when needed. Meant to be\n persistent among multiple PyDBFrames to the same code object.\n """\n\n # fmt: off\n # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\n def __init__(self, list try_except_infos):\n self.try_except_infos = try_except_infos\n # ELSE\n# def __init__(self, try_except_infos):\n# self.try_except_infos = try_except_infos\n# \n # ENDIF\n # fmt: on\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _unwind_event(code, instruction, exc):\n cdef ThreadInfo thread_info\n cdef FuncCodeInfo func_code_info\n# ELSE\n# def _unwind_event(code, instruction, exc):\n# ENDIF\n# fmt: on\n try:\n thread_info = _thread_local_info.thread_info\n except:\n thread_info = _get_thread_info(True, 1)\n if thread_info is None:\n return\n\n py_db: object = GlobalDebuggerHolder.global_dbg\n if py_db is None or py_db.pydb_disposed:\n return\n\n if not thread_info.trace or not thread_info.is_thread_alive():\n # For thread-related stuff we can't disable the code tracing because other\n # threads may still want it...\n return\n\n func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)\n if func_code_info.always_skip_code:\n return\n\n # print('_unwind_event', code, exc)\n frame = _getframe(1)\n arg = (type(exc), exc, exc.__traceback__)\n\n has_caught_exception_breakpoint_in_pydb = (\n py_db.break_on_caught_exceptions or py_db.break_on_user_uncaught_exceptions or py_db.has_plugin_exception_breaks\n )\n\n if has_caught_exception_breakpoint_in_pydb:\n _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception(\n py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True\n )\n if user_uncaught_exc_info:\n # TODO: Check: this may no longer be needed as in the unwind we know it's\n # an exception bubbling up (wait for all tests to pass to check it).\n if func_code_info.try_except_container_obj is None:\n container_obj = _TryExceptContainerObj(py_db.collect_try_except_info(frame.f_code))\n func_code_info.try_except_container_obj = container_obj\n\n is_unhandled = is_unhandled_exception(\n func_code_info.try_except_container_obj, py_db, frame, user_uncaught_exc_info[1], user_uncaught_exc_info[2]\n )\n\n if is_unhandled:\n handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED)\n return\n\n break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions\n if break_on_uncaught_exceptions:\n if frame is _get_unhandled_exception_frame(exc, 1):\n stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg)\n return\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _raise_event(code, instruction, exc):\n cdef ThreadInfo thread_info\n cdef FuncCodeInfo func_code_info\n# ELSE\n# def _raise_event(code, instruction, exc):\n# ENDIF\n# fmt: on\n """\n The way this should work is the following: when the user is using\n pydevd to do the launch and we're on a managed stack, we should consider\n unhandled only if it gets into a pydevd. If it's a thread, if it stops\n inside the threading and if it's an unmanaged thread (i.e.: QThread)\n then stop if it doesn't have a back frame.\n\n Note: unlike other events, this one is global and not per-code (so,\n it cannot be individually enabled/disabled for a given code object).\n """\n try:\n thread_info = _thread_local_info.thread_info\n except:\n thread_info = _get_thread_info(True, 1)\n if thread_info is None:\n return\n \n py_db: object = GlobalDebuggerHolder.global_dbg\n if py_db is None or py_db.pydb_disposed:\n return\n\n if not thread_info.trace or not thread_info.is_thread_alive():\n # For thread-related stuff we can't disable the code tracing because other\n # threads may still want it...\n return\n\n func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)\n if func_code_info.always_skip_code:\n return\n\n frame = _getframe(1)\n arg = (type(exc), exc, exc.__traceback__)\n\n # Compute the previous exception info (if any). We use it to check if the exception\n # should be stopped\n prev_exc_info = _thread_local_info._user_uncaught_exc_info if hasattr(_thread_local_info, "_user_uncaught_exc_info") else None\n should_stop, frame, _user_uncaught_exc_info = should_stop_on_exception(\n py_db, thread_info.additional_info, frame, thread_info.thread, arg, prev_exc_info\n )\n\n # Save the current exception info for the next raise event.\n _thread_local_info._user_uncaught_exc_info = _user_uncaught_exc_info\n\n # print('!!!! should_stop (in raise)', should_stop)\n if should_stop:\n handle_exception(py_db, thread_info.thread, frame, arg, EXCEPTION_TYPE_HANDLED)\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef str get_func_name(frame):\n cdef str func_name\n# ELSE\n# def get_func_name(frame):\n# ENDIF\n# fmt: on\n code_obj = frame.f_code\n func_name = code_obj.co_name\n try:\n cls_name = get_clsname_for_code(code_obj, frame)\n if cls_name is not None:\n return "%s.%s" % (cls_name, func_name)\n else:\n return func_name\n except:\n pydev_log.exception()\n return func_name\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _show_return_values(frame, arg):\n# ELSE\n# def _show_return_values(frame, arg):\n# ENDIF\n# fmt: on\n try:\n try:\n f_locals_back = getattr(frame.f_back, "f_locals", None)\n if f_locals_back is not None:\n return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None)\n if return_values_dict is None:\n return_values_dict = {}\n f_locals_back[RETURN_VALUES_DICT] = return_values_dict\n name = get_func_name(frame)\n return_values_dict[name] = arg\n except:\n pydev_log.exception()\n finally:\n f_locals_back = None\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _remove_return_values(py_db, frame):\n# ELSE\n# def _remove_return_values(py_db, frame):\n# ENDIF\n# fmt: on\n try:\n try:\n # Showing return values was turned off, we should remove them from locals dict.\n # The values can be in the current frame or in the back one\n frame.f_locals.pop(RETURN_VALUES_DICT, None)\n\n f_locals_back = getattr(frame.f_back, "f_locals", None)\n if f_locals_back is not None:\n f_locals_back.pop(RETURN_VALUES_DICT, None)\n except:\n pydev_log.exception()\n finally:\n f_locals_back = None\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _return_event(code, instruction, retval):\n cdef ThreadInfo thread_info\n cdef FuncCodeInfo func_code_info\n cdef PyDBAdditionalThreadInfo info\n cdef int step_cmd\n# ELSE\n# def _return_event(code, instruction, retval):\n# ENDIF\n# fmt: on\n try:\n thread_info = _thread_local_info.thread_info\n except:\n thread_info = _get_thread_info(True, 1)\n if thread_info is None:\n return\n\n py_db: object = GlobalDebuggerHolder.global_dbg\n if py_db is None or py_db.pydb_disposed:\n return monitor.DISABLE\n\n if not thread_info.trace or not thread_info.is_thread_alive():\n # For thread-related stuff we can't disable the code tracing because other\n # threads may still want it...\n return\n\n func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)\n if func_code_info.always_skip_code:\n return monitor.DISABLE\n\n info = thread_info.additional_info\n\n # We know the frame depth.\n frame = _getframe(1)\n\n step_cmd = info.pydev_step_cmd\n if step_cmd == -1:\n return\n\n if info.suspend_type != PYTHON_SUSPEND:\n # Plugin stepping\n if func_code_info.plugin_return_stepping:\n _plugin_stepping(py_db, step_cmd, "return", frame, thread_info)\n return\n \n if info.pydev_state == STATE_SUSPEND:\n # We're already suspended, don't handle any more events on this thread.\n _do_wait_suspend(py_db, thread_info, frame, "return", None)\n return\n \n # Python line stepping\n stop_frame = info.pydev_step_stop\n if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE):\n force_check_project_scope = step_cmd == CMD_STEP_INTO_MY_CODE\n if frame.f_back is not None and not info.pydev_use_scoped_step_frame:\n back_func_code_info = _get_func_code_info(frame.f_back.f_code, frame.f_back)\n if (\n # Not filtered out.\n not back_func_code_info.always_skip_code\n and not back_func_code_info.always_filtered_out\n and not (force_check_project_scope and back_func_code_info.filtered_out_force_checked)\n # Prevent stopping in a return to the same location we were initially\n # (i.e.: double-stop at the same place due to some filtering).\n and info.step_in_initial_location != (frame.f_back, frame.f_back.f_lineno)\n ):\n if py_db.show_return_values:\n _show_return_values(frame, retval)\n\n _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval)\n return\n\n if step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and _is_same_frame(info, stop_frame, frame):\n if py_db.show_return_values:\n _show_return_values(frame, retval)\n\n _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval)\n return\n\n elif (\n step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE)\n and not info.pydev_use_scoped_step_frame\n and _is_same_frame(info, stop_frame, frame)\n ):\n # This isn't in the sys.settrace version: on a step over, if we return and the return is valid, show\n # as a step return instead of going back to step into mode (but if the back frame is not valid, then\n # go to step into mode).\n f_back = frame.f_back\n if f_back is not None:\n back_func_code_info = _get_func_code_info(f_back.f_code, 2)\n force_check_project_scope = step_cmd == CMD_STEP_OVER_MY_CODE\n\n if (\n back_func_code_info is not None\n and not back_func_code_info.always_skip_code\n and not back_func_code_info.always_filtered_out\n and not (force_check_project_scope and back_func_code_info.filtered_out_force_checked)\n ):\n if py_db.show_return_values:\n _show_return_values(frame, retval)\n\n _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval)\n return\n\n elif step_cmd == CMD_SMART_STEP_INTO:\n if _is_same_frame(info, stop_frame, frame):\n # We're exiting the smart step into initial frame (so, we probably didn't find our target).\n if py_db.show_return_values:\n _show_return_values(frame, retval)\n\n _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval)\n return\n\n if py_db.show_return_values:\n if (\n (\n info.pydev_step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE, CMD_SMART_STEP_INTO)\n and (_is_same_frame(info, stop_frame, frame.f_back))\n )\n or (info.pydev_step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and (info, _is_same_frame(info, stop_frame, frame)))\n or (info.pydev_step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_COROUTINE))\n or (\n info.pydev_step_cmd == CMD_STEP_INTO_MY_CODE\n and frame.f_back is not None\n and not py_db.apply_files_filter(frame.f_back, frame.f_back.f_code.co_filename, True)\n )\n ):\n _show_return_values(frame, retval)\n\n if step_cmd in (CMD_STEP_OVER, CMD_STEP_RETURN, CMD_STEP_OVER_MY_CODE, CMD_STEP_RETURN_MY_CODE, CMD_SMART_STEP_INTO):\n # If we are in single step mode and something causes us to exit the current frame, we need to make sure we break\n # eventually. Force the step mode to step into and the step stop frame to None.\n # I.e.: F6 in the end of a function should stop in the next possible position (instead of forcing the user\n # to make a step in or step over at that location).\n # Note: this is especially troublesome when we're skipping code with the\n # @DontTrace comment.\n stop_frame = info.pydev_step_stop\n if stop_frame is frame and not info.pydev_use_scoped_step_frame:\n if step_cmd in (CMD_STEP_OVER, CMD_STEP_RETURN, CMD_SMART_STEP_INTO):\n info.pydev_step_cmd = CMD_STEP_INTO\n else:\n info.pydev_step_cmd = CMD_STEP_INTO_MY_CODE\n info.pydev_step_stop = None\n _enable_code_tracing_for_frame_and_parents(thread_info, stop_frame.f_back)\n if py_db.show_return_values:\n _show_return_values(frame, retval)\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _enable_code_tracing_for_frame_and_parents(ThreadInfo thread_info, frame):\n cdef FuncCodeInfo func_code_info\n# ELSE\n# def _enable_code_tracing_for_frame_and_parents(thread_info, frame):\n# ENDIF\n# fmt: on\n py_db: object = GlobalDebuggerHolder.global_dbg\n if py_db is None or py_db.pydb_disposed:\n return\n\n while frame is not None:\n func_code_info: FuncCodeInfo = _get_func_code_info(frame.f_code, frame)\n if func_code_info.always_skip_code:\n frame = frame.f_back\n continue\n\n _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, frame.f_code, frame, False)\n frame = frame.f_back\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _stop_on_return(py_db, ThreadInfo thread_info, PyDBAdditionalThreadInfo info, int step_cmd, frame, retval):\n# ELSE\n# def _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval):\n# ENDIF\n# fmt: on\n back = frame.f_back\n if back is not None:\n # When we get to the pydevd run function, the debugging has actually finished for the main thread\n # (note that it can still go on for other threads, but for this one, we just make it finish)\n # So, just setting it to None should be OK\n back_absolute_filename, _, base = get_abs_path_real_path_and_base_from_frame(back)\n if (base, back.f_code.co_name) in (DEBUG_START, DEBUG_START_PY3K):\n back = None\n\n elif base == TRACE_PROPERTY:\n # We dont want to trace the return event of pydevd_traceproperty (custom property for debugging)\n # if we're in a return, we want it to appear to the user in the previous frame!\n return\n\n elif pydevd_dont_trace.should_trace_hook is not None:\n if not pydevd_dont_trace.should_trace_hook(back.f_code, back_absolute_filename):\n # In this case, we'll have to skip the previous one because it shouldn't be traced.\n # Also, we have to reset the tracing, because if the parent's parent (or some\n # other parent) has to be traced and it's not currently, we wouldn't stop where\n # we should anymore (so, a step in/over/return may not stop anywhere if no parent is traced).\n # Related test: _debugger_case17a.py\n py_db.set_trace_for_frame_and_parents(thread_info.thread_ident, back)\n return\n\n if back is not None:\n # if we're in a return, we want it to appear to the user in the previous frame!\n py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd)\n _do_wait_suspend(py_db, thread_info, back, "return", retval)\n else:\n # in jython we may not have a back frame\n info.pydev_step_stop = None\n info.pydev_original_step_cmd = -1\n info.pydev_step_cmd = -1\n info.pydev_state = STATE_RUN\n info.update_stepping_info()\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _stop_on_breakpoint(py_db, ThreadInfo thread_info, int stop_reason, bp, frame, new_frame, bint stop, bint stop_on_plugin_breakpoint, str bp_type):\n cdef PyDBAdditionalThreadInfo additional_info\n# ELSE\n# def _stop_on_breakpoint(\n# py_db, thread_info: ThreadInfo, stop_reason: int, bp, frame, new_frame, stop: bool, stop_on_plugin_breakpoint: bool, bp_type: str\n# ):\n# ENDIF\n# fmt: on\n """\n :param bp: the breakpoint hit (additional conditions will be checked now).\n :param frame: the actual frame\n :param new_frame: either the actual frame or the frame provided by the plugins.\n :param stop: whether we should do a regular line breakpoint.\n :param stop_on_plugin_breakpoint: whether we should stop in a plugin breakpoint.\n\n :return:\n True if the breakpoint was suspended inside this function and False otherwise.\n Note that even if False is returned, it's still possible\n """\n additional_info = thread_info.additional_info\n # ok, hit breakpoint, now, we have to discover if it is a conditional breakpoint\n # lets do the conditional stuff here\n if bp.expression is not None:\n # If it has an expression, it's always handled even if we don't stop.\n py_db.handle_breakpoint_expression(bp, additional_info, new_frame)\n\n if stop or stop_on_plugin_breakpoint:\n if bp.has_condition:\n eval_result = py_db.handle_breakpoint_condition(additional_info, bp, new_frame)\n if not eval_result:\n stop = False\n stop_on_plugin_breakpoint = False\n\n # Handle logpoint (on a logpoint we should never stop).\n if (stop or stop_on_plugin_breakpoint) and bp.is_logpoint:\n stop = False\n stop_on_plugin_breakpoint = False\n\n if additional_info.pydev_message is not None and len(additional_info.pydev_message) > 0:\n cmd = py_db.cmd_factory.make_io_message(additional_info.pydev_message + os.linesep, "1")\n py_db.writer.add_command(cmd)\n\n if stop:\n py_db.set_suspend(\n thread_info.thread,\n stop_reason,\n suspend_other_threads=bp and bp.suspend_policy == "ALL",\n )\n # print('suspend on breakpoint...')\n _do_wait_suspend(py_db, thread_info, frame, "line", None)\n return True\n\n elif stop_on_plugin_breakpoint:\n stop_at_frame = py_db.plugin.suspend(py_db, thread_info.thread, frame, bp_type)\n if stop_at_frame and thread_info.additional_info.pydev_state == STATE_SUSPEND:\n _do_wait_suspend(py_db, thread_info, stop_at_frame, "line", None)\n return\n\n return False\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _plugin_stepping(py_db, int step_cmd, event, frame, ThreadInfo thread_info):\n cdef bint stop\n cdef dict stop_info\n# ELSE\n# def _plugin_stepping(py_db, step_cmd, event, frame, thread_info):\n# ENDIF\n# fmt: on\n plugin_manager = py_db.plugin\n # Step return makes no sense for plugins (I guess?!?), so, just handle as step into.\n if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO) or step_cmd in (\n CMD_STEP_RETURN,\n CMD_STEP_RETURN_MY_CODE,\n ):\n stop_info = {}\n stop = False\n result = plugin_manager.cmd_step_into(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop)\n if result:\n stop, plugin_stop = result\n if plugin_stop:\n plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd)\n return\n\n elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE):\n if plugin_manager is not None:\n stop_info = {}\n stop = False\n result = plugin_manager.cmd_step_over(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop)\n if result:\n stop, plugin_stop = result\n if plugin_stop:\n plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd)\n return\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _jump_event(code, int from_offset, int to_offset):\n cdef ThreadInfo thread_info\n cdef FuncCodeInfo func_code_info\n cdef int from_line\n cdef int to_line\n# ELSE\n# def _jump_event(code, from_offset, to_offset):\n# ENDIF\n# fmt: on\n # A bunch of things have to be repeated especially because in the sys.monitoring\n # everything is global, yet, when we start tracing something for stepping that\n # needs to be per-thread.\n try:\n thread_info = _thread_local_info.thread_info\n except:\n thread_info = _get_thread_info(True, 1)\n if thread_info is None:\n return\n\n py_db: object = GlobalDebuggerHolder.global_dbg\n if py_db is None or py_db.pydb_disposed:\n return monitor.DISABLE\n\n # If we get another jump event, remove the extra check for the line event\n if hasattr(_thread_local_info, "f_disable_next_line_if_match"):\n del _thread_local_info.f_disable_next_line_if_match\n\n if not thread_info.trace or not thread_info.is_thread_alive():\n # For thread-related stuff we can't disable the code tracing because other\n # threads may still want it...\n return\n\n func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)\n if func_code_info.always_skip_code or func_code_info.always_filtered_out:\n return monitor.DISABLE\n\n # Same logic as "sys_trace_jump_func" in https://github.com/python/cpython/blob/main/Python/legacy_tracing.c\n\n # Ignore forward jump.\n # print('jump event', code.co_name, 'from offset', from_offset, 'to offset', to_offset)\n if to_offset > from_offset:\n return monitor.DISABLE\n\n from_line = func_code_info.get_line_of_offset(from_offset or 0)\n to_line = func_code_info.get_line_of_offset(to_offset or 0)\n\n if from_line != to_line:\n # I.e.: use case: "yield from [j for j in a if j % 2 == 0]"\n return monitor.DISABLE\n\n # We know the frame depth.\n frame = _getframe(1)\n\n # Disable the next line event as we're jumping to a line. The line event will be redundant.\n _thread_local_info.f_disable_next_line_if_match = (func_code_info.co_filename, frame.f_lineno)\n # pydev_log.debug('_jump_event', code.co_name, 'from line', from_line, 'to line', frame.f_lineno)\n\n return _internal_line_event(func_code_info, frame, frame.f_lineno)\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _line_event(code, int line):\n cdef ThreadInfo thread_info\n cdef FuncCodeInfo func_code_info\n# ELSE\n# def _line_event(code, line):\n# ENDIF\n# fmt: on\n\n # A bunch of things have to be repeated especially because in the sys.monitoring\n # everything is global, yet, when we start tracing something for stepping that\n # needs to be per-thread.\n try:\n thread_info = _thread_local_info.thread_info\n except:\n thread_info = _get_thread_info(True, 1)\n if thread_info is None:\n return\n\n py_db: object = GlobalDebuggerHolder.global_dbg\n if py_db is None or py_db.pydb_disposed:\n return monitor.DISABLE\n\n # If we get another line event, remove the extra check for the line event\n if hasattr(_thread_local_info, "f_disable_next_line_if_match"):\n (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match\n del _thread_local_info.f_disable_next_line_if_match\n if line_to_skip is line and co_filename == code.co_filename:\n # The last jump already jumped to this line and we haven't had any\n # line events or jumps since then. We don't want to consider this line twice\n # pydev_log.debug('_line_event skipped', line)\n return\n\n if not thread_info.trace or not thread_info.is_thread_alive():\n # For thread-related stuff we can't disable the code tracing because other\n # threads may still want it...\n return\n \n func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)\n if func_code_info.always_skip_code or func_code_info.always_filtered_out:\n return monitor.DISABLE\n\n # pydev_log.debug('_line_event', code.co_name, line)\n\n # We know the frame depth.\n frame = _getframe(1)\n return _internal_line_event(func_code_info, frame, line)\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _internal_line_event(FuncCodeInfo func_code_info, frame, int line):\n cdef ThreadInfo thread_info\n cdef PyDBAdditionalThreadInfo info\n cdef int step_cmd\n cdef bint stop\n cdef bint stop_on_plugin_breakpoint\n cdef int stop_reason\n cdef bint force_check_project_scope\n# ELSE\n# def _internal_line_event(func_code_info, frame, line):\n# ENDIF\n# fmt: on\n py_db: object = GlobalDebuggerHolder.global_dbg\n thread_info = _thread_local_info.thread_info\n info = thread_info.additional_info\n\n step_cmd = info.pydev_step_cmd\n\n # print('line event', info, id(info), thread_info.thread.name)\n # print('line event', info.pydev_state, line, threading.current_thread(), code)\n # If we reached here, it was not filtered out.\n\n if func_code_info.breakpoint_found:\n bp = None\n stop = False\n stop_on_plugin_breakpoint = False\n\n stop_info = {}\n stop_reason = CMD_SET_BREAK\n bp_type = None\n\n bp = func_code_info.bp_line_to_breakpoint.get(line)\n if bp is not None:\n new_frame = frame\n stop = True\n\n if bp:\n if _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-line"):\n return\n\n if func_code_info.plugin_line_breakpoint_found:\n result = py_db.plugin.get_breakpoint(py_db, frame, "line", info)\n if result:\n stop_reason = CMD_SET_BREAK\n stop = False\n stop_on_plugin_breakpoint = True\n bp, new_frame, bp_type = result\n _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, bp_type)\n return\n\n if info.pydev_state == STATE_SUSPEND:\n # Note: it's possible that it was suspended with a pause (and we'd stop here too).\n # print('suspend (pause)...')\n _do_wait_suspend(py_db, thread_info, frame, "line", None)\n return\n\n # Ok, did not suspend due to a breakpoint, let's see if we're stepping.\n stop_frame = info.pydev_step_stop\n if step_cmd == -1:\n if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found or any_thread_stepping():\n return None\n\n return monitor.DISABLE\n\n if info.suspend_type != PYTHON_SUSPEND:\n # Plugin stepping\n if func_code_info.plugin_line_stepping:\n _plugin_stepping(py_db, step_cmd, "line", frame, thread_info)\n return\n\n # Python stepping now\n if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE):\n force_check_project_scope = step_cmd == CMD_STEP_INTO_MY_CODE\n if not info.pydev_use_scoped_step_frame:\n if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked):\n return\n\n py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd)\n _do_wait_suspend(py_db, thread_info, frame, "line", None)\n return\n else:\n # Make sure we check the filtering inside ipython calls too...\n if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked):\n return\n\n stop = False\n # We can only stop inside the ipython call.\n filename = frame.f_code.co_filename\n if filename.endswith(".pyc"):\n filename = filename[:-1]\n\n if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]):\n f = frame.f_back\n while f is not None:\n if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]:\n f2 = f.f_back\n if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]:\n pydev_log.debug("Stop inside ipython call")\n py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd)\n thread_info.additional_info.trace_suspend_type = "sys_monitor"\n _do_wait_suspend(py_db, thread_info, frame, "line", None)\n break\n f = f.f_back\n\n del f\n\n # In scoped mode if step in didn't work in this context it won't work\n # afterwards anyways.\n return\n\n elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE):\n # Note: when dealing with a step over my code it's the same as a step over (the\n # difference is that when we return from a frame in one we go to regular step\n # into and in the other we go to a step into my code).\n if _is_same_frame(info, stop_frame, frame):\n py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd)\n _do_wait_suspend(py_db, thread_info, frame, "line", None)\n return\n\n elif step_cmd == CMD_SMART_STEP_INTO:\n stop = False\n back = frame.f_back\n if _is_same_frame(info, stop_frame, back):\n if info.pydev_smart_child_offset != -1:\n # i.e.: in this case, we're not interested in the pause in the parent, rather\n # we're interested in the pause in the child (when the parent is at the proper place).\n stop = False\n\n else:\n pydev_smart_parent_offset = info.pydev_smart_parent_offset\n\n pydev_smart_step_into_variants = info.pydev_smart_step_into_variants\n if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants:\n # Preferred mode (when the smart step into variants are available\n # and the offset is set).\n stop = get_smart_step_into_variant_from_frame_offset(\n back.f_lasti, pydev_smart_step_into_variants\n ) is get_smart_step_into_variant_from_frame_offset(pydev_smart_parent_offset, pydev_smart_step_into_variants)\n\n else:\n # Only the name/line is available, so, check that.\n curr_func_name = frame.f_code.co_name\n\n # global context is set with an empty name\n if curr_func_name in ("?", "<module>") or curr_func_name is None:\n curr_func_name = ""\n if curr_func_name == info.pydev_func_name and stop_frame.f_lineno == info.pydev_next_line:\n stop = True\n\n if not stop:\n # In smart step into, if we didn't hit it in this frame once, that'll\n # not be the case next time either, so, disable tracing for this frame.\n return\n\n elif back is not None and _is_same_frame(info, stop_frame, back.f_back):\n # Ok, we have to track 2 stops at this point, the parent and the child offset.\n # This happens when handling a step into which targets a function inside a list comprehension\n # or generator (in which case an intermediary frame is created due to an internal function call).\n pydev_smart_parent_offset = info.pydev_smart_parent_offset\n pydev_smart_child_offset = info.pydev_smart_child_offset\n # print('matched back frame', pydev_smart_parent_offset, pydev_smart_child_offset)\n # print('parent f_lasti', back.f_back.f_lasti)\n # print('child f_lasti', back.f_lasti)\n stop = False\n if pydev_smart_child_offset >= 0 and pydev_smart_child_offset >= 0:\n pydev_smart_step_into_variants = info.pydev_smart_step_into_variants\n\n if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants:\n # Note that we don't really check the parent offset, only the offset of\n # the child (because this is a generator, the parent may have moved forward\n # already -- and that's ok, so, we just check that the parent frame\n # matches in this case).\n smart_step_into_variant = get_smart_step_into_variant_from_frame_offset(\n pydev_smart_parent_offset, pydev_smart_step_into_variants\n )\n # print('matched parent offset', pydev_smart_parent_offset)\n # Ok, now, check the child variant\n children_variants = smart_step_into_variant.children_variants\n stop = children_variants and (\n get_smart_step_into_variant_from_frame_offset(back.f_lasti, children_variants)\n is get_smart_step_into_variant_from_frame_offset(pydev_smart_child_offset, children_variants)\n )\n # print('stop at child', stop)\n\n if not stop:\n # In smart step into, if we didn't hit it in this frame once, that'll\n # not be the case next time either, so, disable tracing for this frame.\n return\n\n if stop:\n py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd)\n _do_wait_suspend(py_db, thread_info, frame, "line", None)\n return\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _start_method_event(code, instruction_offset):\n cdef ThreadInfo thread_info\n cdef FuncCodeInfo func_code_info\n cdef bint stop\n cdef int stop_reason\n cdef bint stop_on_plugin_breakpoint\n cdef PyDBAdditionalThreadInfo info\n cdef int step_cmd\n cdef bint code_tracing_added\n# ELSE\n# def _start_method_event(code, instruction_offset):\n# ENDIF\n# fmt: on\n try:\n thread_info = _thread_local_info.thread_info\n except:\n thread_info = _get_thread_info(True, 1)\n if thread_info is None:\n return\n\n py_db: object = GlobalDebuggerHolder.global_dbg\n if py_db is None or py_db.pydb_disposed:\n return monitor.DISABLE\n\n if not thread_info.trace or not thread_info.is_thread_alive():\n # For thread-related stuff we can't disable the code tracing because other\n # threads may still want it...\n return\n\n frame = _getframe(1)\n func_code_info = _get_func_code_info(code, frame)\n if func_code_info.always_skip_code:\n # if DEBUG:\n # print('disable (always skip)')\n return monitor.DISABLE\n\n keep_enabled: bool = _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, code, frame, True)\n\n if func_code_info.function_breakpoint_found:\n bp = func_code_info.function_breakpoint\n stop = True\n new_frame = frame\n stop_reason = CMD_SET_FUNCTION_BREAK\n stop_on_plugin_breakpoint = False\n\n _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-function")\n return\n\n if py_db.plugin:\n plugin_manager = py_db.plugin\n\n # Check breaking on breakpoints in a 'call'\n info = thread_info.additional_info\n if func_code_info.plugin_call_breakpoint_found:\n result = plugin_manager.get_breakpoint(py_db, frame, "call", info)\n if result:\n stop_reason = CMD_SET_BREAK\n stop = False\n stop_on_plugin_breakpoint = True\n bp, new_frame, bp_type = result\n _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, bp_type)\n return\n\n keep_enabled = True\n\n # Check breaking on line stepping in a 'call'\n step_cmd = info.pydev_step_cmd\n if step_cmd != -1 and func_code_info.plugin_call_stepping and info.suspend_type != PYTHON_SUSPEND:\n _plugin_stepping(py_db, step_cmd, "call", frame, thread_info)\n return\n\n if keep_enabled or any_thread_stepping():\n return None\n\n return monitor.DISABLE\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncpdef _ensure_monitoring():\n# ELSE\n# def _ensure_monitoring():\n# ENDIF\n# fmt: on\n DEBUGGER_ID = monitor.DEBUGGER_ID\n if not monitor.get_tool(DEBUGGER_ID):\n monitor.use_tool_id(DEBUGGER_ID, "pydevd")\n update_monitor_events()\n restart_events()\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncpdef start_monitoring(bint all_threads=False):\n cdef ThreadInfo thread_info\n# ELSE\n# def start_monitoring(all_threads=False):\n# ENDIF\n# fmt: on\n if all_threads:\n # print('start monitoring, all_threads=', all_threads)\n DEBUGGER_ID = monitor.DEBUGGER_ID\n if not monitor.get_tool(DEBUGGER_ID):\n monitor.use_tool_id(DEBUGGER_ID, "pydevd")\n update_monitor_events()\n restart_events()\n else:\n try:\n thread_info = _thread_local_info.thread_info\n except:\n # code=None means we can already get the threading.current_thread.\n thread_info = _get_thread_info(True, 1)\n if thread_info is None:\n # print('start monitoring, thread=', None)\n return\n # print('start monitoring, thread=', thread_info.thread)\n thread_info.trace = True\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncpdef stop_monitoring(all_threads=False):\n cdef ThreadInfo thread_info\n# ELSE\n# def stop_monitoring(all_threads=False):\n# ENDIF\n# fmt: on\n if all_threads:\n # print('stop monitoring, all_threads=', all_threads)\n if monitor.get_tool(monitor.DEBUGGER_ID) == "pydevd":\n monitor.set_events(monitor.DEBUGGER_ID, 0)\n monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None)\n monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None)\n monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None)\n monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None)\n monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None)\n monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None)\n monitor.free_tool_id(monitor.DEBUGGER_ID)\n else:\n try:\n thread_info = _thread_local_info.thread_info\n except:\n thread_info = _get_thread_info(False, 1)\n if thread_info is None:\n return\n # print('stop monitoring, thread=', thread_info.thread)\n thread_info.trace = False\n\n\ndef update_monitor_events(suspend_requested: Optional[bool]=None) -> None:\n """\n This should be called when breakpoints change.\n\n :param suspend: means the user requested threads to be suspended\n """\n if monitor.get_tool(monitor.DEBUGGER_ID) != "pydevd":\n # It is still not initialized.\n return\n\n # When breakpoints change we need to update what we want to track based\n # on the breakpoints.\n py_db = GlobalDebuggerHolder.global_dbg\n if py_db is None:\n return\n\n if suspend_requested is None:\n suspend_requested = False\n\n for t in threading.enumerate():\n if getattr(t, "pydev_do_not_trace", False):\n continue\n try:\n additional_info = t.additional_info\n if additional_info is None:\n # i.e.: if we don't have it then it makes no sense to check if it was suspended or is stepping\n continue\n except AttributeError:\n continue\n if additional_info.pydev_step_cmd != -1 or additional_info.pydev_state == 2:\n suspend_requested = True\n break\n\n required_events = 0\n\n has_caught_exception_breakpoint_in_pydb = (\n py_db.break_on_caught_exceptions or py_db.break_on_user_uncaught_exceptions or py_db.has_plugin_exception_breaks\n )\n\n break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions\n\n if has_caught_exception_breakpoint_in_pydb:\n required_events |= monitor.events.RAISE | monitor.events.PY_UNWIND\n # print('track RAISE')\n monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, _raise_event)\n monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event)\n else:\n if break_on_uncaught_exceptions:\n required_events |= monitor.events.PY_UNWIND\n monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event)\n else:\n monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None)\n monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, None)\n\n has_breaks = py_db.has_plugin_line_breaks\n if not has_breaks:\n if py_db.function_breakpoint_name_to_breakpoint:\n has_breaks = True\n else:\n file_to_line_to_breakpoints = py_db.breakpoints\n for line_to_breakpoints in file_to_line_to_breakpoints.values():\n if line_to_breakpoints:\n has_breaks = True\n break\n\n if has_breaks or suspend_requested:\n # print('track PY_START|PY_RESUME, suspend_requested=', suspend_requested)\n required_events |= monitor.events.PY_START | monitor.events.PY_RESUME\n\n monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, _start_method_event)\n # monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, _resume_method_event)\n monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, _line_event)\n if not IS_PY313_OR_GREATER:\n # In Python 3.13+ jump_events aren't necessary as we have a line_event for every\n # jump location. \n monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, _jump_event)\n monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, _return_event)\n\n else:\n monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None)\n monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None)\n monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None)\n monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None)\n monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None)\n\n monitor.set_events(DEBUGGER_ID, required_events)\n\n\ndef restart_events() -> None:\n # Note: if breakpoints change, update_monitor_events usually needs to be\n # called first, then the line event tracing must be set for existing frames\n # and then this function must be called at the end.\n monitor.restart_events()\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ncdef _is_same_frame(PyDBAdditionalThreadInfo info, target_frame, current_frame):\n# ELSE\n# def _is_same_frame(info, target_frame, current_frame):\n# ENDIF\n# fmt: on\n if target_frame is current_frame:\n return True\n\n if info.pydev_use_scoped_step_frame:\n # If using scoped step we don't check the target, we just need to check\n # if the current matches the same heuristic where the target was defined.\n if target_frame is not None and current_frame is not None:\n if target_frame.f_code.co_filename == current_frame.f_code.co_filename:\n # The co_name may be different (it may include the line number), but\n # the filename must still be the same.\n f = current_frame.f_back\n if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]:\n f = f.f_back\n if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]:\n return True\n\n return False\n\n\n# fmt: off\n# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)\ndef _do_wait_suspend(py_db, ThreadInfo thread_info, frame, event, arg):\n# ELSE\n# def _do_wait_suspend(py_db, thread_info, frame, event, arg):\n# ENDIF\n# fmt: on\n thread_info.additional_info.trace_suspend_type = "sys_monitor"\n py_db.do_wait_suspend(thread_info.thread, frame, event, arg)\n\n# This can be used to diagnose exceptions inside of the debugger itself.\n#\n# import types\n# import functools\n#\n#\n# def safe_func(method):\n#\n# @functools.wraps(method)\n# def new_method(*args, **kwargs):\n# try:\n# return method(*args, **kwargs)\n# except:\n# import traceback;traceback.print_exc()\n# raise\n#\n# return new_method\n#\n#\n# for name, obj in list(globals().items()):\n# if name.endswith('_event'):\n# if isinstance(obj, types.FunctionType):\n# globals()[name] = safe_func(obj)\n#\n#\n# def _getframe(depth):\n# return sys._getframe(depth + 1)\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydevd_sys_monitoring\_pydevd_sys_monitoring_cython.pyx
_pydevd_sys_monitoring_cython.pyx
Other
77,973
0.75
0.192113
0.312799
react-lib
122
2025-01-28T09:42:03.729301
MIT
false
695d651c6335957bdaa3ec1bb15781ab
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydevd_sys_monitoring\__pycache__\pydevd_sys_monitoring.cpython-313.pyc
pydevd_sys_monitoring.cpython-313.pyc
Other
641
0.7
0
0
awesome-app
466
2025-03-05T02:53:38.650676
BSD-3-Clause
false
7c5d6057395b902688008698e7619197
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydevd_sys_monitoring\__pycache__\_pydevd_sys_monitoring.cpython-313.pyc
_pydevd_sys_monitoring.cpython-313.pyc
Other
54,822
0.95
0.041558
0.005405
python-kit
609
2025-04-18T01:26:16.867926
Apache-2.0
false
e1689b44b22e96c3f392d1b1d1e5d904
from _pydev_bundle._pydev_saved_modules import xmlrpclib\nfrom _pydev_bundle._pydev_saved_modules import xmlrpcserver\n\nSimpleXMLRPCServer = xmlrpcserver.SimpleXMLRPCServer\n\nfrom _pydev_bundle._pydev_execfile import execfile\n\nfrom _pydev_bundle._pydev_saved_modules import _queue\n\nfrom _pydevd_bundle.pydevd_exec2 import Exec\n\nfrom urllib.parse import quote, quote_plus, unquote_plus # @UnresolvedImport\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\pydev_imports.py
pydev_imports.py
Python
415
0.95
0
0
awesome-app
691
2025-07-05T12:27:19.287558
BSD-3-Clause
false
5d3f52da42e4d034162c40be9ddfb05c
import sys\nimport traceback\nfrom types import ModuleType\nfrom _pydevd_bundle.pydevd_constants import DebugInfoHolder\n\nimport builtins\n\n\nclass ImportHookManager(ModuleType):\n def __init__(self, name, system_import):\n ModuleType.__init__(self, name)\n self._system_import = system_import\n self._modules_to_patch = {}\n\n def add_module_name(self, module_name, activate_function):\n self._modules_to_patch[module_name] = activate_function\n\n def do_import(self, name, *args, **kwargs):\n module = self._system_import(name, *args, **kwargs)\n try:\n activate_func = self._modules_to_patch.pop(name, None)\n if activate_func:\n activate_func() # call activate function\n except:\n if DebugInfoHolder.DEBUG_TRACE_LEVEL >= 2:\n traceback.print_exc()\n\n # Restore normal system importer to reduce performance impact\n # of calling this method every time an import statement is invoked\n if not self._modules_to_patch:\n builtins.__import__ = self._system_import\n\n return module\n\n\nimport_hook_manager = ImportHookManager(__name__ + ".import_hook", builtins.__import__)\nbuiltins.__import__ = import_hook_manager.do_import\nsys.modules[import_hook_manager.__name__] = import_hook_manager\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\pydev_import_hook.py
pydev_import_hook.py
Python
1,358
0.95
0.236842
0.068966
vue-tools
326
2023-12-05T20:19:14.675266
Apache-2.0
false
7069f7f8835ac7fee5fd615d89b2af62
from _pydev_bundle._pydev_saved_modules import threading\n\n# Hack for https://www.brainwy.com/tracker/PyDev/363 (i.e.: calling is_alive() can throw AssertionError under some\n# circumstances).\n# It is required to debug threads started by start_new_thread in Python 3.4\n_temp = threading.Thread()\n\nif hasattr(_temp, "_handle") and hasattr(_temp, "_started"): # Python 3.13 and later has this\n\n def is_thread_alive(t):\n return not t._handle.is_done()\n\n\nelif hasattr(_temp, "_is_stopped"): # Python 3.12 and earlier has this\n\n def is_thread_alive(t):\n return not t._is_stopped\n\nelif hasattr(_temp, "_Thread__stopped"): # Python 2.x has this\n\n def is_thread_alive(t):\n return not t._Thread__stopped\n\nelse:\n # Jython wraps a native java thread and thus only obeys the public API.\n def is_thread_alive(t):\n return t.is_alive()\n\n\ndel _temp\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\pydev_is_thread_alive.py
pydev_is_thread_alive.py
Python
907
0.95
0.2
0.210526
react-lib
951
2025-05-13T08:39:47.465493
BSD-3-Clause
false
dffdf56faac66ccbbddd777988e54ff3
from _pydev_bundle._pydev_saved_modules import socket\nimport sys\n\nIS_JYTHON = sys.platform.find("java") != -1\n\n_cache = None\n\n\ndef get_localhost():\n """\n Should return 127.0.0.1 in ipv4 and ::1 in ipv6\n\n localhost is not used because on windows vista/windows 7, there can be issues where the resolving doesn't work\n properly and takes a lot of time (had this issue on the pyunit server).\n\n Using the IP directly solves the problem.\n """\n # TODO: Needs better investigation!\n\n global _cache\n if _cache is None:\n try:\n for addr_info in socket.getaddrinfo("localhost", 80, 0, 0, socket.SOL_TCP):\n config = addr_info[4]\n if config[0] == "127.0.0.1":\n _cache = "127.0.0.1"\n return _cache\n except:\n # Ok, some versions of Python don't have getaddrinfo or SOL_TCP... Just consider it 127.0.0.1 in this case.\n _cache = "127.0.0.1"\n else:\n _cache = "localhost"\n\n return _cache\n\n\ndef get_socket_names(n_sockets, close=False):\n socket_names = []\n sockets = []\n for _ in range(n_sockets):\n if IS_JYTHON:\n # Although the option which would be pure java *should* work for Jython, the socket being returned is still 0\n # (i.e.: it doesn't give the local port bound, only the original port, which was 0).\n from java.net import ServerSocket\n\n sock = ServerSocket(0)\n socket_name = get_localhost(), sock.getLocalPort()\n else:\n sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)\n sock.bind((get_localhost(), 0))\n socket_name = sock.getsockname()\n\n sockets.append(sock)\n socket_names.append(socket_name)\n\n if close:\n for s in sockets:\n s.close()\n return socket_names\n\n\ndef get_socket_name(close=False):\n return get_socket_names(1, close)[0]\n\n\nif __name__ == "__main__":\n print(get_socket_name())\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\pydev_localhost.py
pydev_localhost.py
Python
2,139
0.95
0.191176
0.078431
node-utils
5
2024-06-25T20:07:41.034761
BSD-3-Clause
false
7e21490e9a877fb724ee0d0492933ef4
def overrides(method):\n """\n Meant to be used as\n\n class B:\n @overrides(A.m1)\n def m1(self):\n pass\n """\n\n def wrapper(func):\n if func.__name__ != method.__name__:\n msg = "Wrong @override: %r expected, but overwriting %r."\n msg = msg % (func.__name__, method.__name__)\n raise AssertionError(msg)\n\n if func.__doc__ is None:\n func.__doc__ = method.__doc__\n\n return func\n\n return wrapper\n\n\ndef implements(method):\n def wrapper(func):\n if func.__name__ != method.__name__:\n msg = "Wrong @implements: %r expected, but implementing %r."\n msg = msg % (func.__name__, method.__name__)\n raise AssertionError(msg)\n\n if func.__doc__ is None:\n func.__doc__ = method.__doc__\n\n return func\n\n return wrapper\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\pydev_override.py
pydev_override.py
Python
908
0.85
0.27027
0
vue-tools
749
2024-07-24T23:18:09.821743
BSD-3-Clause
false
6a907cb16a3821a627ef038337dafc52
import sys\n\n\ndef versionok_for_gui():\n """Return True if running Python is suitable for GUI Event Integration and deeper IPython integration"""\n # We require Python 2.6+ ...\n if sys.hexversion < 0x02060000:\n return False\n # Or Python 3.2+\n if sys.hexversion >= 0x03000000 and sys.hexversion < 0x03020000:\n return False\n # Not supported under Jython nor IronPython\n if sys.platform.startswith("java") or sys.platform.startswith("cli"):\n return False\n\n return True\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\pydev_versioncheck.py
pydev_versioncheck.py
Python
524
0.95
0.375
0.230769
python-kit
186
2025-04-23T16:08:45.325103
MIT
false
81f6adebf4128a0ccd1c1bf85d3f1cbc
import sys\n\n\ndef __getfilesystemencoding():\n """\n Note: there's a copy of this method in interpreterInfo.py\n """\n try:\n ret = sys.getfilesystemencoding()\n if not ret:\n raise RuntimeError("Unable to get encoding.")\n return ret\n except:\n try:\n # Handle Jython\n from java.lang import System # @UnresolvedImport\n\n env = System.getProperty("os.name").lower()\n if env.find("win") != -1:\n return "ISO-8859-1" # mbcs does not work on Jython, so, use a (hopefully) suitable replacement\n return "utf-8"\n except:\n pass\n\n # Only available from 2.3 onwards.\n if sys.platform == "win32":\n return "mbcs"\n return "utf-8"\n\n\ndef getfilesystemencoding():\n try:\n ret = __getfilesystemencoding()\n\n # Check if the encoding is actually there to be used!\n if hasattr("", "encode"):\n "".encode(ret)\n if hasattr("", "decode"):\n "".decode(ret)\n\n return ret\n except:\n return "utf-8"\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_filesystem_encoding.py
_pydev_filesystem_encoding.py
Python
1,144
0.95
0.255814
0.085714
awesome-app
206
2023-11-30T05:26:15.708813
BSD-3-Clause
false
16d1f8f744d5bf76c8bdc06988caaaed
# =======================================================================================================================\n# getopt code copied since gnu_getopt is not available on jython 2.1\n# =======================================================================================================================\nclass GetoptError(Exception):\n opt = ""\n msg = ""\n\n def __init__(self, msg, opt=""):\n self.msg = msg\n self.opt = opt\n Exception.__init__(self, msg, opt)\n\n def __str__(self):\n return self.msg\n\n\ndef gnu_getopt(args, shortopts, longopts=[]):\n """getopt(args, options[, long_options]) -> opts, args\n\n This function works like getopt(), except that GNU style scanning\n mode is used by default. This means that option and non-option\n arguments may be intermixed. The getopt() function stops\n processing options as soon as a non-option argument is\n encountered.\n\n If the first character of the option string is `+', or if the\n environment variable POSIXLY_CORRECT is set, then option\n processing stops as soon as a non-option argument is encountered.\n """\n\n opts = []\n prog_args = []\n if type("") == type(longopts):\n longopts = [longopts]\n else:\n longopts = list(longopts)\n\n # Allow options after non-option arguments?\n all_options_first = False\n if shortopts.startswith("+"):\n shortopts = shortopts[1:]\n all_options_first = True\n\n while args:\n if args[0] == "--":\n prog_args += args[1:]\n break\n\n if args[0][:2] == "--":\n opts, args = do_longs(opts, args[0][2:], longopts, args[1:])\n elif args[0][:1] == "-":\n opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:])\n else:\n if all_options_first:\n prog_args += args\n break\n else:\n prog_args.append(args[0])\n args = args[1:]\n\n return opts, prog_args\n\n\ndef do_longs(opts, opt, longopts, args):\n try:\n i = opt.index("=")\n except ValueError:\n optarg = None\n else:\n opt, optarg = opt[:i], opt[i + 1 :]\n\n has_arg, opt = long_has_args(opt, longopts)\n if has_arg:\n if optarg is None:\n if not args:\n raise GetoptError("option --%s requires argument" % opt, opt)\n optarg, args = args[0], args[1:]\n elif optarg:\n raise GetoptError("option --%s must not have an argument" % opt, opt)\n opts.append(("--" + opt, optarg or ""))\n return opts, args\n\n\n# Return:\n# has_arg?\n# full option name\ndef long_has_args(opt, longopts):\n possibilities = [o for o in longopts if o.startswith(opt)]\n if not possibilities:\n raise GetoptError("option --%s not recognized" % opt, opt)\n # Is there an exact match?\n if opt in possibilities:\n return False, opt\n elif opt + "=" in possibilities:\n return True, opt\n # No exact match, so better be unique.\n if len(possibilities) > 1:\n # XXX since possibilities contains all valid continuations, might be\n # nice to work them into the error msg\n raise GetoptError("option --%s not a unique prefix" % opt, opt)\n assert len(possibilities) == 1\n unique_match = possibilities[0]\n has_arg = unique_match.endswith("=")\n if has_arg:\n unique_match = unique_match[:-1]\n return has_arg, unique_match\n\n\ndef do_shorts(opts, optstring, shortopts, args):\n while optstring != "":\n opt, optstring = optstring[0], optstring[1:]\n if short_has_arg(opt, shortopts):\n if optstring == "":\n if not args:\n raise GetoptError("option -%s requires argument" % opt, opt)\n optstring, args = args[0], args[1:]\n optarg, optstring = optstring, ""\n else:\n optarg = ""\n opts.append(("-" + opt, optarg))\n return opts, args\n\n\ndef short_has_arg(opt, shortopts):\n for i in range(len(shortopts)):\n if opt == shortopts[i] != ":":\n return shortopts.startswith(":", i + 1)\n raise GetoptError("option -%s not recognized" % opt, opt)\n\n\n# =======================================================================================================================\n# End getopt code\n# =======================================================================================================================\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_getopt.py
_pydev_getopt.py
Python
4,562
0.95
0.24812
0.126126
node-utils
405
2025-02-20T10:07:34.260191
MIT
false
63046eaf10e21f4d8564209d2256f11e
import inspect\nimport os.path\nimport sys\n\nfrom _pydev_bundle._pydev_tipper_common import do_find\nfrom _pydevd_bundle.pydevd_utils import hasattr_checked, dir_checked\n\nfrom inspect import getfullargspec\n\n\ndef getargspec(*args, **kwargs):\n arg_spec = getfullargspec(*args, **kwargs)\n return arg_spec.args, arg_spec.varargs, arg_spec.varkw, arg_spec.defaults, arg_spec.kwonlyargs or [], arg_spec.kwonlydefaults or {}\n\n\n# completion types.\nTYPE_IMPORT = "0"\nTYPE_CLASS = "1"\nTYPE_FUNCTION = "2"\nTYPE_ATTR = "3"\nTYPE_BUILTIN = "4"\nTYPE_PARAM = "5"\n\n\ndef _imp(name, log=None):\n try:\n return __import__(name)\n except:\n if "." in name:\n sub = name[0 : name.rfind(".")]\n\n if log is not None:\n log.add_content("Unable to import", name, "trying with", sub)\n log.add_exception()\n\n return _imp(sub, log)\n else:\n s = "Unable to import module: %s - sys.path: %s" % (str(name), sys.path)\n if log is not None:\n log.add_content(s)\n log.add_exception()\n\n raise ImportError(s)\n\n\nIS_IPY = False\nif sys.platform == "cli":\n IS_IPY = True\n _old_imp = _imp\n\n def _imp(name, log=None):\n # We must add a reference in clr for .Net\n import clr # @UnresolvedImport\n\n initial_name = name\n while "." in name:\n try:\n clr.AddReference(name)\n break # If it worked, that's OK.\n except:\n name = name[0 : name.rfind(".")]\n else:\n try:\n clr.AddReference(name)\n except:\n pass # That's OK (not dot net module).\n\n return _old_imp(initial_name, log)\n\n\ndef get_file(mod):\n f = None\n try:\n f = inspect.getsourcefile(mod) or inspect.getfile(mod)\n except:\n try:\n f = getattr(mod, "__file__", None)\n except:\n f = None\n if f and f.lower(f[-4:]) in [".pyc", ".pyo"]:\n filename = f[:-4] + ".py"\n if os.path.exists(filename):\n f = filename\n\n return f\n\n\ndef Find(name, log=None):\n f = None\n\n mod = _imp(name, log)\n parent = mod\n foundAs = ""\n\n if inspect.ismodule(mod):\n f = get_file(mod)\n\n components = name.split(".")\n\n old_comp = None\n for comp in components[1:]:\n try:\n # this happens in the following case:\n # we have mx.DateTime.mxDateTime.mxDateTime.pyd\n # but after importing it, mx.DateTime.mxDateTime shadows access to mxDateTime.pyd\n mod = getattr(mod, comp)\n except AttributeError:\n if old_comp != comp:\n raise\n\n if inspect.ismodule(mod):\n f = get_file(mod)\n else:\n if len(foundAs) > 0:\n foundAs = foundAs + "."\n foundAs = foundAs + comp\n\n old_comp = comp\n\n return f, mod, parent, foundAs\n\n\ndef search_definition(data):\n """@return file, line, col"""\n\n data = data.replace("\n", "")\n if data.endswith("."):\n data = data.rstrip(".")\n f, mod, parent, foundAs = Find(data)\n try:\n return do_find(f, mod), foundAs\n except:\n return do_find(f, parent), foundAs\n\n\ndef generate_tip(data, log=None):\n data = data.replace("\n", "")\n if data.endswith("."):\n data = data.rstrip(".")\n\n f, mod, parent, foundAs = Find(data, log)\n # print_ >> open('temp.txt', 'w'), f\n tips = generate_imports_tip_for_module(mod)\n return f, tips\n\n\ndef check_char(c):\n if c == "-" or c == ".":\n return "_"\n return c\n\n\n_SENTINEL = object()\n\n\ndef generate_imports_tip_for_module(obj_to_complete, dir_comps=None, getattr=getattr, filter=lambda name: True):\n """\n @param obj_to_complete: the object from where we should get the completions\n @param dir_comps: if passed, we should not 'dir' the object and should just iterate those passed as kwonly_arg parameter\n @param getattr: the way to get kwonly_arg given object from the obj_to_complete (used for the completer)\n @param filter: kwonly_arg callable that receives the name and decides if it should be appended or not to the results\n @return: list of tuples, so that each tuple represents kwonly_arg completion with:\n name, doc, args, type (from the TYPE_* constants)\n """\n ret = []\n\n if dir_comps is None:\n dir_comps = dir_checked(obj_to_complete)\n if hasattr_checked(obj_to_complete, "__dict__"):\n dir_comps.append("__dict__")\n if hasattr_checked(obj_to_complete, "__class__"):\n dir_comps.append("__class__")\n\n get_complete_info = True\n\n if len(dir_comps) > 1000:\n # ok, we don't want to let our users wait forever...\n # no complete info for you...\n\n get_complete_info = False\n\n dontGetDocsOn = (float, int, str, tuple, list, dict)\n dontGetattrOn = (dict, list, set, tuple)\n for d in dir_comps:\n if d is None:\n continue\n\n if not filter(d):\n continue\n\n args = ""\n\n try:\n try:\n if isinstance(obj_to_complete, dontGetattrOn):\n raise Exception(\n 'Since python 3.9, e.g. "dict[str]" will return'\n " a dict that's only supposed to take strings. "\n 'Interestingly, e.g. dict["val"] is also valid '\n "and presumably represents a dict that only takes "\n 'keys that are "val". This breaks our check for '\n "class attributes."\n )\n obj = getattr(obj_to_complete.__class__, d)\n except:\n obj = getattr(obj_to_complete, d)\n except: # just ignore and get it without additional info\n ret.append((d, "", args, TYPE_BUILTIN))\n else:\n if get_complete_info:\n try:\n retType = TYPE_BUILTIN\n\n # check if we have to get docs\n getDoc = True\n for class_ in dontGetDocsOn:\n if isinstance(obj, class_):\n getDoc = False\n break\n\n doc = ""\n if getDoc:\n # no need to get this info... too many constants are defined and\n # makes things much slower (passing all that through sockets takes quite some time)\n try:\n doc = inspect.getdoc(obj)\n if doc is None:\n doc = ""\n except: # may happen on jython when checking java classes (so, just ignore it)\n doc = ""\n\n if inspect.ismethod(obj) or inspect.isbuiltin(obj) or inspect.isfunction(obj) or inspect.isroutine(obj):\n try:\n args, vargs, kwargs, defaults, kwonly_args, kwonly_defaults = getargspec(obj)\n\n args = args[:]\n\n for kwonly_arg in kwonly_args:\n default = kwonly_defaults.get(kwonly_arg, _SENTINEL)\n if default is not _SENTINEL:\n args.append("%s=%s" % (kwonly_arg, default))\n else:\n args.append(str(kwonly_arg))\n\n args = "(%s)" % (", ".join(args))\n except TypeError:\n # ok, let's see if we can get the arguments from the doc\n args, doc = signature_from_docstring(doc, getattr(obj, "__name__", None))\n\n retType = TYPE_FUNCTION\n\n elif inspect.isclass(obj):\n retType = TYPE_CLASS\n\n elif inspect.ismodule(obj):\n retType = TYPE_IMPORT\n\n else:\n retType = TYPE_ATTR\n\n # add token and doc to return - assure only strings.\n ret.append((d, doc, args, retType))\n\n except: # just ignore and get it without aditional info\n ret.append((d, "", args, TYPE_BUILTIN))\n\n else: # get_complete_info == False\n if inspect.ismethod(obj) or inspect.isbuiltin(obj) or inspect.isfunction(obj) or inspect.isroutine(obj):\n retType = TYPE_FUNCTION\n\n elif inspect.isclass(obj):\n retType = TYPE_CLASS\n\n elif inspect.ismodule(obj):\n retType = TYPE_IMPORT\n\n else:\n retType = TYPE_ATTR\n # ok, no complete info, let's try to do this as fast and clean as possible\n # so, no docs for this kind of information, only the signatures\n ret.append((d, "", str(args), retType))\n\n return ret\n\n\ndef signature_from_docstring(doc, obj_name):\n args = "()"\n try:\n found = False\n if len(doc) > 0:\n if IS_IPY:\n # Handle case where we have the situation below\n # sort(self, object cmp, object key)\n # sort(self, object cmp, object key, bool reverse)\n # sort(self)\n # sort(self, object cmp)\n\n # Or: sort(self: list, cmp: object, key: object)\n # sort(self: list, cmp: object, key: object, reverse: bool)\n # sort(self: list)\n # sort(self: list, cmp: object)\n if obj_name:\n name = obj_name + "("\n\n # Fix issue where it was appearing sort(aa)sort(bb)sort(cc) in the same line.\n lines = doc.splitlines()\n if len(lines) == 1:\n c = doc.count(name)\n if c > 1:\n doc = ("\n" + name).join(doc.split(name))\n\n major = ""\n for line in doc.splitlines():\n if line.startswith(name) and line.endswith(")"):\n if len(line) > len(major):\n major = line\n if major:\n args = major[major.index("(") :]\n found = True\n\n if not found:\n i = doc.find("->")\n if i < 0:\n i = doc.find("--")\n if i < 0:\n i = doc.find("\n")\n if i < 0:\n i = doc.find("\r")\n\n if i > 0:\n s = doc[0:i]\n s = s.strip()\n\n # let's see if we have a docstring in the first line\n if s[-1] == ")":\n start = s.find("(")\n if start >= 0:\n end = s.find("[")\n if end <= 0:\n end = s.find(")")\n if end <= 0:\n end = len(s)\n\n args = s[start:end]\n if not args[-1] == ")":\n args = args + ")"\n\n # now, get rid of unwanted chars\n l = len(args) - 1\n r = []\n for i in range(len(args)):\n if i == 0 or i == l:\n r.append(args[i])\n else:\n r.append(check_char(args[i]))\n\n args = "".join(r)\n\n if IS_IPY:\n if args.startswith("(self:"):\n i = args.find(",")\n if i >= 0:\n args = "(self" + args[i:]\n else:\n args = "(self)"\n i = args.find(")")\n if i > 0:\n args = args[: i + 1]\n\n except:\n pass\n return args, doc\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_imports_tipper.py
_pydev_imports_tipper.py
Python
12,684
0.95
0.247312
0.091837
react-lib
354
2024-10-24T03:03:33.814701
Apache-2.0
false
653c99e1799e157bda7778d0ab9b0149
import traceback\nimport sys\nfrom io import StringIO\n\n\nclass Log:\n def __init__(self):\n self._contents = []\n\n def add_content(self, *content):\n self._contents.append(" ".join(content))\n\n def add_exception(self):\n s = StringIO()\n exc_info = sys.exc_info()\n traceback.print_exception(exc_info[0], exc_info[1], exc_info[2], limit=None, file=s)\n self._contents.append(s.getvalue())\n\n def get_contents(self):\n return "\n".join(self._contents)\n\n def clear_log(self):\n del self._contents[:]\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_log.py
_pydev_log.py
Python
577
0.85
0.26087
0
awesome-app
782
2025-05-10T08:40:32.132631
BSD-3-Clause
false
96ee916bcdfcd018818875789b3b99d2
import sys\nimport os\n\n\ndef find_in_pythonpath(module_name):\n # Check all the occurrences where we could match the given module/package in the PYTHONPATH.\n #\n # This is a simplistic approach, but probably covers most of the cases we're interested in\n # (i.e.: this may fail in more elaborate cases of import customization or .zip imports, but\n # this should be rare in general).\n found_at = []\n\n parts = module_name.split(".") # split because we need to convert mod.name to mod/name\n for path in sys.path:\n target = os.path.join(path, *parts)\n target_py = target + ".py"\n if os.path.isdir(target):\n found_at.append(target)\n if os.path.exists(target_py):\n found_at.append(target_py)\n return found_at\n\n\nclass DebuggerInitializationError(Exception):\n pass\n\n\nclass VerifyShadowedImport(object):\n def __init__(self, import_name):\n self.import_name = import_name\n\n def __enter__(self):\n return self\n\n def __exit__(self, exc_type, exc_val, exc_tb):\n if exc_type is not None:\n if exc_type == DebuggerInitializationError:\n return False # It's already an error we generated.\n\n # We couldn't even import it...\n found_at = find_in_pythonpath(self.import_name)\n\n if len(found_at) <= 1:\n # It wasn't found anywhere or there was just 1 occurrence.\n # Let's just return to show the original error.\n return False\n\n # We found more than 1 occurrence of the same module in the PYTHONPATH\n # (the user module and the standard library module).\n # Let's notify the user as it seems that the module was shadowed.\n msg = self._generate_shadowed_import_message(found_at)\n raise DebuggerInitializationError(msg)\n\n def _generate_shadowed_import_message(self, found_at):\n msg = """It was not possible to initialize the debugger due to a module name conflict.\n\ni.e.: the module "%(import_name)s" could not be imported because it is shadowed by:\n%(found_at)s\nPlease rename this file/folder so that the original module from the standard library can be imported.""" % {\n "import_name": self.import_name,\n "found_at": found_at[0],\n }\n\n return msg\n\n def check(self, module, expected_attributes):\n msg = ""\n for expected_attribute in expected_attributes:\n try:\n getattr(module, expected_attribute)\n except:\n msg = self._generate_shadowed_import_message([module.__file__])\n break\n\n if msg:\n raise DebuggerInitializationError(msg)\n\n\nwith VerifyShadowedImport("threading") as verify_shadowed:\n import threading\n\n verify_shadowed.check(threading, ["Thread", "settrace", "setprofile", "Lock", "RLock", "current_thread"])\n ThreadingEvent = threading.Event\n ThreadingLock = threading.Lock\n threading_current_thread = threading.current_thread\n\nwith VerifyShadowedImport("time") as verify_shadowed:\n import time\n\n verify_shadowed.check(time, ["sleep", "time", "mktime"])\n\nwith VerifyShadowedImport("socket") as verify_shadowed:\n import socket\n\n verify_shadowed.check(socket, ["socket", "gethostname", "getaddrinfo"])\n\nwith VerifyShadowedImport("select") as verify_shadowed:\n import select\n\n verify_shadowed.check(select, ["select"])\n\nwith VerifyShadowedImport("code") as verify_shadowed:\n import code as _code\n\n verify_shadowed.check(_code, ["compile_command", "InteractiveInterpreter"])\n\nwith VerifyShadowedImport("_thread") as verify_shadowed:\n import _thread as thread\n\n verify_shadowed.check(thread, ["start_new_thread", "start_new", "allocate_lock"])\n\nwith VerifyShadowedImport("queue") as verify_shadowed:\n import queue as _queue\n\n verify_shadowed.check(_queue, ["Queue", "LifoQueue", "Empty", "Full", "deque"])\n\nwith VerifyShadowedImport("xmlrpclib") as verify_shadowed:\n import xmlrpc.client as xmlrpclib\n\n verify_shadowed.check(xmlrpclib, ["ServerProxy", "Marshaller", "Server"])\n\nwith VerifyShadowedImport("xmlrpc.server") as verify_shadowed:\n import xmlrpc.server as xmlrpcserver\n\n verify_shadowed.check(xmlrpcserver, ["SimpleXMLRPCServer"])\n\nwith VerifyShadowedImport("http.server") as verify_shadowed:\n import http.server as BaseHTTPServer\n\n verify_shadowed.check(BaseHTTPServer, ["BaseHTTPRequestHandler"])\n\n# If set, this is a version of the threading.enumerate that doesn't have the patching to remove the pydevd threads.\n# Note: as it can't be set during execution, don't import the name (import the module and access it through its name).\npydevd_saved_threading_enumerate = None\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_saved_modules.py
_pydev_saved_modules.py
Python
4,874
0.95
0.126866
0.136842
python-kit
522
2024-03-29T03:05:24.418730
GPL-3.0
false
7f1e6b8aca77c4155d96e9448e223b56
import sys\n\n\ndef patch_sys_module():\n def patched_exc_info(fun):\n def pydev_debugger_exc_info():\n type, value, traceback = fun()\n if type == ImportError:\n # we should not show frame added by plugin_import call\n if traceback and hasattr(traceback, "tb_next"):\n return type, value, traceback.tb_next\n return type, value, traceback\n\n return pydev_debugger_exc_info\n\n system_exc_info = sys.exc_info\n sys.exc_info = patched_exc_info(system_exc_info)\n if not hasattr(sys, "system_exc_info"):\n sys.system_exc_info = system_exc_info\n\n\ndef patched_reload(orig_reload):\n def pydev_debugger_reload(module):\n orig_reload(module)\n if module.__name__ == "sys":\n # if sys module was reloaded we should patch it again\n patch_sys_module()\n\n return pydev_debugger_reload\n\n\ndef patch_reload():\n import builtins # Py3\n\n if hasattr(builtins, "reload"):\n sys.builtin_orig_reload = builtins.reload\n builtins.reload = patched_reload(sys.builtin_orig_reload) # @UndefinedVariable\n try:\n import imp\n\n sys.imp_orig_reload = imp.reload\n imp.reload = patched_reload(sys.imp_orig_reload) # @UndefinedVariable\n except ImportError:\n pass # Ok, imp not available on Python 3.12.\n else:\n try:\n import importlib\n\n sys.importlib_orig_reload = importlib.reload # @UndefinedVariable\n importlib.reload = patched_reload(sys.importlib_orig_reload) # @UndefinedVariable\n except:\n pass\n\n del builtins\n\n\ndef cancel_patches_in_sys_module():\n sys.exc_info = sys.system_exc_info # @UndefinedVariable\n import builtins # Py3\n\n if hasattr(sys, "builtin_orig_reload"):\n builtins.reload = sys.builtin_orig_reload\n\n if hasattr(sys, "imp_orig_reload"):\n try:\n import imp\n\n imp.reload = sys.imp_orig_reload\n except ImportError:\n pass # Ok, imp not available in Python 3.12.\n\n if hasattr(sys, "importlib_orig_reload"):\n import importlib\n\n importlib.reload = sys.importlib_orig_reload\n\n del builtins\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_sys_patch.py
_pydev_sys_patch.py
Python
2,314
0.95
0.246753
0.035714
awesome-app
752
2025-05-10T10:34:42.961437
GPL-3.0
false
5658f457ca032938fa9e489a0f9c67bc
import inspect\nimport re\n\n\ndef do_find(f, mod):\n import linecache\n\n if inspect.ismodule(mod):\n return f, 0, 0\n\n lines = linecache.getlines(f)\n\n if inspect.isclass(mod):\n name = mod.__name__\n pat = re.compile(r"^\s*class\s*" + name + r"\b")\n for i in range(len(lines)):\n if pat.match(lines[i]):\n return f, i, 0\n\n return f, 0, 0\n\n if inspect.ismethod(mod):\n mod = mod.im_func\n\n if inspect.isfunction(mod):\n try:\n mod = mod.func_code\n except AttributeError:\n mod = mod.__code__ # python 3k\n\n if inspect.istraceback(mod):\n mod = mod.tb_frame\n\n if inspect.isframe(mod):\n mod = mod.f_code\n\n if inspect.iscode(mod):\n if not hasattr(mod, "co_filename"):\n return None, 0, 0\n\n if not hasattr(mod, "co_firstlineno"):\n return mod.co_filename, 0, 0\n\n lnum = mod.co_firstlineno\n pat = re.compile(r"^(\s*def\s)|(.*(?<!\w)lambda(:|\s))|^(\s*@)")\n while lnum > 0:\n if pat.match(lines[lnum]):\n break\n lnum -= 1\n\n return f, lnum, 0\n\n raise RuntimeError("Do not know about: " + f + " " + str(mod))\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\_pydev_tipper_common.py
_pydev_tipper_common.py
Python
1,281
0.95
0.320755
0
react-lib
183
2024-10-08T00:53:49.690680
BSD-3-Clause
false
c8a85510679143e396c8474af04f167b
"""\nSample usage to track changes in a thread.\n\n import threading\n import time\n watcher = fsnotify.Watcher()\n watcher.accepted_file_extensions = {'.py', '.pyw'}\n\n # Configure target values to compute throttling.\n # Note: internal sleep times will be updated based on\n # profiling the actual application runtime to match\n # those values.\n\n watcher.target_time_for_single_scan = 2.\n watcher.target_time_for_notification = 4.\n\n watcher.set_tracked_paths([target_dir])\n\n def start_watching(): # Called from thread\n for change_enum, change_path in watcher.iter_changes():\n if change_enum == fsnotify.Change.added:\n print('Added: ', change_path)\n elif change_enum == fsnotify.Change.modified:\n print('Modified: ', change_path)\n elif change_enum == fsnotify.Change.deleted:\n print('Deleted: ', change_path)\n\n t = threading.Thread(target=start_watching)\n t.daemon = True\n t.start()\n\n try:\n ...\n finally:\n watcher.dispose()\n\n\nNote: changes are only reported for files (added/modified/deleted), not directories.\n"""\nimport sys\nfrom os.path import basename\nfrom _pydev_bundle import pydev_log, _pydev_saved_modules\nfrom os import scandir\n\ntry:\n from enum import IntEnum\nexcept:\n\n class IntEnum(object):\n pass\n\n\nimport time\n\n__author__ = "Fabio Zadrozny"\n__email__ = "fabiofz@gmail.com"\n__version__ = "0.1.5" # Version here and in setup.py\n\n\nclass Change(IntEnum):\n added = 1\n modified = 2\n deleted = 3\n\n\nclass _SingleVisitInfo(object):\n def __init__(self):\n self.count = 0\n self.visited_dirs = set()\n self.file_to_mtime = {}\n self.last_sleep_time = time.time()\n\n\nclass _PathWatcher(object):\n """\n Helper to watch a single path.\n """\n\n def __init__(self, root_path, accept_directory, accept_file, single_visit_info, max_recursion_level, sleep_time=0.0):\n """\n :type root_path: str\n :type accept_directory: Callback[str, bool]\n :type accept_file: Callback[str, bool]\n :type max_recursion_level: int\n :type sleep_time: float\n """\n self.accept_directory = accept_directory\n self.accept_file = accept_file\n self._max_recursion_level = max_recursion_level\n\n self._root_path = root_path\n\n # Initial sleep value for throttling, it'll be auto-updated based on the\n # Watcher.target_time_for_single_scan.\n self.sleep_time = sleep_time\n\n self.sleep_at_elapsed = 1.0 / 30.0\n\n # When created, do the initial snapshot right away!\n old_file_to_mtime = {}\n self._check(single_visit_info, lambda _change: None, old_file_to_mtime)\n\n def __eq__(self, o):\n if isinstance(o, _PathWatcher):\n return self._root_path == o._root_path\n\n return False\n\n def __ne__(self, o):\n return not self == o\n\n def __hash__(self):\n return hash(self._root_path)\n\n def _check_dir(self, dir_path, single_visit_info, append_change, old_file_to_mtime, level):\n # This is the actual poll loop\n if dir_path in single_visit_info.visited_dirs or level > self._max_recursion_level:\n return\n single_visit_info.visited_dirs.add(dir_path)\n try:\n if isinstance(dir_path, bytes):\n try:\n dir_path = dir_path.decode(sys.getfilesystemencoding())\n except UnicodeDecodeError:\n try:\n dir_path = dir_path.decode("utf-8")\n except UnicodeDecodeError:\n return # Ignore if we can't deal with the path.\n\n new_files = single_visit_info.file_to_mtime\n\n for entry in scandir(dir_path):\n single_visit_info.count += 1\n\n # Throttle if needed inside the loop\n # to avoid consuming too much CPU.\n if single_visit_info.count % 300 == 0:\n if self.sleep_time > 0:\n t = time.time()\n diff = t - single_visit_info.last_sleep_time\n if diff > self.sleep_at_elapsed:\n time.sleep(self.sleep_time)\n single_visit_info.last_sleep_time = time.time()\n\n if entry.is_dir():\n if self.accept_directory(entry.path):\n self._check_dir(entry.path, single_visit_info, append_change, old_file_to_mtime, level + 1)\n\n elif self.accept_file(entry.path):\n stat = entry.stat()\n mtime = (stat.st_mtime_ns, stat.st_size)\n path = entry.path\n new_files[path] = mtime\n\n old_mtime = old_file_to_mtime.pop(path, None)\n if not old_mtime:\n append_change((Change.added, path))\n elif old_mtime != mtime:\n append_change((Change.modified, path))\n\n except OSError:\n pass # Directory was removed in the meanwhile.\n\n def _check(self, single_visit_info, append_change, old_file_to_mtime):\n self._check_dir(self._root_path, single_visit_info, append_change, old_file_to_mtime, 0)\n\n\nclass Watcher(object):\n # By default (if accept_directory is not specified), these will be the\n # ignored directories.\n ignored_dirs = {".git", "__pycache__", ".idea", "node_modules", ".metadata"}\n\n # By default (if accept_file is not specified), these will be the\n # accepted files.\n accepted_file_extensions = ()\n\n # Set to the target value for doing full scan of all files (adds a sleep inside the poll loop\n # which processes files to reach the target time).\n # Lower values will consume more CPU\n # Set to 0.0 to have no sleeps (which will result in a higher cpu load).\n target_time_for_single_scan = 2.0\n\n # Set the target value from the start of one scan to the start of another scan (adds a\n # sleep after a full poll is done to reach the target time).\n # Lower values will consume more CPU.\n # Set to 0.0 to have a new scan start right away without any sleeps.\n target_time_for_notification = 4.0\n\n # Set to True to print the time for a single poll through all the paths.\n print_poll_time = False\n\n # This is the maximum recursion level.\n max_recursion_level = 10\n\n def __init__(self, accept_directory=None, accept_file=None):\n """\n :param Callable[str, bool] accept_directory:\n Callable that returns whether a directory should be watched.\n Note: if passed it'll override the `ignored_dirs`\n\n :param Callable[str, bool] accept_file:\n Callable that returns whether a file should be watched.\n Note: if passed it'll override the `accepted_file_extensions`.\n """\n self._path_watchers = set()\n self._disposed = _pydev_saved_modules.ThreadingEvent()\n\n if accept_directory is None:\n accept_directory = lambda dir_path: basename(dir_path) not in self.ignored_dirs\n if accept_file is None:\n accept_file = lambda path_name: not self.accepted_file_extensions or path_name.endswith(self.accepted_file_extensions)\n self.accept_file = accept_file\n self.accept_directory = accept_directory\n self._single_visit_info = _SingleVisitInfo()\n\n @property\n def accept_directory(self):\n return self._accept_directory\n\n @accept_directory.setter\n def accept_directory(self, accept_directory):\n self._accept_directory = accept_directory\n for path_watcher in self._path_watchers:\n path_watcher.accept_directory = accept_directory\n\n @property\n def accept_file(self):\n return self._accept_file\n\n @accept_file.setter\n def accept_file(self, accept_file):\n self._accept_file = accept_file\n for path_watcher in self._path_watchers:\n path_watcher.accept_file = accept_file\n\n def dispose(self):\n self._disposed.set()\n\n @property\n def path_watchers(self):\n return tuple(self._path_watchers)\n\n def set_tracked_paths(self, paths):\n """\n Note: always resets all path trackers to track the passed paths.\n """\n if not isinstance(paths, (list, tuple, set)):\n paths = (paths,)\n\n # Sort by the path len so that the bigger paths come first (so,\n # if there's any nesting we want the nested paths to be visited\n # before the parent paths so that the max_recursion_level is correct).\n paths = sorted(set(paths), key=lambda path: -len(path))\n path_watchers = set()\n\n self._single_visit_info = _SingleVisitInfo()\n\n initial_time = time.time()\n for path in paths:\n sleep_time = 0.0 # When collecting the first time, sleep_time should be 0!\n path_watcher = _PathWatcher(\n path,\n self.accept_directory,\n self.accept_file,\n self._single_visit_info,\n max_recursion_level=self.max_recursion_level,\n sleep_time=sleep_time,\n )\n\n path_watchers.add(path_watcher)\n\n actual_time = time.time() - initial_time\n\n pydev_log.debug("Tracking the following paths for changes: %s", paths)\n pydev_log.debug("Time to track: %.2fs", actual_time)\n pydev_log.debug("Folders found: %s", len(self._single_visit_info.visited_dirs))\n pydev_log.debug("Files found: %s", len(self._single_visit_info.file_to_mtime))\n self._path_watchers = path_watchers\n\n def iter_changes(self):\n """\n Continuously provides changes (until dispose() is called).\n\n Changes provided are tuples with the Change enum and filesystem path.\n\n :rtype: Iterable[Tuple[Change, str]]\n """\n while not self._disposed.is_set():\n initial_time = time.time()\n\n old_visit_info = self._single_visit_info\n old_file_to_mtime = old_visit_info.file_to_mtime\n changes = []\n append_change = changes.append\n\n self._single_visit_info = single_visit_info = _SingleVisitInfo()\n for path_watcher in self._path_watchers:\n path_watcher._check(single_visit_info, append_change, old_file_to_mtime)\n\n # Note that we pop entries while visiting, so, what remained is what's deleted.\n for entry in old_file_to_mtime:\n append_change((Change.deleted, entry))\n\n for change in changes:\n yield change\n\n actual_time = time.time() - initial_time\n if self.print_poll_time:\n print("--- Total poll time: %.3fs" % actual_time)\n\n if actual_time > 0:\n if self.target_time_for_single_scan <= 0.0:\n for path_watcher in self._path_watchers:\n path_watcher.sleep_time = 0.0\n else:\n perc = self.target_time_for_single_scan / actual_time\n\n # Prevent from changing the values too much (go slowly into the right\n # direction).\n # (to prevent from cases where the user puts the machine on sleep and\n # values become too skewed).\n if perc > 2.0:\n perc = 2.0\n elif perc < 0.5:\n perc = 0.5\n\n for path_watcher in self._path_watchers:\n if path_watcher.sleep_time <= 0.0:\n path_watcher.sleep_time = 0.001\n new_sleep_time = path_watcher.sleep_time * perc\n\n # Prevent from changing the values too much (go slowly into the right\n # direction).\n # (to prevent from cases where the user puts the machine on sleep and\n # values become too skewed).\n diff_sleep_time = new_sleep_time - path_watcher.sleep_time\n path_watcher.sleep_time += diff_sleep_time / (3.0 * len(self._path_watchers))\n\n if actual_time > 0:\n self._disposed.wait(actual_time)\n\n if path_watcher.sleep_time < 0.001:\n path_watcher.sleep_time = 0.001\n\n # print('new sleep time: %s' % path_watcher.sleep_time)\n\n diff = self.target_time_for_notification - actual_time\n if diff > 0.0:\n self._disposed.wait(diff)\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\fsnotify\__init__.py
__init__.py
Python
13,055
0.95
0.206304
0.136029
vue-tools
611
2023-08-22T07:57:55.317871
Apache-2.0
false
4cae602e01fb356fd7a3e6690390102e
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\fsnotify\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
14,105
0.95
0.051948
0.028777
node-utils
236
2025-07-01T11:58:38.206961
Apache-2.0
false
22a22778d1bd34180ac7ecd58fd8dc7e
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\pydev_console_utils.cpython-313.pyc
pydev_console_utils.cpython-313.pyc
Other
28,789
0.95
0.034483
0.02765
node-utils
776
2024-10-02T05:56:28.414282
GPL-3.0
false
f7ae8ced8b6a25fd4fafa3e26217517b
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\pydev_imports.cpython-313.pyc
pydev_imports.cpython-313.pyc
Other
621
0.85
0
0
vue-tools
281
2024-10-17T13:46:12.656489
MIT
false
241fefcbc68633b3434b32efa0eac0ee
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\pydev_import_hook.cpython-313.pyc
pydev_import_hook.cpython-313.pyc
Other
2,093
0.95
0
0
node-utils
46
2024-05-23T17:38:26.519492
GPL-3.0
false
bb6a9c04bd1201e20f9cb6e920bd5f43
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\pydev_ipython_console.cpython-313.pyc
pydev_ipython_console.cpython-313.pyc
Other
5,481
0.95
0.025641
0
python-kit
722
2025-06-29T14:33:46.428284
GPL-3.0
false
e161d287b21b9f52f08b745c6cc65f72
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\pydev_ipython_console_011.cpython-313.pyc
pydev_ipython_console_011.cpython-313.pyc
Other
17,834
0.95
0.025974
0.068966
awesome-app
985
2023-09-16T12:00:55.035585
MIT
false
b33f792310be0bd01070f3c195588d51
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\pydev_is_thread_alive.cpython-313.pyc
pydev_is_thread_alive.cpython-313.pyc
Other
1,248
0.7
0
0
awesome-app
143
2024-04-21T14:10:48.156435
MIT
false
fb2fe25df0282a80e4b67e540f13192f
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\pydev_localhost.cpython-313.pyc
pydev_localhost.cpython-313.pyc
Other
2,655
0.8
0
0
vue-tools
346
2025-03-29T21:06:08.524775
BSD-3-Clause
false
bc99cfb29ff3a9a978166841e6d02db2
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\pydev_log.cpython-313.pyc
pydev_log.cpython-313.pyc
Other
11,223
0.8
0.016529
0.060345
vue-tools
313
2024-01-22T09:45:28.127995
MIT
false
696ef2c39ea88250685714318ddebbec
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\pydev_monkey.cpython-313.pyc
pydev_monkey.cpython-313.pyc
Other
41,244
0.95
0.008197
0
node-utils
806
2025-04-24T19:51:19.979015
Apache-2.0
false
bd4ca0740230d4efcc53cc2263b832e1
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\pydev_monkey_qt.cpython-313.pyc
pydev_monkey_qt.cpython-313.pyc
Other
9,309
0.95
0.020408
0.020833
react-lib
303
2023-11-22T08:47:56.235934
BSD-3-Clause
false
e65fdeb94b5d397d777ddf2eac517f43
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\pydev_override.cpython-313.pyc
pydev_override.cpython-313.pyc
Other
1,488
0.85
0.166667
0
node-utils
756
2024-11-18T00:36:24.717320
MIT
false
710def28fcb52c4a52e844af66eb49ec
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\pydev_umd.cpython-313.pyc
pydev_umd.cpython-313.pyc
Other
7,404
0.95
0
0
awesome-app
429
2023-10-09T22:19:35.766441
BSD-3-Clause
false
d80f0d4d7eb4c164f94294ed70c6c36e
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\pydev_versioncheck.cpython-313.pyc
pydev_versioncheck.cpython-313.pyc
Other
873
0.8
0.166667
0
react-lib
87
2023-11-01T12:59:03.582119
MIT
false
c3926ee607bc4bd7c6c5a641a108bf26
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\_pydev_calltip_util.cpython-313.pyc
_pydev_calltip_util.cpython-313.pyc
Other
6,155
0.95
0.027397
0
react-lib
341
2024-02-10T13:13:00.662577
BSD-3-Clause
false
9f6dc79378fc80fe6197c9732ea57925
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\_pydev_completer.cpython-313.pyc
_pydev_completer.cpython-313.pyc
Other
9,273
0.95
0.05303
0
vue-tools
498
2025-06-18T10:47:15.187314
BSD-3-Clause
false
aaeb4f1542b35b00479292f3be0bfdc1
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\_pydev_execfile.cpython-313.pyc
_pydev_execfile.cpython-313.pyc
Other
850
0.7
0
0
node-utils
196
2023-09-28T01:33:44.475795
Apache-2.0
false
eb9d0a0a8c86da8eb28a2d837cfaf42f
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\_pydev_filesystem_encoding.cpython-313.pyc
_pydev_filesystem_encoding.cpython-313.pyc
Other
1,464
0.8
0
0
vue-tools
237
2023-12-26T13:55:30.778654
GPL-3.0
false
6e9c2fa88ef71e7a45134544fd7b07fe
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\_pydev_getopt.cpython-313.pyc
_pydev_getopt.cpython-313.pyc
Other
4,962
0.95
0.058824
0
awesome-app
37
2024-11-14T01:05:38.662265
GPL-3.0
false
a3f4f6bba78dea4cd2296896f324f068
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\_pydev_imports_tipper.cpython-313.pyc
_pydev_imports_tipper.cpython-313.pyc
Other
12,366
0.95
0.041667
0.008621
react-lib
710
2024-11-04T06:40:58.869885
MIT
false
1ad3e0cac97bb57939128ef83e5278ec
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\_pydev_jy_imports_tipper.cpython-313.pyc
_pydev_jy_imports_tipper.cpython-313.pyc
Other
17,355
0.95
0.047872
0.033333
awesome-app
659
2023-12-01T23:27:35.334879
GPL-3.0
false
9d9eb1a05b3fc454db645052c5e30b94
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\_pydev_log.cpython-313.pyc
_pydev_log.cpython-313.pyc
Other
1,777
0.8
0
0
node-utils
550
2025-04-03T21:37:58.680893
Apache-2.0
false
e19e7d585f821c4d91f3c1cf02458f82
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\_pydev_saved_modules.cpython-313.pyc
_pydev_saved_modules.cpython-313.pyc
Other
5,843
0.95
0
0
vue-tools
491
2023-12-25T07:19:37.846965
Apache-2.0
false
dc2a53a9ad3f8b8cb9ab011a60f3e038
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\_pydev_sys_patch.cpython-313.pyc
_pydev_sys_patch.cpython-313.pyc
Other
3,186
0.95
0
0
node-utils
41
2024-05-13T17:21:34.167887
MIT
false
2c91e78047919ac797a0b02eb8a3a52f
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\_pydev_tipper_common.cpython-313.pyc
_pydev_tipper_common.cpython-313.pyc
Other
2,377
0.95
0.2
0
python-kit
343
2023-11-27T21:19:47.250378
BSD-3-Clause
false
7344e457e078d1004164854f66100735
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_bundle\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
213
0.7
0
0
awesome-app
233
2025-03-19T19:51:05.625083
BSD-3-Clause
false
57ff886f5ceaffa78338248931554176
import os.path\nimport sys\nfrom _pydevd_bundle.pydevd_constants import Null\n\n\n# =======================================================================================================================\n# get_coverage_files\n# =======================================================================================================================\ndef get_coverage_files(coverage_output_dir, number_of_files):\n base_dir = coverage_output_dir\n ret = []\n i = 0\n while len(ret) < number_of_files:\n while True:\n f = os.path.join(base_dir, ".coverage.%s" % i)\n i += 1\n if not os.path.exists(f):\n ret.append(f)\n break # Break only inner for.\n return ret\n\n\n# =======================================================================================================================\n# start_coverage_support\n# =======================================================================================================================\ndef start_coverage_support(configuration):\n return start_coverage_support_from_params(\n configuration.coverage_output_dir,\n configuration.coverage_output_file,\n configuration.jobs,\n configuration.coverage_include,\n )\n\n\n# =======================================================================================================================\n# start_coverage_support_from_params\n# =======================================================================================================================\ndef start_coverage_support_from_params(coverage_output_dir, coverage_output_file, jobs, coverage_include):\n coverage_files = []\n coverage_instance = Null()\n if coverage_output_dir or coverage_output_file:\n try:\n import coverage # @UnresolvedImport\n except:\n sys.stderr.write("Error: coverage module could not be imported\n")\n sys.stderr.write("Please make sure that the coverage module (http://nedbatchelder.com/code/coverage/)\n")\n sys.stderr.write("is properly installed in your interpreter: %s\n" % (sys.executable,))\n\n import traceback\n\n traceback.print_exc()\n else:\n if coverage_output_dir:\n if not os.path.exists(coverage_output_dir):\n sys.stderr.write("Error: directory for coverage output (%s) does not exist.\n" % (coverage_output_dir,))\n\n elif not os.path.isdir(coverage_output_dir):\n sys.stderr.write("Error: expected (%s) to be a directory.\n" % (coverage_output_dir,))\n\n else:\n n = jobs\n if n <= 0:\n n += 1\n n += 1 # Add 1 more for the current process (which will do the initial import).\n coverage_files = get_coverage_files(coverage_output_dir, n)\n os.environ["COVERAGE_FILE"] = coverage_files.pop(0)\n\n coverage_instance = coverage.coverage(source=[coverage_include])\n coverage_instance.start()\n\n elif coverage_output_file:\n # Client of parallel run.\n os.environ["COVERAGE_FILE"] = coverage_output_file\n coverage_instance = coverage.coverage(source=[coverage_include])\n coverage_instance.start()\n\n return coverage_files, coverage_instance\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\pydev_runfiles_coverage.py
pydev_runfiles_coverage.py
Python
3,485
0.95
0.181818
0.15625
vue-tools
794
2024-05-23T11:50:48.310307
GPL-3.0
false
d8e19fa3a67425808faa486a99ab59af
from nose.plugins.multiprocess import MultiProcessTestRunner # @UnresolvedImport\nfrom nose.plugins.base import Plugin # @UnresolvedImport\nimport sys\nfrom _pydev_runfiles import pydev_runfiles_xml_rpc\nimport time\nfrom _pydev_runfiles.pydev_runfiles_coverage import start_coverage_support\nfrom contextlib import contextmanager\nfrom io import StringIO\nimport traceback\n\n\n# =======================================================================================================================\n# PydevPlugin\n# =======================================================================================================================\nclass PydevPlugin(Plugin):\n def __init__(self, configuration):\n self.configuration = configuration\n Plugin.__init__(self)\n\n def begin(self):\n # Called before any test is run (it's always called, with multiprocess or not)\n self.start_time = time.time()\n self.coverage_files, self.coverage = start_coverage_support(self.configuration)\n\n def finalize(self, result):\n # Called after all tests are run (it's always called, with multiprocess or not)\n self.coverage.stop()\n self.coverage.save()\n\n pydev_runfiles_xml_rpc.notifyTestRunFinished("Finished in: %.2f secs." % (time.time() - self.start_time,))\n\n # ===================================================================================================================\n # Methods below are not called with multiprocess (so, we monkey-patch MultiProcessTestRunner.consolidate\n # so that they're called, but unfortunately we loose some info -- i.e.: the time for each test in this\n # process).\n # ===================================================================================================================\n\n class Sentinel(object):\n pass\n\n @contextmanager\n def _without_user_address(self, test):\n # #PyDev-1095: Conflict between address in test and test.address() in PydevPlugin().report_cond()\n user_test_instance = test.test\n user_address = self.Sentinel\n user_class_address = self.Sentinel\n try:\n if "address" in user_test_instance.__dict__:\n user_address = user_test_instance.__dict__.pop("address")\n except:\n # Just ignore anything here.\n pass\n try:\n user_class_address = user_test_instance.__class__.address\n del user_test_instance.__class__.address\n except:\n # Just ignore anything here.\n pass\n\n try:\n yield\n finally:\n if user_address is not self.Sentinel:\n user_test_instance.__dict__["address"] = user_address\n\n if user_class_address is not self.Sentinel:\n user_test_instance.__class__.address = user_class_address\n\n def _get_test_address(self, test):\n try:\n if hasattr(test, "address"):\n with self._without_user_address(test):\n address = test.address()\n\n # test.address() is something as:\n # ('D:\\workspaces\\temp\\test_workspace\\pytesting1\\src\\mod1\\hello.py', 'mod1.hello', 'TestCase.testMet1')\n #\n # and we must pass: location, test\n # E.g.: ['D:\\src\\mod1\\hello.py', 'TestCase.testMet1']\n address = address[0], address[2]\n else:\n # multiprocess\n try:\n address = test[0], test[1]\n except TypeError:\n # It may be an error at setup, in which case it's not really a test, but a Context object.\n f = test.context.__file__\n if f.endswith(".pyc"):\n f = f[:-1]\n elif f.endswith("$py.class"):\n f = f[: -len("$py.class")] + ".py"\n address = f, "?"\n except:\n sys.stderr.write("PyDev: Internal pydev error getting test address. Please report at the pydev bug tracker\n")\n traceback.print_exc()\n sys.stderr.write("\n\n\n")\n address = "?", "?"\n return address\n\n def report_cond(self, cond, test, captured_output, error=""):\n """\n @param cond: fail, error, ok\n """\n\n address = self._get_test_address(test)\n\n error_contents = self.get_io_from_error(error)\n try:\n time_str = "%.2f" % (time.time() - test._pydev_start_time)\n except:\n time_str = "?"\n\n pydev_runfiles_xml_rpc.notifyTest(cond, captured_output, error_contents, address[0], address[1], time_str)\n\n def startTest(self, test):\n test._pydev_start_time = time.time()\n file, test = self._get_test_address(test)\n pydev_runfiles_xml_rpc.notifyStartTest(file, test)\n\n def get_io_from_error(self, err):\n if type(err) == type(()):\n if len(err) != 3:\n if len(err) == 2:\n return err[1] # multiprocess\n s = StringIO()\n etype, value, tb = err\n if isinstance(value, str):\n return value\n traceback.print_exception(etype, value, tb, file=s)\n return s.getvalue()\n return err\n\n def get_captured_output(self, test):\n if hasattr(test, "capturedOutput") and test.capturedOutput:\n return test.capturedOutput\n return ""\n\n def addError(self, test, err):\n self.report_cond(\n "error",\n test,\n self.get_captured_output(test),\n err,\n )\n\n def addFailure(self, test, err):\n self.report_cond(\n "fail",\n test,\n self.get_captured_output(test),\n err,\n )\n\n def addSuccess(self, test):\n self.report_cond(\n "ok",\n test,\n self.get_captured_output(test),\n "",\n )\n\n\nPYDEV_NOSE_PLUGIN_SINGLETON = None\n\n\ndef start_pydev_nose_plugin_singleton(configuration):\n global PYDEV_NOSE_PLUGIN_SINGLETON\n PYDEV_NOSE_PLUGIN_SINGLETON = PydevPlugin(configuration)\n return PYDEV_NOSE_PLUGIN_SINGLETON\n\n\noriginal = MultiProcessTestRunner.consolidate\n\n\n# =======================================================================================================================\n# new_consolidate\n# =======================================================================================================================\ndef new_consolidate(self, result, batch_result):\n """\n Used so that it can work with the multiprocess plugin.\n Monkeypatched because nose seems a bit unsupported at this time (ideally\n the plugin would have this support by default).\n """\n ret = original(self, result, batch_result)\n\n parent_frame = sys._getframe().f_back\n # addr is something as D:\pytesting1\src\mod1\hello.py:TestCase.testMet4\n # so, convert it to what report_cond expects\n addr = parent_frame.f_locals["addr"]\n i = addr.rindex(":")\n addr = [addr[:i], addr[i + 1 :]]\n\n output, testsRun, failures, errors, errorClasses = batch_result\n if failures or errors:\n for failure in failures:\n PYDEV_NOSE_PLUGIN_SINGLETON.report_cond("fail", addr, output, failure)\n\n for error in errors:\n PYDEV_NOSE_PLUGIN_SINGLETON.report_cond("error", addr, output, error)\n else:\n PYDEV_NOSE_PLUGIN_SINGLETON.report_cond("ok", addr, output)\n\n return ret\n\n\nMultiProcessTestRunner.consolidate = new_consolidate\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\pydev_runfiles_nose.py
pydev_runfiles_nose.py
Python
7,762
0.95
0.184466
0.147059
python-kit
619
2025-02-28T03:35:17.605541
Apache-2.0
false
44dd109579fddd64481fe1d95c45af1a
from _pydev_bundle.pydev_imports import xmlrpclib, _queue\n\nQueue = _queue.Queue\nimport traceback\nimport sys\nfrom _pydev_runfiles.pydev_runfiles_coverage import start_coverage_support_from_params\nimport threading\n\n\n# =======================================================================================================================\n# ParallelNotification\n# =======================================================================================================================\nclass ParallelNotification(object):\n def __init__(self, method, args, kwargs):\n self.method = method\n self.args = args\n self.kwargs = kwargs\n\n def to_tuple(self):\n return self.method, self.args, self.kwargs\n\n\n# =======================================================================================================================\n# KillServer\n# =======================================================================================================================\nclass KillServer(object):\n pass\n\n\n# =======================================================================================================================\n# ServerComm\n# =======================================================================================================================\nclass ServerComm(threading.Thread):\n def __init__(self, job_id, server):\n self.notifications_queue = Queue()\n threading.Thread.__init__(self)\n self.setDaemon(False) # Wait for all the notifications to be passed before exiting!\n assert job_id is not None\n assert port is not None\n self.job_id = job_id\n\n self.finished = False\n self.server = server\n\n def run(self):\n while True:\n kill_found = False\n commands = []\n command = self.notifications_queue.get(block=True)\n if isinstance(command, KillServer):\n kill_found = True\n else:\n assert isinstance(command, ParallelNotification)\n commands.append(command.to_tuple())\n\n try:\n while True:\n command = self.notifications_queue.get(block=False) # No block to create a batch.\n if isinstance(command, KillServer):\n kill_found = True\n else:\n assert isinstance(command, ParallelNotification)\n commands.append(command.to_tuple())\n except:\n pass # That's OK, we're getting it until it becomes empty so that we notify multiple at once.\n\n if commands:\n try:\n # Batch notification.\n self.server.lock.acquire()\n try:\n self.server.notifyCommands(self.job_id, commands)\n finally:\n self.server.lock.release()\n except:\n traceback.print_exc()\n\n if kill_found:\n self.finished = True\n return\n\n\n# =======================================================================================================================\n# ServerFacade\n# =======================================================================================================================\nclass ServerFacade(object):\n def __init__(self, notifications_queue):\n self.notifications_queue = notifications_queue\n\n def notifyTestsCollected(self, *args, **kwargs):\n pass # This notification won't be passed\n\n def notifyTestRunFinished(self, *args, **kwargs):\n pass # This notification won't be passed\n\n def notifyStartTest(self, *args, **kwargs):\n self.notifications_queue.put_nowait(ParallelNotification("notifyStartTest", args, kwargs))\n\n def notifyTest(self, *args, **kwargs):\n self.notifications_queue.put_nowait(ParallelNotification("notifyTest", args, kwargs))\n\n\n# =======================================================================================================================\n# run_client\n# =======================================================================================================================\ndef run_client(job_id, port, verbosity, coverage_output_file, coverage_include):\n job_id = int(job_id)\n\n from _pydev_bundle import pydev_localhost\n\n server = xmlrpclib.Server("http://%s:%s" % (pydev_localhost.get_localhost(), port))\n server.lock = threading.Lock()\n\n server_comm = ServerComm(job_id, server)\n server_comm.start()\n\n try:\n server_facade = ServerFacade(server_comm.notifications_queue)\n from _pydev_runfiles import pydev_runfiles\n from _pydev_runfiles import pydev_runfiles_xml_rpc\n\n pydev_runfiles_xml_rpc.set_server(server_facade)\n\n # Starts None and when the 1st test is gotten, it's started (because a server may be initiated and terminated\n # before receiving any test -- which would mean a different process got all the tests to run).\n coverage = None\n\n try:\n tests_to_run = [1]\n while tests_to_run:\n # Investigate: is it dangerous to use the same xmlrpclib server from different threads?\n # It seems it should be, as it creates a new connection for each request...\n server.lock.acquire()\n try:\n tests_to_run = server.GetTestsToRun(job_id)\n finally:\n server.lock.release()\n\n if not tests_to_run:\n break\n\n if coverage is None:\n _coverage_files, coverage = start_coverage_support_from_params(None, coverage_output_file, 1, coverage_include)\n\n files_to_tests = {}\n for test in tests_to_run:\n filename_and_test = test.split("|")\n if len(filename_and_test) == 2:\n files_to_tests.setdefault(filename_and_test[0], []).append(filename_and_test[1])\n\n configuration = pydev_runfiles.Configuration(\n "",\n verbosity,\n None,\n None,\n None,\n files_to_tests,\n 1, # Always single job here\n None,\n # The coverage is handled in this loop.\n coverage_output_file=None,\n coverage_include=None,\n )\n test_runner = pydev_runfiles.PydevTestRunner(configuration)\n sys.stdout.flush()\n test_runner.run_tests(handle_coverage=False)\n finally:\n if coverage is not None:\n coverage.stop()\n coverage.save()\n\n except:\n traceback.print_exc()\n server_comm.notifications_queue.put_nowait(KillServer())\n\n\n# =======================================================================================================================\n# main\n# =======================================================================================================================\nif __name__ == "__main__":\n if len(sys.argv) - 1 == 3:\n job_id, port, verbosity = sys.argv[1:]\n coverage_output_file, coverage_include = None, None\n\n elif len(sys.argv) - 1 == 5:\n job_id, port, verbosity, coverage_output_file, coverage_include = sys.argv[1:]\n\n else:\n raise AssertionError("Could not find out how to handle the parameters: " + sys.argv[1:])\n\n job_id = int(job_id)\n port = int(port)\n verbosity = int(verbosity)\n run_client(job_id, port, verbosity, coverage_output_file, coverage_include)\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\pydev_runfiles_parallel_client.py
pydev_runfiles_parallel_client.py
Python
7,906
0.95
0.185567
0.153846
node-utils
890
2024-07-05T06:53:23.643567
BSD-3-Clause
false
470b4780c31b722707c93d8babc3f6d9
import base64\nimport os\nimport pickle\nimport sys\nimport time\nimport zlib\nfrom pathlib import Path\n\nimport pytest\nfrom pydevd_file_utils import canonical_normalized_path\n\nfrom _pydev_runfiles import pydev_runfiles_xml_rpc\n\n# =========================================================================\n# Load filters with tests we should skip\n# =========================================================================\npy_test_accept_filter = None\n\n\ndef _load_filters():\n global py_test_accept_filter\n if py_test_accept_filter is None:\n py_test_accept_filter = os.environ.get("PYDEV_PYTEST_SKIP")\n if py_test_accept_filter:\n py_test_accept_filter = pickle.loads(zlib.decompress(base64.b64decode(py_test_accept_filter)))\n\n # Newer versions of pytest resolve symlinks, so, we\n # may need to filter with a resolved path too.\n new_dct = {}\n for filename, value in py_test_accept_filter.items():\n new_dct[canonical_normalized_path(str(Path(filename).resolve()))] = value\n\n py_test_accept_filter.update(new_dct)\n\n else:\n py_test_accept_filter = {}\n\n\ndef is_in_xdist_node():\n main_pid = os.environ.get("PYDEV_MAIN_PID")\n if main_pid and main_pid != str(os.getpid()):\n return True\n return False\n\n\nconnected = False\n\n\ndef connect_to_server_for_communication_to_xml_rpc_on_xdist():\n global connected\n if connected:\n return\n connected = True\n if is_in_xdist_node():\n port = os.environ.get("PYDEV_PYTEST_SERVER")\n if port == "None":\n pass\n elif not port:\n sys.stderr.write("Error: no PYDEV_PYTEST_SERVER environment variable defined.\n")\n else:\n pydev_runfiles_xml_rpc.initialize_server(int(port), daemon=True)\n\n\nPY2 = sys.version_info[0] <= 2\nPY3 = not PY2\n\n\nclass State:\n start_time = time.time()\n buf_err = None\n buf_out = None\n\n\ndef start_redirect():\n if State.buf_out is not None:\n return\n from _pydevd_bundle import pydevd_io\n\n State.buf_err = pydevd_io.start_redirect(keep_original_redirection=True, std="stderr")\n State.buf_out = pydevd_io.start_redirect(keep_original_redirection=True, std="stdout")\n\n\ndef get_curr_output():\n buf_out = State.buf_out\n buf_err = State.buf_err\n return buf_out.getvalue() if buf_out is not None else "", buf_err.getvalue() if buf_err is not None else ""\n\n\ndef pytest_unconfigure():\n if is_in_xdist_node():\n return\n # Only report that it finished when on the main node (we don't want to report\n # the finish on each separate node).\n pydev_runfiles_xml_rpc.notifyTestRunFinished("Finished in: %.2f secs." % (time.time() - State.start_time,))\n\n\ndef pytest_collection_modifyitems(session, config, items):\n # A note: in xdist, this is not called on the main process, only in the\n # secondary nodes, so, we'll actually make the filter and report it multiple\n # times.\n connect_to_server_for_communication_to_xml_rpc_on_xdist()\n\n _load_filters()\n if not py_test_accept_filter:\n pydev_runfiles_xml_rpc.notifyTestsCollected(len(items))\n return # Keep on going (nothing to filter)\n\n new_items = []\n for item in items:\n f = canonical_normalized_path(str(item.parent.fspath))\n name = item.name\n\n if f not in py_test_accept_filter:\n # print('Skip file: %s' % (f,))\n continue # Skip the file\n\n i = name.find("[")\n name_without_parametrize = None\n if i > 0:\n name_without_parametrize = name[:i]\n\n accept_tests = py_test_accept_filter[f]\n\n if item.cls is not None:\n class_name = item.cls.__name__\n else:\n class_name = None\n for test in accept_tests:\n if test == name:\n # Direct match of the test (just go on with the default\n # loading)\n new_items.append(item)\n break\n\n if name_without_parametrize is not None and test == name_without_parametrize:\n # This happens when parameterizing pytest tests on older versions\n # of pytest where the test name doesn't include the fixture name\n # in it.\n new_items.append(item)\n break\n\n if class_name is not None:\n if test == class_name + "." + name:\n new_items.append(item)\n break\n\n if name_without_parametrize is not None and test == class_name + "." + name_without_parametrize:\n new_items.append(item)\n break\n\n if class_name == test:\n new_items.append(item)\n break\n else:\n pass\n # print('Skip test: %s.%s. Accept: %s' % (class_name, name, accept_tests))\n\n # Modify the original list\n items[:] = new_items\n pydev_runfiles_xml_rpc.notifyTestsCollected(len(items))\n\n\ntry:\n """\n pytest > 5.4 uses own version of TerminalWriter based on py.io.TerminalWriter\n and assumes there is a specific method TerminalWriter._write_source\n so try load pytest version first or fallback to default one\n """\n from _pytest._io import TerminalWriter\nexcept ImportError:\n from py.io import TerminalWriter\n\n\ndef _get_error_contents_from_report(report):\n if report.longrepr is not None:\n try:\n tw = TerminalWriter(stringio=True)\n stringio = tw.stringio\n except TypeError:\n import io\n\n stringio = io.StringIO()\n tw = TerminalWriter(file=stringio)\n tw.hasmarkup = False\n report.toterminal(tw)\n exc = stringio.getvalue()\n s = exc.strip()\n if s:\n return s\n\n return ""\n\n\ndef pytest_collectreport(report):\n error_contents = _get_error_contents_from_report(report)\n if error_contents:\n report_test("fail", "<collect errors>", "<collect errors>", "", error_contents, 0.0)\n\n\ndef append_strings(s1, s2):\n if s1.__class__ == s2.__class__:\n return s1 + s2\n\n # Prefer str\n if isinstance(s1, bytes):\n s1 = s1.decode("utf-8", "replace")\n\n if isinstance(s2, bytes):\n s2 = s2.decode("utf-8", "replace")\n\n return s1 + s2\n\n\ndef pytest_runtest_logreport(report):\n if is_in_xdist_node():\n # When running with xdist, we don't want the report to be called from the node, only\n # from the main process.\n return\n report_duration = report.duration\n report_when = report.when\n report_outcome = report.outcome\n\n if hasattr(report, "wasxfail"):\n if report_outcome != "skipped":\n report_outcome = "passed"\n\n if report_outcome == "passed":\n # passed on setup/teardown: no need to report if in setup or teardown\n # (only on the actual test if it passed).\n if report_when in ("setup", "teardown"):\n return\n\n status = "ok"\n\n elif report_outcome == "skipped":\n status = "skip"\n\n else:\n # It has only passed, skipped and failed (no error), so, let's consider\n # error if not on call.\n if report_when in ("setup", "teardown"):\n status = "error"\n\n else:\n # any error in the call (not in setup or teardown) is considered a\n # regular failure.\n status = "fail"\n\n # This will work if pytest is not capturing it, if it is, nothing will\n # come from here...\n captured_output, error_contents = getattr(report, "pydev_captured_output", ""), getattr(report, "pydev_error_contents", "")\n for type_section, value in report.sections:\n if value:\n if type_section in ("err", "stderr", "Captured stderr call"):\n error_contents = append_strings(error_contents, value)\n else:\n captured_output = append_strings(error_contents, value)\n\n filename = getattr(report, "pydev_fspath_strpath", "<unable to get>")\n test = report.location[2]\n\n if report_outcome != "skipped":\n # On skipped, we'll have a traceback for the skip, which is not what we\n # want.\n exc = _get_error_contents_from_report(report)\n if exc:\n if error_contents:\n error_contents = append_strings(error_contents, "----------------------------- Exceptions -----------------------------\n")\n error_contents = append_strings(error_contents, exc)\n\n report_test(status, filename, test, captured_output, error_contents, report_duration)\n\n\ndef report_test(status, filename, test, captured_output, error_contents, duration):\n """\n @param filename: 'D:\\src\\mod1\\hello.py'\n @param test: 'TestCase.testMet1'\n @param status: fail, error, ok\n """\n time_str = "%.2f" % (duration,)\n pydev_runfiles_xml_rpc.notifyTest(status, captured_output, error_contents, filename, test, time_str)\n\n\nif not hasattr(pytest, "hookimpl"):\n raise AssertionError("Please upgrade pytest (the current version of pytest: %s is unsupported)" % (pytest.__version__,))\n\n\n@pytest.hookimpl(hookwrapper=True)\ndef pytest_runtest_makereport(item, call):\n outcome = yield\n report = outcome.get_result()\n report.pydev_fspath_strpath = item.fspath.strpath\n report.pydev_captured_output, report.pydev_error_contents = get_curr_output()\n\n\n@pytest.mark.tryfirst\ndef pytest_runtest_setup(item):\n """\n Note: with xdist will be on a secondary process.\n """\n # We have our own redirection: if xdist does its redirection, we'll have\n # nothing in our contents (which is OK), but if it does, we'll get nothing\n # from pytest but will get our own here.\n start_redirect()\n filename = item.fspath.strpath\n test = item.location[2]\n\n pydev_runfiles_xml_rpc.notifyStartTest(filename, test)\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\pydev_runfiles_pytest2.py
pydev_runfiles_pytest2.py
Python
10,153
0.95
0.220779
0.144068
vue-tools
503
2025-03-16T10:00:44.774371
BSD-3-Clause
true
1551df09583c46090e2fbeda622ee3e6
import unittest as python_unittest\nfrom _pydev_runfiles import pydev_runfiles_xml_rpc\nimport time\nfrom _pydevd_bundle import pydevd_io\nimport traceback\nfrom _pydevd_bundle.pydevd_constants import * # @UnusedWildImport\nfrom io import StringIO\n\n\n# =======================================================================================================================\n# PydevTextTestRunner\n# =======================================================================================================================\nclass PydevTextTestRunner(python_unittest.TextTestRunner):\n def _makeResult(self):\n return PydevTestResult(self.stream, self.descriptions, self.verbosity)\n\n\n_PythonTextTestResult = python_unittest.TextTestRunner()._makeResult().__class__\n\n\n# =======================================================================================================================\n# PydevTestResult\n# =======================================================================================================================\nclass PydevTestResult(_PythonTextTestResult):\n def addSubTest(self, test, subtest, err):\n """Called at the end of a subtest.\n 'err' is None if the subtest ended successfully, otherwise it's a\n tuple of values as returned by sys.exc_info().\n """\n _PythonTextTestResult.addSubTest(self, test, subtest, err)\n if err is not None:\n subdesc = subtest._subDescription()\n error = (test, self._exc_info_to_string(err, test))\n self._reportErrors([error], [], "", "%s %s" % (self.get_test_name(test), subdesc))\n\n def startTest(self, test):\n _PythonTextTestResult.startTest(self, test)\n self.buf = pydevd_io.start_redirect(keep_original_redirection=True, std="both")\n self.start_time = time.time()\n self._current_errors_stack = []\n self._current_failures_stack = []\n\n try:\n test_name = test.__class__.__name__ + "." + test._testMethodName\n except AttributeError:\n # Support for jython 2.1 (__testMethodName is pseudo-private in the test case)\n test_name = test.__class__.__name__ + "." + test._TestCase__testMethodName\n\n pydev_runfiles_xml_rpc.notifyStartTest(test.__pydev_pyfile__, test_name)\n\n def get_test_name(self, test):\n try:\n try:\n test_name = test.__class__.__name__ + "." + test._testMethodName\n except AttributeError:\n # Support for jython 2.1 (__testMethodName is pseudo-private in the test case)\n try:\n test_name = test.__class__.__name__ + "." + test._TestCase__testMethodName\n # Support for class/module exceptions (test is instance of _ErrorHolder)\n except:\n test_name = test.description.split()[1][1:-1] + " <" + test.description.split()[0] + ">"\n except:\n traceback.print_exc()\n return "<unable to get test name>"\n return test_name\n\n def stopTest(self, test):\n end_time = time.time()\n pydevd_io.end_redirect(std="both")\n\n _PythonTextTestResult.stopTest(self, test)\n\n captured_output = self.buf.getvalue()\n del self.buf\n error_contents = ""\n test_name = self.get_test_name(test)\n\n diff_time = "%.2f" % (end_time - self.start_time)\n\n skipped = False\n outcome = getattr(test, "_outcome", None)\n if outcome is not None:\n skipped = bool(getattr(outcome, "skipped", None))\n\n if skipped:\n pydev_runfiles_xml_rpc.notifyTest("skip", captured_output, error_contents, test.__pydev_pyfile__, test_name, diff_time)\n elif not self._current_errors_stack and not self._current_failures_stack:\n pydev_runfiles_xml_rpc.notifyTest("ok", captured_output, error_contents, test.__pydev_pyfile__, test_name, diff_time)\n else:\n self._reportErrors(self._current_errors_stack, self._current_failures_stack, captured_output, test_name)\n\n def _reportErrors(self, errors, failures, captured_output, test_name, diff_time=""):\n error_contents = []\n for test, s in errors + failures:\n if type(s) == type((1,)): # If it's a tuple (for jython 2.1)\n sio = StringIO()\n traceback.print_exception(s[0], s[1], s[2], file=sio)\n s = sio.getvalue()\n error_contents.append(s)\n\n sep = "\n" + self.separator1\n error_contents = sep.join(error_contents)\n\n if errors and not failures:\n try:\n pydev_runfiles_xml_rpc.notifyTest("error", captured_output, error_contents, test.__pydev_pyfile__, test_name, diff_time)\n except:\n file_start = error_contents.find('File "')\n file_end = error_contents.find('", ', file_start)\n if file_start != -1 and file_end != -1:\n file = error_contents[file_start + 6 : file_end]\n else:\n file = "<unable to get file>"\n pydev_runfiles_xml_rpc.notifyTest("error", captured_output, error_contents, file, test_name, diff_time)\n\n elif failures and not errors:\n pydev_runfiles_xml_rpc.notifyTest("fail", captured_output, error_contents, test.__pydev_pyfile__, test_name, diff_time)\n\n else: # Ok, we got both, errors and failures. Let's mark it as an error in the end.\n pydev_runfiles_xml_rpc.notifyTest("error", captured_output, error_contents, test.__pydev_pyfile__, test_name, diff_time)\n\n def addError(self, test, err):\n _PythonTextTestResult.addError(self, test, err)\n # Support for class/module exceptions (test is instance of _ErrorHolder)\n if not hasattr(self, "_current_errors_stack") or test.__class__.__name__ == "_ErrorHolder":\n # Not in start...end, so, report error now (i.e.: django pre/post-setup)\n self._reportErrors([self.errors[-1]], [], "", self.get_test_name(test))\n else:\n self._current_errors_stack.append(self.errors[-1])\n\n def addFailure(self, test, err):\n _PythonTextTestResult.addFailure(self, test, err)\n if not hasattr(self, "_current_failures_stack"):\n # Not in start...end, so, report error now (i.e.: django pre/post-setup)\n self._reportErrors([], [self.failures[-1]], "", self.get_test_name(test))\n else:\n self._current_failures_stack.append(self.failures[-1])\n\n\nclass PydevTestSuite(python_unittest.TestSuite):\n pass\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\pydev_runfiles_unittest.py
pydev_runfiles_unittest.py
Python
6,707
0.95
0.234043
0.103448
python-kit
939
2025-06-21T15:39:51.340091
BSD-3-Clause
true
def8eeb92ff4fd3dfa93630d90147e64
import sys\nimport threading\nimport traceback\nimport warnings\n\nfrom _pydev_bundle._pydev_filesystem_encoding import getfilesystemencoding\nfrom _pydev_bundle.pydev_imports import _queue, xmlrpclib\nfrom _pydevd_bundle.pydevd_constants import Null\n\nQueue = _queue.Queue\n\n# This may happen in IronPython (in Python it shouldn't happen as there are\n# 'fast' replacements that are used in xmlrpclib.py)\nwarnings.filterwarnings("ignore", "The xmllib module is obsolete.*", DeprecationWarning)\n\nfile_system_encoding = getfilesystemencoding()\n\n\n# =======================================================================================================================\n# _ServerHolder\n# =======================================================================================================================\nclass _ServerHolder:\n """\n Helper so that we don't have to use a global here.\n """\n\n SERVER = None\n\n\n# =======================================================================================================================\n# set_server\n# =======================================================================================================================\ndef set_server(server):\n _ServerHolder.SERVER = server\n\n\n# =======================================================================================================================\n# ParallelNotification\n# =======================================================================================================================\nclass ParallelNotification(object):\n def __init__(self, method, args):\n self.method = method\n self.args = args\n\n def to_tuple(self):\n return self.method, self.args\n\n\n# =======================================================================================================================\n# KillServer\n# =======================================================================================================================\nclass KillServer(object):\n pass\n\n\n# =======================================================================================================================\n# ServerFacade\n# =======================================================================================================================\nclass ServerFacade(object):\n def __init__(self, notifications_queue):\n self.notifications_queue = notifications_queue\n\n def notifyTestsCollected(self, *args):\n self.notifications_queue.put_nowait(ParallelNotification("notifyTestsCollected", args))\n\n def notifyConnected(self, *args):\n self.notifications_queue.put_nowait(ParallelNotification("notifyConnected", args))\n\n def notifyTestRunFinished(self, *args):\n self.notifications_queue.put_nowait(ParallelNotification("notifyTestRunFinished", args))\n\n def notifyStartTest(self, *args):\n self.notifications_queue.put_nowait(ParallelNotification("notifyStartTest", args))\n\n def notifyTest(self, *args):\n new_args = []\n for arg in args:\n new_args.append(_encode_if_needed(arg))\n args = tuple(new_args)\n self.notifications_queue.put_nowait(ParallelNotification("notifyTest", args))\n\n\n# =======================================================================================================================\n# ServerComm\n# =======================================================================================================================\nclass ServerComm(threading.Thread):\n def __init__(self, notifications_queue, port, daemon=False):\n # If daemon is False, wait for all the notifications to be passed before exiting!\n threading.Thread.__init__(self, daemon=daemon)\n self.finished = False\n self.notifications_queue = notifications_queue\n\n from _pydev_bundle import pydev_localhost\n\n # It is necessary to specify an encoding, that matches\n # the encoding of all bytes-strings passed into an\n # XMLRPC call: "All 8-bit strings in the data structure are assumed to use the\n # packet encoding. Unicode strings are automatically converted,\n # where necessary."\n # Byte strings most likely come from file names.\n encoding = file_system_encoding\n if encoding == "mbcs":\n # Windos symbolic name for the system encoding CP_ACP.\n # We need to convert it into a encoding that is recognized by Java.\n # Unfortunately this is not always possible. You could use\n # GetCPInfoEx and get a name similar to "windows-1251". Then\n # you need a table to translate on a best effort basis. Much to complicated.\n # ISO-8859-1 is good enough.\n encoding = "ISO-8859-1"\n\n self.server = xmlrpclib.Server("http://%s:%s" % (pydev_localhost.get_localhost(), port), encoding=encoding)\n\n def run(self):\n while True:\n kill_found = False\n commands = []\n command = self.notifications_queue.get(block=True)\n if isinstance(command, KillServer):\n kill_found = True\n else:\n assert isinstance(command, ParallelNotification)\n commands.append(command.to_tuple())\n\n try:\n while True:\n command = self.notifications_queue.get(block=False) # No block to create a batch.\n if isinstance(command, KillServer):\n kill_found = True\n else:\n assert isinstance(command, ParallelNotification)\n commands.append(command.to_tuple())\n except:\n pass # That's OK, we're getting it until it becomes empty so that we notify multiple at once.\n\n if commands:\n try:\n self.server.notifyCommands(commands)\n except:\n traceback.print_exc()\n\n if kill_found:\n self.finished = True\n return\n\n\n# =======================================================================================================================\n# initialize_server\n# =======================================================================================================================\ndef initialize_server(port, daemon=False):\n if _ServerHolder.SERVER is None:\n if port is not None:\n notifications_queue = Queue()\n _ServerHolder.SERVER = ServerFacade(notifications_queue)\n _ServerHolder.SERVER_COMM = ServerComm(notifications_queue, port, daemon)\n _ServerHolder.SERVER_COMM.start()\n else:\n # Create a null server, so that we keep the interface even without any connection.\n _ServerHolder.SERVER = Null()\n _ServerHolder.SERVER_COMM = Null()\n\n try:\n if _ServerHolder.SERVER is not None:\n _ServerHolder.SERVER.notifyConnected()\n except:\n traceback.print_exc()\n\n\n# =======================================================================================================================\n# notifyTest\n# =======================================================================================================================\ndef notifyTestsCollected(tests_count):\n assert tests_count is not None\n try:\n if _ServerHolder.SERVER is not None:\n _ServerHolder.SERVER.notifyTestsCollected(tests_count)\n except:\n traceback.print_exc()\n\n\n# =======================================================================================================================\n# notifyStartTest\n# =======================================================================================================================\ndef notifyStartTest(file, test):\n """\n @param file: the tests file (c:/temp/test.py)\n @param test: the test ran (i.e.: TestCase.test1)\n """\n assert file is not None\n if test is None:\n test = "" # Could happen if we have an import error importing module.\n\n try:\n if _ServerHolder.SERVER is not None:\n _ServerHolder.SERVER.notifyStartTest(file, test)\n except:\n traceback.print_exc()\n\n\ndef _encode_if_needed(obj):\n # In the java side we expect strings to be ISO-8859-1 (org.python.pydev.debug.pyunit.PyUnitServer.initializeDispatches().new Dispatch() {...}.getAsStr(Object))\n if isinstance(obj, str): # Unicode in py3\n return xmlrpclib.Binary(obj.encode("ISO-8859-1", "xmlcharrefreplace"))\n\n elif isinstance(obj, bytes):\n try:\n return xmlrpclib.Binary(obj.decode(sys.stdin.encoding, "replace").encode("ISO-8859-1", "xmlcharrefreplace"))\n except:\n return xmlrpclib.Binary(obj) # bytes already\n\n return obj\n\n\n# =======================================================================================================================\n# notifyTest\n# =======================================================================================================================\ndef notifyTest(cond, captured_output, error_contents, file, test, time):\n """\n @param cond: ok, fail, error\n @param captured_output: output captured from stdout\n @param captured_output: output captured from stderr\n @param file: the tests file (c:/temp/test.py)\n @param test: the test ran (i.e.: TestCase.test1)\n @param time: float with the number of seconds elapsed\n """\n if _ServerHolder.SERVER is None:\n return\n\n assert cond is not None\n assert captured_output is not None\n assert error_contents is not None\n assert file is not None\n if test is None:\n test = "" # Could happen if we have an import error importing module.\n assert time is not None\n try:\n captured_output = _encode_if_needed(captured_output)\n error_contents = _encode_if_needed(error_contents)\n\n _ServerHolder.SERVER.notifyTest(cond, captured_output, error_contents, file, test, time)\n except:\n traceback.print_exc()\n\n\n# =======================================================================================================================\n# notifyTestRunFinished\n# =======================================================================================================================\ndef notifyTestRunFinished(total_time):\n assert total_time is not None\n try:\n if _ServerHolder.SERVER is not None:\n _ServerHolder.SERVER.notifyTestRunFinished(total_time)\n except:\n traceback.print_exc()\n\n\n# =======================================================================================================================\n# force_server_kill\n# =======================================================================================================================\ndef force_server_kill():\n _ServerHolder.SERVER_COMM.notifications_queue.put_nowait(KillServer())\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\pydev_runfiles_xml_rpc.py
pydev_runfiles_xml_rpc.py
Python
11,093
0.95
0.203846
0.252381
vue-tools
383
2024-09-03T12:02:37.486708
Apache-2.0
false
b841a6bb7563f61df849f166b551f183
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\__pycache__\pydev_runfiles.cpython-313.pyc
pydev_runfiles.cpython-313.pyc
Other
36,359
0.95
0.020779
0.011299
node-utils
718
2025-01-06T09:17:43.200264
GPL-3.0
false
07231649dac13b5f0be3c2303d4ab31d
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\__pycache__\pydev_runfiles_coverage.cpython-313.pyc
pydev_runfiles_coverage.cpython-313.pyc
Other
3,317
0.95
0.027778
0
python-kit
54
2023-10-31T22:16:38.109770
Apache-2.0
false
370a868f7c8e538d7f479b001e037638
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\__pycache__\pydev_runfiles_nose.cpython-313.pyc
pydev_runfiles_nose.cpython-313.pyc
Other
8,728
0.8
0.012048
0
vue-tools
860
2024-05-27T05:00:20.878822
GPL-3.0
false
c5f65426141e3eb9008cda383512e19d
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\__pycache__\pydev_runfiles_parallel.cpython-313.pyc
pydev_runfiles_parallel.cpython-313.pyc
Other
10,389
0.95
0.051546
0
node-utils
546
2025-03-19T03:17:08.803625
GPL-3.0
false
55cf26cfdb15309cbf7737f8bae790ec
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\__pycache__\pydev_runfiles_parallel_client.cpython-313.pyc
pydev_runfiles_parallel_client.cpython-313.pyc
Other
8,075
0.95
0
0
python-kit
116
2023-08-28T17:15:59.149669
Apache-2.0
false
cf01ee85d66e729d9f279e2a22311c28
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\__pycache__\pydev_runfiles_pytest2.cpython-313.pyc
pydev_runfiles_pytest2.cpython-313.pyc
Other
10,327
0.8
0
0.028571
vue-tools
328
2024-10-02T04:22:59.750302
BSD-3-Clause
true
0220025dd5a38c85fe13755d7e630a12
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\__pycache__\pydev_runfiles_unittest.cpython-313.pyc
pydev_runfiles_unittest.cpython-313.pyc
Other
8,254
0.8
0.016667
0.017241
vue-tools
300
2025-04-28T13:21:44.427085
Apache-2.0
true
c2a220cb90c5b6cf6db06385aa53e173
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\__pycache__\pydev_runfiles_xml_rpc.cpython-313.pyc
pydev_runfiles_xml_rpc.cpython-313.pyc
Other
9,717
0.95
0
0.016129
awesome-app
582
2023-10-17T18:46:46.219620
MIT
false
46b7890b3f83571bf94572a982977b2a
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\_pydev_runfiles\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
215
0.7
0
0
react-lib
143
2023-09-21T14:20:26.652325
MIT
false
96fca842efa1304432e0924f65080c75
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\__pycache__\pydevconsole.cpython-313.pyc
pydevconsole.cpython-313.pyc
Other
21,905
0.95
0.019355
0
python-kit
841
2024-11-24T02:57:29.131276
GPL-3.0
false
debcede612aff42846e7175b7ac5d32b
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\__pycache__\pydevd_file_utils.cpython-313.pyc
pydevd_file_utils.cpython-313.pyc
Other
33,557
0.95
0.050781
0
react-lib
922
2023-12-28T11:13:49.680747
MIT
false
e4345205b0bf7639c55654deb30fdc0b
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\__pycache__\pydevd_tracing.cpython-313.pyc
pydevd_tracing.cpython-313.pyc
Other
15,723
0.95
0.017094
0
awesome-app
547
2023-12-22T02:56:17.240726
Apache-2.0
false
d3f10ff945b9c0db36baa5116d18d306
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\__pycache__\pydev_app_engine_debug_startup.cpython-313.pyc
pydev_app_engine_debug_startup.cpython-313.pyc
Other
1,005
0.7
0
0
react-lib
739
2024-12-09T22:05:20.083509
Apache-2.0
false
1006acb7343b4e6d711b9b7d4e5f0659
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\__pycache__\pydev_coverage.cpython-313.pyc
pydev_coverage.cpython-313.pyc
Other
4,116
0.95
0.018182
0
node-utils
966
2024-11-21T01:43:13.644427
Apache-2.0
false
e18a82b30d92060c865e094ce7bbf48b
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\__pycache__\pydev_pysrc.cpython-313.pyc
pydev_pysrc.cpython-313.pyc
Other
311
0.85
0
0
node-utils
448
2024-07-25T07:39:00.875630
GPL-3.0
false
ab0c34e0a9e52d30ca6d707b74ce37f7
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\__pycache__\pydev_run_in_console.cpython-313.pyc
pydev_run_in_console.cpython-313.pyc
Other
5,384
0.95
0
0
awesome-app
489
2024-12-19T11:56:17.778573
BSD-3-Clause
false
ee531ebc872706cda439a7989ea891fa
\n\n
.venv\Lib\site-packages\debugpy\_vendored\pydevd\__pycache__\setup_pydevd_cython.cpython-313.pyc
setup_pydevd_cython.cpython-313.pyc
Other
11,376
0.8
0.020202
0.074468
vue-tools
502
2023-12-07T12:07:39.494316
BSD-3-Clause
false
78cc65ea6d364f7fd81e43cb08908175
\n\n
.venv\Lib\site-packages\debugpy\_vendored\__pycache__\force_pydevd.cpython-313.pyc
force_pydevd.cpython-313.pyc
Other
3,024
0.95
0
0
node-utils
457
2024-08-03T14:20:40.928500
GPL-3.0
false
538e34e83bd894a5caa42d3ee1d49465
\n\n
.venv\Lib\site-packages\debugpy\_vendored\__pycache__\_pydevd_packaging.cpython-313.pyc
_pydevd_packaging.cpython-313.pyc
Other
1,361
0.7
0
0
react-lib
839
2023-10-16T19:50:12.032711
MIT
false
81073da4026a362424c15a1fbc0f1576
\n\n
.venv\Lib\site-packages\debugpy\_vendored\__pycache__\_util.cpython-313.pyc
_util.cpython-313.pyc
Other
2,550
0.8
0.111111
0
python-kit
349
2024-02-22T15:34:33.797613
BSD-3-Clause
false
6d7e6ca14e7a11aca46fe127a2d23007
\n\n
.venv\Lib\site-packages\debugpy\_vendored\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
5,159
0.95
0.093023
0
vue-tools
808
2025-01-01T20:34:15.855513
MIT
false
98d93a318ca96c47b6c5ba33dfe23fd8
\n\n
.venv\Lib\site-packages\debugpy\__pycache__\public_api.cpython-313.pyc
public_api.cpython-313.pyc
Other
7,353
0.95
0.11811
0
react-lib
90
2024-03-13T20:58:23.616457
BSD-3-Clause
false
44f475e0cd1215aff356f75c8667c743
\n\n
.venv\Lib\site-packages\debugpy\__pycache__\_version.cpython-313.pyc
_version.cpython-313.pyc
Other
573
0.8
0
0
awesome-app
464
2023-11-15T12:42:48.195762
MIT
false
3669be70f58f44c6a5ec2eb2e3a95ac5
\n\n
.venv\Lib\site-packages\debugpy\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
777
0.8
0.111111
0
node-utils
171
2024-02-25T17:28:08.921884
GPL-3.0
false
d5f72d163608022aa574961f6e8e5e28
\n\n
.venv\Lib\site-packages\debugpy\__pycache__\__main__.cpython-313.pyc
__main__.cpython-313.pyc
Other
562
0.8
0
0
awesome-app
528
2024-05-28T10:02:51.031509
BSD-3-Clause
false
f28276760a509dec807923219a2e5a0e
[console_scripts]\ndebugpy = debugpy.server.cli:main\ndebugpy-adapter = debugpy.adapter.__main__:main\n
.venv\Lib\site-packages\debugpy-1.8.14.dist-info\entry_points.txt
entry_points.txt
Other
100
0.7
0
0
react-lib
147
2025-06-28T15:08:27.955551
Apache-2.0
false
c84a05a5a5cc358a88505c77949de770
pip\n
.venv\Lib\site-packages\debugpy-1.8.14.dist-info\INSTALLER
INSTALLER
Other
4
0.5
0
0
python-kit
746
2024-11-11T08:53:04.119646
Apache-2.0
false
365c9bfeb7d89244f2ce01c1de44cb85
Metadata-Version: 2.4\nName: debugpy\nVersion: 1.8.14\nSummary: An implementation of the Debug Adapter Protocol for Python\nHome-page: https://aka.ms/debugpy\nAuthor: Microsoft Corporation\nAuthor-email: ptvshelp@microsoft.com\nLicense: MIT\nProject-URL: Source, https://github.com/microsoft/debugpy\nClassifier: Development Status :: 5 - Production/Stable\nClassifier: Programming Language :: Python :: 3.8\nClassifier: Programming Language :: Python :: 3.9\nClassifier: Programming Language :: Python :: 3.10\nClassifier: Programming Language :: Python :: 3.11\nClassifier: Programming Language :: Python :: 3.12\nClassifier: Topic :: Software Development :: Debuggers\nClassifier: Operating System :: Microsoft :: Windows\nClassifier: Operating System :: MacOS\nClassifier: Operating System :: POSIX\nClassifier: License :: OSI Approved :: MIT License\nRequires-Python: >=3.8\nDescription-Content-Type: text/markdown\nLicense-File: LICENSE\nDynamic: author\nDynamic: author-email\nDynamic: classifier\nDynamic: description\nDynamic: description-content-type\nDynamic: home-page\nDynamic: license\nDynamic: license-file\nDynamic: project-url\nDynamic: requires-python\nDynamic: summary\n\ndebugpy is an implementation of the Debug Adapter Protocol for Python.\n\nThe source code and the issue tracker is [hosted on GitHub](https://github.com/microsoft/debugpy/).\n
.venv\Lib\site-packages\debugpy-1.8.14.dist-info\METADATA
METADATA
Other
1,366
0.95
0.052632
0
node-utils
659
2024-07-17T16:07:51.900067
BSD-3-Clause
false
e806e5c0542c9da708246b3fb13aab51
../../Scripts/debugpy-adapter.exe,sha256=aRlpvgxWJaQx416to3nCAB3UJWMVjoo5ogez2qeigYs,108425\n../../Scripts/debugpy.exe,sha256=_DfGptA6jly-OsQja8IjJok5IRkJNlp4V76rz_eptcM,108419\ndebugpy-1.8.14.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4\ndebugpy-1.8.14.dist-info/METADATA,sha256=rp6VixESOLfNbBALOLhQHZgKK-h4Z9cuuiPjiEQwFt0,1366\ndebugpy-1.8.14.dist-info/RECORD,,\ndebugpy-1.8.14.dist-info/WHEEL,sha256=6WoW_bHwIgUwfRGomr3tsp2x5B1WboZF1vodYe1_93Y,101\ndebugpy-1.8.14.dist-info/entry_points.txt,sha256=_TOrNxT85wBrs8Ah29jo4hfz4yaNfB5nKLabCB5PVos,100\ndebugpy-1.8.14.dist-info/licenses/LICENSE,sha256=ZJhE9g2hOOVLm8wTM4xixfl76GEstiSawQ-Eu7l__Ig,1200\ndebugpy-1.8.14.dist-info/top_level.txt,sha256=6Om6JTEaqkWnj-9-7kJOJr988sTO6iSuiK4N9X6RLpg,8\ndebugpy/ThirdPartyNotices.txt,sha256=47qqUyueIwOxh7GOBd_tSJYdbRbILQrkeXiy_SzkcIQ,34844\ndebugpy/__init__.py,sha256=F4V93y2TH7QEsa0RqkyDN32tUyzlCnKAL2xyvdZxNgE,1056\ndebugpy/__main__.py,sha256=9b4lASAY-k28C0Qr4tCNK5cLEt9-52UyNrDOuKRxszQ,3258\ndebugpy/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/__pycache__/__main__.cpython-313.pyc,,\ndebugpy/__pycache__/_version.cpython-313.pyc,,\ndebugpy/__pycache__/public_api.cpython-313.pyc,,\ndebugpy/_vendored/__init__.py,sha256=X2LMEb9UfYzaYGk49Mf1qsmKykFrhhO01bMc-gLyfh0,4004\ndebugpy/_vendored/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/__pycache__/_pydevd_packaging.cpython-313.pyc,,\ndebugpy/_vendored/__pycache__/_util.cpython-313.pyc,,\ndebugpy/_vendored/__pycache__/force_pydevd.cpython-313.pyc,,\ndebugpy/_vendored/_pydevd_packaging.py,sha256=ZeQBeeDtG3i75XCQUsyYX3CfI4fANBk9nCOwpLJ1yHE,1293\ndebugpy/_vendored/_util.py,sha256=nkfFuyOKwPUY1Mnku-3-SYIQDeUeidEPklaJCyIQgTw,1899\ndebugpy/_vendored/force_pydevd.py,sha256=q0Hb3NBYu053_v1LqqwfMnOlJ7VtPWsEnBTSpXALs0g,3253\ndebugpy/_vendored/pydevd/__pycache__/pydev_app_engine_debug_startup.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/__pycache__/pydev_coverage.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/__pycache__/pydev_pysrc.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/__pycache__/pydev_run_in_console.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/__pycache__/pydevconsole.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/__pycache__/pydevd.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/__pycache__/pydevd_file_utils.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/__pycache__/pydevd_tracing.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/__pycache__/setup_pydevd_cython.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/_pydev_calltip_util.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/_pydev_completer.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/_pydev_execfile.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/_pydev_filesystem_encoding.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/_pydev_getopt.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/_pydev_imports_tipper.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/_pydev_jy_imports_tipper.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/_pydev_log.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/_pydev_saved_modules.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/_pydev_sys_patch.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/_pydev_tipper_common.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/pydev_console_utils.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/pydev_import_hook.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/pydev_imports.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/pydev_ipython_console.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/pydev_ipython_console_011.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/pydev_is_thread_alive.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/pydev_localhost.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/pydev_log.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/pydev_monkey.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/pydev_monkey_qt.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/pydev_override.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/pydev_umd.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/__pycache__/pydev_versioncheck.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/_pydev_calltip_util.py,sha256=mKCq9Os9C3XcGp8CNnj3DMdOoGhOOIEU4aPkHBYG58E,4837\ndebugpy/_vendored/pydevd/_pydev_bundle/_pydev_completer.py,sha256=fmhHyF3Ct1OEw6Go_nkr6u3lcuMNA0DDwfRVHL0kDXw,8802\ndebugpy/_vendored/pydevd/_pydev_bundle/_pydev_execfile.py,sha256=r88arfUo-XRQ0g8AOqVGnLXKV22wLtvR0-uMtKBcZ1k,501\ndebugpy/_vendored/pydevd/_pydev_bundle/_pydev_filesystem_encoding.py,sha256=5jf71i_CraPZqg24ltOE5a_ONBytxi8Z98MYqyiIsD8,1144\ndebugpy/_vendored/pydevd/_pydev_bundle/_pydev_getopt.py,sha256=qGGEvnbb7jGGmOiqR8BRv5UuP9g4UrHqiUDApzo8uPw,4562\ndebugpy/_vendored/pydevd/_pydev_bundle/_pydev_imports_tipper.py,sha256=8T-GeBuqn7YjhVOzkEos3O-Snc2yyPAtIcBK5NMaHzA,12684\ndebugpy/_vendored/pydevd/_pydev_bundle/_pydev_jy_imports_tipper.py,sha256=P6hcMXp8i2qtKk9AKugBNP68xeW-KgEtXC-ZfK0sPN4,17479\ndebugpy/_vendored/pydevd/_pydev_bundle/_pydev_log.py,sha256=berDApmD1pPfLbSu1M42lI9w__SgyLGmb4kXPQLHmsA,577\ndebugpy/_vendored/pydevd/_pydev_bundle/_pydev_saved_modules.py,sha256=ehfr0Ppukfb2VAxVcAYNRhm5bJ6ecu6Zb7VXVoZfnMQ,4874\ndebugpy/_vendored/pydevd/_pydev_bundle/_pydev_sys_patch.py,sha256=yHqYlL5q9DcmuDrzr-0ABt_cnqi2X0k9iIdD0_Ek9B0,2314\ndebugpy/_vendored/pydevd/_pydev_bundle/_pydev_tipper_common.py,sha256=zJRy2W_64GKddZvkm40V_n77bZvn52ItTvgisLwkpa4,1281\ndebugpy/_vendored/pydevd/_pydev_bundle/fsnotify/__init__.py,sha256=yXS5G5bolJ9W35oQvw_VjYgS6dIw1TjCr4Po3QUPZhY,13055\ndebugpy/_vendored/pydevd/_pydev_bundle/fsnotify/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_bundle/pydev_console_utils.py,sha256=rAHp-etvzBOGHIhUsZaC4CywT_Ard00_iVI70NGDVMg,24391\ndebugpy/_vendored/pydevd/_pydev_bundle/pydev_import_hook.py,sha256=aL_4ExxlPunWfuGMV9UbV67G5cSkOuakwKyezr5Ashg,1358\ndebugpy/_vendored/pydevd/_pydev_bundle/pydev_imports.py,sha256=O8e-SDRsxliMo7qTiomW1lMHAtKaA1Atj1pRVAXSTc0,415\ndebugpy/_vendored/pydevd/_pydev_bundle/pydev_ipython_console.py,sha256=nnPdCz3OKkPoz6HJGrtAhMp7fYqmi_f6I9uPNBbp9s4,3868\ndebugpy/_vendored/pydevd/_pydev_bundle/pydev_ipython_console_011.py,sha256=y4lMQ4IoKfvvgfHt5Qi4_Dorn8MBRF6bcSBA9bkxW44,21267\ndebugpy/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py,sha256=acY5u3D25P5O-G9ta9umjSat8Z_h1ZSUrR3BNPu-Pk0,907\ndebugpy/_vendored/pydevd/_pydev_bundle/pydev_localhost.py,sha256=pVFtReq7m8ASqzDCoQn6UNJr9WdUIE_2LPBxYC7v3BU,2139\ndebugpy/_vendored/pydevd/_pydev_bundle/pydev_log.py,sha256=XTeoga6NfJ2IubIeN1wtN6Sn0j7lpmoFbpR06jpSnsg,9605\ndebugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py,sha256=j58MXu1gCT2hJ3Omz_hTzhZTLBsUzN-7yEqf1p46URE,45443\ndebugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey_qt.py,sha256=4ed6XdJ79UE1vzaz09Bnx2clUdlTVpPDr4aRnvaYyM8,7530\ndebugpy/_vendored/pydevd/_pydev_bundle/pydev_override.py,sha256=ZGUjBbzV2gsaxi4LXuYzOPZp-Wfb_u0VixHuwfcBAA0,908\ndebugpy/_vendored/pydevd/_pydev_bundle/pydev_umd.py,sha256=zoCunk-UenK6mhKWFUMk7ncdOuAkWeFhHDU2Jxo6lB4,6409\ndebugpy/_vendored/pydevd/_pydev_bundle/pydev_versioncheck.py,sha256=H044ieOgEG3rfFY3av4cbXo_fJUfgG7WHX8XGNKqoTs,524\ndebugpy/_vendored/pydevd/_pydev_runfiles/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\ndebugpy/_vendored/pydevd/_pydev_runfiles/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_runfiles/__pycache__/pydev_runfiles.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_runfiles/__pycache__/pydev_runfiles_coverage.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_runfiles/__pycache__/pydev_runfiles_nose.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_runfiles/__pycache__/pydev_runfiles_parallel.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_runfiles/__pycache__/pydev_runfiles_parallel_client.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_runfiles/__pycache__/pydev_runfiles_pytest2.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_runfiles/__pycache__/pydev_runfiles_unittest.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_runfiles/__pycache__/pydev_runfiles_xml_rpc.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles.py,sha256=oWq_BdHZ-fquD6ZPKb2TsmX_yEiv5vLiFPjoBlgunAE,33562\ndebugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_coverage.py,sha256=zzhvUR99uCNwrmdWUgc4a-u8kqM0BaWiU2kfYnch74k,3485\ndebugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_nose.py,sha256=ZfhtlyVLOmPHbunir2CUsFsHcsfOMZLamL1yirwMSlI,7762\ndebugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_parallel.py,sha256=WvGMm7ONerpEzffYtH5tKv5xYTlw7HiOIp1VJItxIV8,9746\ndebugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_parallel_client.py,sha256=_CNo0g1KVcjNAtEnTytB_dB7kiTcGFy-Fgv-vx3ej0E,7906\ndebugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_pytest2.py,sha256=dUG2YinG8MXmy1uvpZyKyFqXh56ZNGFG9TbhbHY2oSs,10153\ndebugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_unittest.py,sha256=HySm3cRPwVV2xCbD94ZNm6I02ScppV6TBgaaWpztJwQ,6707\ndebugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_xml_rpc.py,sha256=KKroSy8czV7X7f7DxzKnlt5x3d3YVV8yXVQfstLO4Dw,11093\ndebugpy/_vendored/pydevd/_pydevd_bundle/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevconsole_code.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_additional_thread_info.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_additional_thread_info_regular.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_api.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_breakpoints.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_bytecode_utils.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_bytecode_utils_py311.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_code_to_source.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_collect_bytecode_info.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_comm.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_comm_constants.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_command_line_handling.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_console.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_constants.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_custom_frames.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_cython_wrapper.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_daemon_thread.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_defaults.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_dont_trace.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_dont_trace_files.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_exec2.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_extension_api.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_extension_utils.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_filtering.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_frame.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_frame_utils.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_gevent_integration.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_import_class.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_io.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_json_debug_options.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_net_command.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_net_command_factory_json.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_net_command_factory_xml.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_plugin_utils.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_process_net_command.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_process_net_command_json.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_referrers.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_reload.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_resolver.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_runpy.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_safe_repr.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_save_locals.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_signature.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_source_mapping.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_stackless.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_suspended_frames.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_thread_lifecycle.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_timeout.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_trace_dispatch.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_trace_dispatch_regular.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_traceproperty.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_utils.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_vars.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_vm_type.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/__pycache__/pydevd_xml.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\ndebugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py,sha256=X3oG0tYDfvZls8w8UeBsGjk-2hDzCPpkQHekGMS1LHM,23959\ndebugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__pycache__/__main__pydevd_gen_debug_adapter_protocol.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__pycache__/pydevd_base_schema.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__pycache__/pydevd_schema.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__pycache__/pydevd_schema_log.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/debugProtocol.json,sha256=GDwhshyO3VxxY-Xt3fEGzwqOEc9i03rBfUejqEcAbJk,174580\ndebugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/debugProtocolCustom.json,sha256=q-xmea882cnHWUiyX-nr5KrPe2JItmPJsubiq0-VTC8,10940\ndebugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_base_schema.py,sha256=xkq1SFSdV-fATabTFfotBLlICCcBGGPHMhLWc7hNMx0,4143\ndebugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema.py,sha256=snrpmyJJ6HdKpilCCtG6PY-MM_TG2yKv0qRB5FOH1tA,860496\ndebugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema_log.py,sha256=80Gevuyh7rkHWtORVLeB3KFoy30WI-9DcFLr0varH6w,1299\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevconsole_code.py,sha256=xdFXB6MwtwqVZgI6bKSA_m6WFVesA_6zVGrepdxtlBs,19489\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info.py,sha256=5FTLYoS550nnKIv2olEPJCXg_lHrmT_veCBYg2AZZWc,1685\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py,sha256=l2Jm44T31FqaS1h6vHYQIJACsBzpYv5-QQLu61-rD9g,11139\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_api.py,sha256=7c2wx1p91eIyA5TUgL7DIzQzbu2CBKfKFYoW4TykEFY,52496\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_breakpoints.py,sha256=9Ne8Lt7MSvtajr9V6twZd580uCYH_jaQBNo8dBNe3Lg,6185\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_bytecode_utils.py,sha256=rYwpcPYHq5Nrzhc7FO6UguLUHdeyOqh5XpGafUQgYLI,29963\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_bytecode_utils_py311.py,sha256=gJSiSB__foZj1-xk6dbFWutbeK_6Gho53vEWx19y3sQ,3705\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_code_to_source.py,sha256=HfWM-ZqUgsPPWVBDwes9IuKaSLG8ZB3lhDfFEuq6hyw,18165\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_collect_bytecode_info.py,sha256=kBsq-pkF5rcRbqVKYbNEqmbtjBaWNZus8In4PhfQYmY,36003\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py,sha256=z3NVSHAD7IUY-gJYxaf1HjwA4RRdazJSt4W7cwvxikk,81335\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm_constants.py,sha256=DzJK0CziD_y-uktAETMsGL-uJtqv02ISEz5U3f-ZNxc,6276\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py,sha256=v9aMI1KpIAoDl7Il4J_Eq-xLu9ywXU3uozuycvpm6FM,6283\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__/pydevd_concurrency_logger.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__/pydevd_thread_wrappers.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.py,sha256=tQDy9L7rHYppQnxNowO-qB-JCWzb8aT-u-PwhFUS3Hg,21190\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_thread_wrappers.py,sha256=RTuWPNE4o7I60icJ_92Q-w3Dr09m5pvmjZTV5WPnVVE,2120\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_console.py,sha256=zpKrmt7t8MDJOQASS3IWV-t0x1q0KKn1jUq9Gmou0co,10434\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_constants.py,sha256=nnWG4RotUi-IPsNgFow5SmisYlNHTk5bOhqtl8AFzQ4,29340\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_custom_frames.py,sha256=HvP6CQt32WPiLpnQFzJJbsVwFkRRvYpDXoqLWnZQ3l0,4538\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.c,sha256=xe7rkSjx4iZwIBTLoKqtS57oGiaCRabKBGfI_usGo24,2676744\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.cp313-win_amd64.pyd,sha256=cPsrvFe5HXLnMHEJpH59D43FQMW3pG8skLCwSz7xRSs,406576\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.pxd,sha256=P8c7ARyAiL_ZnVrZTWrONzgPriMel8B4_jgIh_8Jq24,1732\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.pyx,sha256=OrdZ3st49zoOyRSPijhwDzueLPyRutO8nzg0ugq5JyI,101046\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython_wrapper.py,sha256=E_at26A0Efx4bXGYch2gzqFpDx7KPdu4XNUEMOUpB4E,1913\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py,sha256=56eFjY--HXRA00ePMUG9_mQN8CFApQmrgVLorIzIE3M,8579\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_defaults.py,sha256=V2LH9LxI-1G5ZAmzkxGWksooD2sSLjqwm3efnfaffmc,2358\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_dont_trace.py,sha256=VGoDp3gRtMmhqwMUoGSG4XwD5TynynJ45ocbpTQA7Cs,3685\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_dont_trace_files.py,sha256=QeTSug7s2kxreNSg05P-S9DkUXLI16F4fF9Hqgwb_WU,6541\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_exec2.py,sha256=uYH9ICJbViilxNO2eWEatmnlzaKGGPsuzPeDiCV9xsQ,165\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_extension_api.py,sha256=kXiTFjPzx-ck3BRAso-PfVXwmWsowjZFanHb3k82rl4,4013\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_extension_utils.py,sha256=t8ZbhuD5mw1Uk5DDpP3XTmzr0ZTsO5Nu-8tMmshaWVY,2365\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_filtering.py,sha256=S8z8KvD9eGN455dFYDy6SBDPPbFRdz_nnINiJJbknxM,13331\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame.py,sha256=XOsZJVwkrpHzS_U0DnuH8y8AucgHSW12YgPvZ8r1xBE,65836\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame_utils.py,sha256=lGPHeEtctGs3U1w6Q-LmjVmkdwPyqTs6lJ2h7gtQ5WI,14529\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_gevent_integration.py,sha256=tK5XKFdm9nrng6iahoKXo-qU6cGpx9qfEnTJ_1RQKYI,3957\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_import_class.py,sha256=LvvAc5jF_5xrjlj-hA_AQxgzMylMSWmIKvSJGJzalpc,1849\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_io.py,sha256=WRyJl05XYJbARv5VO4QetA4BGK5du891j17WaqEkuwA,8371\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_json_debug_options.py,sha256=mGpPOb7imeG0LKcPks3XjW1toj6CuAzwTkiTfdQl2XY,6353\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command.py,sha256=nnxWNJftxlGw3NRzxp--lPuOdOOWsEyhEsBB7z6qzZo,4852\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command_factory_json.py,sha256=jZUtfBCTaxhhuX-TYrOKj4iiOGbQg07GoQmI2sDv1Ng,25782\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command_factory_xml.py,sha256=2SnjQ7h34RzWseCPTVrH4wpzN4y7L6wBpSRSMz3Lh7c,24342\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_plugin_utils.py,sha256=BFZZd0MoOEEPKA5rYjrpr-lHQ8NiWZbqlVUarQAshEs,7427\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_process_net_command.py,sha256=xZ9eJKal4YKofgW4d2bq0FzaMVSGnet7ElFUOyhFYsc,36814\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_process_net_command_json.py,sha256=_6WHEO_nmcTsnBZfHmsxX1cynlwOv2lAhjZ8KRFJzIc,58893\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_referrers.py,sha256=XZyvA2tXMvB06CkU9tIrhWYEUqUYOEWE1vm_s9KAhn4,9930\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_reload.py,sha256=BQWvgpuHn8Onou6Gq52FaH_bovpWFil6Mx6E7rKPbNQ,16212\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_resolver.py,sha256=LzqXGqQvbZU9tWpTztdY7kMEaLuDkhHSOV4UhcEjRPA,30451\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py,sha256=5Ym7qspy0L5X5gB644U5Iave888efyImpr6YWO_9T3U,13346\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py,sha256=peNBidaZd2OtGRzrx6-Sn_uC9XlHU7rdjV4nCkpuGak,14787\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py,sha256=-Gh7L0bQld-ojcZ1sg6SsTFm3dJqf_1awT-L3rJZ0Gk,4290\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_signature.py,sha256=aBdFvHFszxM-Dz7dDA4CqYquy4ceLRKyBVGRiUIE3pY,7078\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_source_mapping.py,sha256=4113H9PCY_MiIqtmch1v8DfzOVTfMvfXKYnJD-EZr9s,6643\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_stackless.py,sha256=jAz6_TjQvJxSthDe_RpYQ4MlN9e0hixUVLZzC75r28I,17333\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_suspended_frames.py,sha256=8JsaniVzUOyS1oXkeC7cMAmbpGy-8PoMll9-TI51K-U,21720\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_thread_lifecycle.py,sha256=Ot1OpztHf2BKLhbXG0blh29c55gDSBqmGZi6lTF4Ukg,3960\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_timeout.py,sha256=AyY7WixUnijEaWHR2iQlKuvMWrDoTLjaiJ0jJ8B2_9I,8644\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_dispatch.py,sha256=tBpRaQdSU9OaE-E191bYYCMBHJP8EEw1drxu0mMl7R0,4009\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_dispatch_regular.py,sha256=KP2OzLNsOOZT7RAbl9iUlxj2zMbHwsG0lx_gr30prwg,23908\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_traceproperty.py,sha256=K9TXAgz9kZdhgc-HD0rJ9pXj1FJQgrrWnL0QodvWaic,3345\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_utils.py,sha256=KpUEaRz-VEfPq21igdWH89L1erw9XS4TXGvpd2hkmBM,18336\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py,sha256=7kojH1h1P_EGyEjurJnLYGXOekPYUBNcbMbbh4DcnCc,32343\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vm_type.py,sha256=cnKHitcZ1U-EgwGp8w5uTSnsn-9NRRkwoJP56Sgsz30,1597\ndebugpy/_vendored/pydevd/_pydevd_bundle/pydevd_xml.py,sha256=dDJb-U_1YKAJzn2-ZuOuO3krxLvwFsXaBtIJHBtw0mQ,15933\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/.gitignore,sha256=KFTd4SAAJbN6dEYOm9rrBVfyjo5Ht00XH0aWWZSbyBI,90\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/__pycache__/pydevd_frame_eval_cython_wrapper.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/__pycache__/pydevd_frame_eval_main.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/__pycache__/pydevd_frame_tracing.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/__pycache__/pydevd_modify_bytecode.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_cython_wrapper.py,sha256=JQiRZ5FGT-BO7P9W6FKN8G4slIJvuOc1KMVqXKpq52E,1384\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_main.py,sha256=HHdrAPYCnN7XHBS78HM8arPuWwtUmvJ57nWA-Yi_gBY,2515\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.c,sha256=yTOhGHpLBW2Ajw3B5uuuXQIx7BuNUSWW111XNsnC4EE,1207712\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.pxd,sha256=N1G8pucXI-Bu23PtYgFPaP4hB0EYw6ExuMQZJxX0YAw,5455\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.template.pyx,sha256=n47QB8tJmBm4AEWMN4idVLGc3p4SuxXaf1nMcra1Aj8,25163\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_tracing.py,sha256=dHgbbT0xwoSPoKptBUxcQR9KPNK9cn-pBGHzHRb7zS4,4339\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_modify_bytecode.py,sha256=oSiHPsaL9cDs1mbvc6WPGEPHXzGmEoeO5Zk05WnE3BQ,13908\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/release_mem.h,sha256=e4E5UnMBSI4D-EcLFDOU-8kaKQy4u9WgzUZ2kZZxA94,84\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/README.txt,sha256=1djz91cGc8fWy-vFs-pJgftUnsrH_Di_Bfy72e11Fms,717\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/__pycache__/pydevd_fix_code.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/__init__.py,sha256=BQgaAF4JepnryoVyxZni9On7WxXyclcuHMOWpyEUuSw,4284\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/__pycache__/bytecode.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/__pycache__/cfg.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/__pycache__/concrete.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/__pycache__/flags.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/__pycache__/instr.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/__pycache__/peephole_opt.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/bytecode.py,sha256=8Z3TR4lOHJaUCctNUF6RpjULTWfI-cVub_5L_1izwyA,7297\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/cfg.py,sha256=aLIynwn1VvedXPuSiduD92LXdu4Sjl7BpO21XhEv5YI,15549\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/concrete.py,sha256=mQTiY5-ZzQJgPYSKwLk2D02kZ5qPcd0GN2X1LyNOt3Q,22811\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/flags.py,sha256=xMNyCDh_aslsRM-k0VBqW6dPAIjvuPeC98iwB2Y-D4M,6013\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/instr.py,sha256=N3lPvYszv-FJ-GG6JB03YjjIdrWKSCWoAusEFEE74es,11691\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/peephole_opt.py,sha256=Yvb32GEUEzAPru04LU9y3uMa3laTO7mkSB8cLcWUmTY,16182\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__init__.py,sha256=v03b38LiPfE6bXlT_QwW2YgQ0JnnA1hUjfZAqxsrId8,5094\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__pycache__/test_bytecode.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__pycache__/test_cfg.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__pycache__/test_code.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__pycache__/test_concrete.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__pycache__/test_flags.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__pycache__/test_instr.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__pycache__/test_misc.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__pycache__/test_peephole_opt.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__pycache__/util_annotation.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_bytecode.py,sha256=IAzoVQwNR1yKYDJ2u3AfbnmaYHjHDlr-wibJARrRv5M,16365\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_cfg.py,sha256=aua4b2gSoczcC6k7ETLNvLkCHFhdRssp2Gw8UcMO1_U,29127\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_code.py,sha256=JdEIgz886-gxh-JP1xS-Ut1TgV6w0vzce65W0lRXc0s,2518\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_concrete.py,sha256=M4B0tqT7MaHC8wx01vGr9gcep0iI3f-FSWHOqw85AfE,50807\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_flags.py,sha256=ozlYuOMfhyrqq3C0zmCWyDAycX70OI5n_q7C6u9KlWI,6164\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_instr.py,sha256=r00EVajF4OEbuYfT4kkh7XYw2q6AOCwpDA1Dv_Tig6s,11888\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_misc.py,sha256=0e7CaZIUKYyqs6IZNq1VcVjmVQqnmN_MjeyfZ6kchuQ,7275\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_peephole_opt.py,sha256=VFgpO_RWQJZtNvCVAM1NraOU4BJSjfkGvwtUyfn3VtA,33840\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/util_annotation.py,sha256=xzihFD5dhmc2wC1fElNMnwXK9GnpIqQ69X3iGDo3i7I,478\ndebugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/pydevd_fix_code.py,sha256=wji3NsXbIIFRcpi8SwkxQQYpWOvb2CFNS7eYdxGeyy0,1806\ndebugpy/_vendored/pydevd/_pydevd_sys_monitoring/__pycache__/_pydevd_sys_monitoring.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_sys_monitoring/__pycache__/pydevd_sys_monitoring.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py,sha256=o0h1CfJsWQcoMLdihrWiQoTk8hSPqTvqvsPFQyK7e5M,75607\ndebugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c,sha256=VlGWXDx4y8fkQ8vgw9lGWLbArMUPSf8IwLZa1pb1edM,2071663\ndebugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.cp313-win_amd64.pyd,sha256=z1OS4f4o0-X0Rc3S-UE55ZEqySjL9hvtfZpMr1Lleqw,350256\ndebugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pxd,sha256=8jpSP1Z4wiQs4pFjVCGeN79giMtyVesn7uOcXYXRfUo,2385\ndebugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx,sha256=7x5suDhvVM0BgS608-RL20mnymDJUZ3YVzgVVss39fA,77973\ndebugpy/_vendored/pydevd/_pydevd_sys_monitoring/pydevd_sys_monitoring.py,sha256=F2vDJ6PFzhyiutISDjDqxKjreaMIqUTQ4hWUnmYe5dA,565\ndebugpy/_vendored/pydevd/pydev_app_engine_debug_startup.py,sha256=GB0ctG6n3BSqSMy5jP3gnqUmRmcIQa6e3Y7_1MOJDCY,691\ndebugpy/_vendored/pydevd/pydev_coverage.py,sha256=Cyhk-bdOgsRvtA8A1XoDTntUglW7qWcXejliAsz80TI,3204\ndebugpy/_vendored/pydevd/pydev_ipython/README,sha256=dl_JsPkjM1T14ZRHZTTvTeaFoyo91C0Ijftfa2GODnc,546\ndebugpy/_vendored/pydevd/pydev_ipython/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/inputhook.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/inputhookglut.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/inputhookgtk.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/inputhookgtk3.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/inputhookpyglet.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/inputhookqt4.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/inputhookqt5.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/inputhookqt6.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/inputhooktk.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/inputhookwx.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/matplotlibtools.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/qt.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/qt_for_kernel.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/qt_loaders.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/__pycache__/version.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_ipython/inputhook.py,sha256=OhzStI96H8kZgBpJdlBG_phSC7IgP7VC4eY_HMnt5Gw,20592\ndebugpy/_vendored/pydevd/pydev_ipython/inputhookglut.py,sha256=J117nWjw2lboM5WZZfxfqlnSzN1_ZlA2os-aFzyC-uk,5769\ndebugpy/_vendored/pydevd/pydev_ipython/inputhookgtk.py,sha256=pcRzFXUe5T23pDyrXH6tem-F1QXXxiW5MeTTXnLcqjs,1151\ndebugpy/_vendored/pydevd/pydev_ipython/inputhookgtk3.py,sha256=dfqUk2LUd35FjXRLU2CCYvbAoBFkE40m16bIagjdkVk,1149\ndebugpy/_vendored/pydevd/pydev_ipython/inputhookpyglet.py,sha256=0x1SIrqjUE7Mlv-91xzV2rg81gJWdmhPSDPv3rYWVtk,3359\ndebugpy/_vendored/pydevd/pydev_ipython/inputhookqt4.py,sha256=mgEqu71Sex9zGrrYVlsrJSrKvTn0sJKq46e-wY-CC_s,7449\ndebugpy/_vendored/pydevd/pydev_ipython/inputhookqt5.py,sha256=YH6hNSbAXG6AtgrXXPol7THcjtY35CQmPqcm5mzTjb8,7498\ndebugpy/_vendored/pydevd/pydev_ipython/inputhookqt6.py,sha256=wYdtHkBcwZgdhKJhQZlCrV26DKoEVfAgeeY8-IBKbLI,7533\ndebugpy/_vendored/pydevd/pydev_ipython/inputhooktk.py,sha256=VVvcY5gMzvy8E7pEUjqoj475N2n9hXr89xQejcofiAw,779\ndebugpy/_vendored/pydevd/pydev_ipython/inputhookwx.py,sha256=sAcOH0-D7ivbTTXJzj2w1z1f5fTaogY0IMLxb0Hcvhs,6700\ndebugpy/_vendored/pydevd/pydev_ipython/matplotlibtools.py,sha256=r7cS9ritzEcX-YjPeCCOoRLT-R9DG9GKelIwMrdax3E,6700\ndebugpy/_vendored/pydevd/pydev_ipython/qt.py,sha256=z2NO2nwCco6XnIoSU0BJZJX48VT-7DtQnEP_nVZu-oQ,896\ndebugpy/_vendored/pydevd/pydev_ipython/qt_for_kernel.py,sha256=axKN_DOGg-P2pMRo6DA5QlJASIpKV0B--DtNxUXMC0U,4089\ndebugpy/_vendored/pydevd/pydev_ipython/qt_loaders.py,sha256=k9xrl3HKC7JBCZjwFRNLWcOxOC5zvH4kVZaTrvC8uiE,10922\ndebugpy/_vendored/pydevd/pydev_ipython/version.py,sha256=qWd6MZZm-_cFDjqHYySRTSSmCAewxCHKhi-4aoyaAB8,1546\ndebugpy/_vendored/pydevd/pydev_pysrc.py,sha256=ulsJmWy-lUAcUi5PN5MHLz-igFbiEWRJ3hhlNbYzG6E,102\ndebugpy/_vendored/pydevd/pydev_run_in_console.py,sha256=EH5aornfVSnKaeLbnvnIn45dbr7NGSiBRbVQvxPSWvE,4789\ndebugpy/_vendored/pydevd/pydev_sitecustomize/__not_in_default_pythonpath.txt,sha256=hnkTAuxSFW_Tilgw0Bt1RVLrfGRE3hYjAmTPm1k-sc8,21\ndebugpy/_vendored/pydevd/pydev_sitecustomize/__pycache__/sitecustomize.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydev_sitecustomize/sitecustomize.py,sha256=AQeg7jWAJAAVPiv25JBwOKPbokQgUBDd7c2WCNd0RpQ,9939\ndebugpy/_vendored/pydevd/pydevconsole.py,sha256=22zdql8paBpCek_K_nx8fnEf7KpiCRGxtkTDW3x70Mw,21730\ndebugpy/_vendored/pydevd/pydevd.py,sha256=bHCuDg5AVAuLNXA8uOrZfTucXrcOGMdQFG21ruoZay4,158883\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/README.txt,sha256=NCTzQYbUF9bhwoTz-JWznwLcxcUDu7PmcPuk7p9_nJg,987\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/__pycache__/_always_live_program.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/__pycache__/_check.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/__pycache__/_test_attach_to_process.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/__pycache__/_test_attach_to_process_linux.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/__pycache__/add_code_to_python_process.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/__pycache__/attach_pydevd.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/__pycache__/attach_script.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/_always_live_program.py,sha256=ILeoZBiqJzhOGT7fVO5YE5LPcwG2eMaylL3nzqoXPxM,727\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/_check.py,sha256=_WfnnRggiYjQZAWEQKpQgJV1LM7KXLP91pidAr4hvyI,139\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process.py,sha256=2EjrvtNtEqW0hiEPfKbK-YBnkH4kTNfmBujBeljowRc,310\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process_linux.py,sha256=Z0nDMeWbGd64sorYqKim-BD8Z89PVFFjfdKMAt51Hxg,2638\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py,sha256=ARGEx1rIU1UEeputMDMGX6twms3OCWiH74hXEUizm1A,23194\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll,sha256=Ia96jEKxzZqown-0Xpv16HciWKNLY9I41_ZVsvP7soE,48688\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.pdb,sha256=3RfiYon4dsh8X4UXMZ4zHdeYAmx2DO8zYmxPbNsMN-g,987136\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/attach_pydevd.py,sha256=A7ExNDdK9Nxw6DMv2tZEDD9jlQWhipeOTrO3G4E1oAo,2674\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/attach_script.py,sha256=hgDVvUoLlSmK4zkTXwcqUXsCdoDndXyIX552vhZLq4g,8228\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll,sha256=bejX8k9r9hRE_BAIoF3jl0UFl1N8nI-LVg3GqQykatI,43056\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.pdb,sha256=UOe2Xwff-dsHvbyL50ynSM5byIfvJhN4FsN_yM_KFKw,1003520\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_custom_pyeval_settrace.hpp,sha256=eemL6azv2iZFjJTWoZwHG0m4OrnBxwutIaVihSeQS3k,8591\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_custom_pyeval_settrace_310.hpp,sha256=gI8IpfCzlIte-YZg1yhRIIQYwoc3d9_zPdu7R6VcTL0,4174\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_custom_pyeval_settrace_311.hpp,sha256=SRzM1lO1t2aExbTeatiee2r3WGTX1vFMGMM1699wrs8,4388\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_custom_pyeval_settrace_common.hpp,sha256=Vr-8FUB447JXozU7DghmbqcLxUgB1ceRu6RHx1XFnDw,1931\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_settrace.hpp,sha256=liXVVbYGAb1TN1i-E9cnWC98fudUxiKFcdrJNMaUiJs,7875\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_utils.hpp,sha256=lqUbijXhr_JvHWFugNGOASRsWj0920EYgGmy_OnZM9o,3949\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp,sha256=xZbrnmXAIv4JTBCYHC0oO-EWLbaPBHVNdup0shPdOlo,3009\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/common/python.h,sha256=1vcb0JbN3SPZ5D4XS8ySgfFmuFBe4ij8cddpIZBhNbc,22335\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/common/ref_utils.hpp,sha256=QN0XTviEzU1eViwviTsEyg6j8x6gUqbJbzuGsrH1qa8,1537\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.exe,sha256=tfz1p8YayNwgw4mp_dCOD8CzTzELkZsQGr7j1zts1HE,276016\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.pdb,sha256=48i3dKnF-tKqTl_knMBBb84rI8YmsgTv5SbOVAQ6tmg,5738496\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.exe,sha256=vCe6XEG7RG0UB3wTCpMjDfSPCEyCIFLmhvSyqDaNgHc,218680\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.pdb,sha256=QFwcth-mKETAxBE46v35A23nnUyE2_R1F-ItOHwggkU,5844992\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/.gitignore,sha256=qXNHqGgNv9g_3S6j-4U-1CrEhc0-bnv3Xaz6-07MN8Q,86\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/__pycache__/lldb_prepare.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/attach.cpp,sha256=Ayhl1EB5hFxv6hock7AyIbbU8CUexwMAYpC3HOjA7D4,3814\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh,sha256=4yM4pa7F-XPLLQU6fpE_8mKMv9khaTlafwOdJIUrIQQ,335\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh,sha256=5fKk48tVP0BHIsnSBFlQzXbOjIGtYuMAayIUidJUDig,256\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_manylinux.cmd,sha256=BXvLii9zXcTb9J_BuwzFttVxZcu_HMHp50dt2ACaEi8,683\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/lldb_prepare.py,sha256=L760MdJEiX3VLFhRmXHBMPiFH4QOsIN8mlQDtffLiAU,1734\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll,sha256=0T8wvfAVSytvILesXXCQG79HCL2h4nRVCDakdxjrB4M,29240\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.pdb,sha256=5SUvNAXOrojlHgv0cR_uNjc7LDV5U5kzQZsWbvjQ90Y,765952\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.dll,sha256=GhUSBZdp9vN-V0YZJy-AjoounurD37T1CP_Wd7PCEUE,25648\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.pdb,sha256=Ll-s_eI4RgKFE2K9iLDYxZKH5XCbsN8Qms1EzOECg3Q,749568\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__init__.py,sha256=O1PLI6LRmqL4MjpKXZdQ2I0SI0KaNXtQSiShxt13IK0,7129\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/breakpoint.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/compat.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/crash.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/debug.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/disasm.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/event.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/interactive.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/module.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/process.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/registry.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/search.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/sql.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/system.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/textio.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/thread.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/util.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__pycache__/window.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/breakpoint.py,sha256=TpvUnKu_zuz3_6RdX1JOrjpVjZXsqT4feCVA9aWn_Ic,169903\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/compat.py,sha256=SpGO4mc7sdKDuqhmEb_WRz5N3XTBtziwzalbGyHkqdM,5470\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/crash.py,sha256=sx92VTBorIUR3OZ8pjQQAA81fynhUYLEXA__CrXFFO8,66661\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/debug.py,sha256=jw1EM8D2LHifHU3KRzvjjyNYNen1JsTGaEyR-xaAW_E,59178\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/disasm.py,sha256=o8-wwCNywMFoqhvStzTWY8XQOgbDm9oFF5bDZEu4Pcs,25106\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/event.py,sha256=-9Fp53KuQE6HusZOjdmQZRNxrcAKIXtZZlisuklI4lc,67016\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/interactive.py,sha256=dL3bLfb91ZbbNAm6JyXrNu2-Hntu8LNDrxnzM1RRTgg,85946\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/module.py,sha256=kXX6FVWCYKt-6Uq7Xbw_coL21ieWrSTn71IKswXTWBY,71737\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/process.py,sha256=XrZNbpWY1r1-zNY7VUFjUxFn94uRqNJHL4DU9SufRgc,184598\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/registry.py,sha256=X-hgttnzYjSd1ksxT_5XIVEwLrdQUdctGruvFm5ICp4,22135\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/search.py,sha256=Pv7iKcU4n3nbHTdwhAaJ44P-8RvKoNJ8vc6W1glCQhs,23902\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/sql.py,sha256=WE4Y2l4c9pqzs-wO56u-oBIf1HMYceG2QofumDZNANw,34677\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/system.py,sha256=lWcwWQ27_-n6TdRFIzSYCmHF95efv7C_UWXSItecnGg,45624\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/textio.py,sha256=ibVu862TQiy-0NQ8LZmA8EKbCVKjn6yqQN2uC2DYa_w,61387\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/thread.py,sha256=mrLUu0oJLzYbVKjwrrYqRp7ZGSDSn9MTz3ocjNZxdqI,76790\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/util.py,sha256=fCzpojywCCsGgQVtC3CivOuA8nKZI_hKim_bQnLKI18,36978\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__init__.py,sha256=sNam6ZNOafq8V-Bxl8P4AaSLJ8mXnh0QIH8lJ-7uwMI,2885\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/advapi32.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/context_amd64.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/context_i386.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/dbghelp.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/defines.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/gdi32.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/kernel32.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/ntdll.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/peb_teb.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/psapi.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/shell32.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/shlwapi.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/user32.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/version.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__pycache__/wtsapi32.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/advapi32.py,sha256=xq9S3AZvG9myE8X7zqHxxetJY3Qm9ih_wkKJgv6wSYg,122129\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/context_amd64.py,sha256=NYCv5nzNCkxMGXV4Lsw_SSgW4cUbxsSwk6kA47vFFWE,24465\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/context_i386.py,sha256=ITxXkkDcvSa_rrTOPSRlK9gZPoJ-sWfj_fHEQbrvDBc,15869\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/dbghelp.py,sha256=RiKxGf8Y5mdpIxgSMCsVqXzFYv72sx_nteKNENW4Mzg,46365\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/defines.py,sha256=mbFEKxTDOqtKSlhCB0sr8kHM9qDGdd--VXYVaGDAxeY,21637\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/gdi32.py,sha256=74qIm3Z_oDz3YslQKMHgFKZhaGgCHdiOUSBvu1_ysWk,14681\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/kernel32.py,sha256=MZw6SpRIYmt1ommJtpF-Fit6Zt1W7W-c1WSCaNZmr4s,163857\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/ntdll.py,sha256=MNlmgSDx41lmLeuoFwDCggFd_DNBHRpAM_qkmPNM1w8,21135\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/peb_teb.py,sha256=sYd_L3RfrshoNQLel-xKGSCKw8ZFxQVCDTIJhivEJxE,139565\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/psapi.py,sha256=AyYm1hulh22zG1Ij7H4Kd2KI_DhOdxWjil4TF5dgfC0,14115\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/shell32.py,sha256=gKCJ_3ZT96mNzWEAsWJbrLrm4Kl0cFP8ewV9Ro6Y478,13176\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/shlwapi.py,sha256=wO6zmcNXxtd-dsvQlpu-OzZWGncLQeku2D-om1PW3xY,26209\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/user32.py,sha256=7T4sovy0k70NRLTvbjNnRHBb77kaxUaBptPillWnG24,53270\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/version.py,sha256=peqsvzAt43_RkG2dLute0HOhzEESjYeBI9QCS8H9nVs,34919\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/wtsapi32.py,sha256=k53SGP7RwETficHSURsonw8s6UYrelTMwVDaM25C8nQ,11136\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/window.py,sha256=QMgC_L2yKyhEryRSOXLmtDwXw9ih1W-XdD0WJvaGkys,24770\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/windows/attach.cpp,sha256=p_3Qe8DqmsSfDMIIk7HwsIrkEV9u5a9Sk8xP5cWrAIE,28624\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/windows/attach.h,sha256=DTbYGXw_cNWF4LVQ-vXCUdNsUjnuRA5ZZqillkSiUmM,1902\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/windows/compile_windows.bat,sha256=PU-ReV3_SqfWmnmZCvLRFvCzMr-7X5GlC47P6EnD8Wk,2203\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/windows/inject_dll.cpp,sha256=Mns0bIZBMk7UCWa5G679pjM2Ysf0cIXtzZQ4p_LXJS0,4925\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/windows/py_win_helpers.hpp,sha256=08Pkhx2JZHYew8QJ0KU6PtxUCge9hoemmnD09BzyG0c,2555\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/windows/run_code_in_memory.hpp,sha256=wArnTC7I9dhMXf-Zvk89pL3pS6THPxTeq9Y6JL-i8Aw,3470\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/windows/run_code_on_dllmain.cpp,sha256=J8lP6LyANVEu1j9nbPWoNZElEtrerPDwhAf5s0VNmDM,2594\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/windows/stdafx.cpp,sha256=V7p0gRbf2vbFE56arGZDEEGELAxYLvoVCVCbpuyc1uI,1021\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/windows/stdafx.h,sha256=KpQpPe05GFC_V_oYvtCOvp_-FIe2AwdgXjU1KcOr7do,1198\ndebugpy/_vendored/pydevd/pydevd_attach_to_process/windows/targetver.h,sha256=jFkZ1XNv-lhMFbGnmPOc9c0JgYgRxlVZaeoGnvofgvs,1035\ndebugpy/_vendored/pydevd/pydevd_file_utils.py,sha256=mmLcTGbvRg95PitLZMewOE0zd846c1gUjW-LWQ6vCwY,37894\ndebugpy/_vendored/pydevd/pydevd_plugins/__init__.py,sha256=Y9d1PR_ZXG6Um_fbdrrrYxUd16NKH7dilYrJKM4Tjsk,70\ndebugpy/_vendored/pydevd/pydevd_plugins/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_plugins/__pycache__/django_debug.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_plugins/__pycache__/jinja2_debug.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_plugins/__pycache__/pydevd_line_validation.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_plugins/django_debug.py,sha256=9qfhOeU4c61ly-lS9sMcwdEsFe68qyIgzHqKv4Bo1UQ,22911\ndebugpy/_vendored/pydevd/pydevd_plugins/extensions/README.md,sha256=CI5kXels64qHrhuAj_ur5nM_VWSc5qVdqKK_yxfhEPw,1212\ndebugpy/_vendored/pydevd/pydevd_plugins/extensions/__init__.py,sha256=Y9d1PR_ZXG6Um_fbdrrrYxUd16NKH7dilYrJKM4Tjsk,70\ndebugpy/_vendored/pydevd/pydevd_plugins/extensions/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_plugins/extensions/types/__init__.py,sha256=Y9d1PR_ZXG6Um_fbdrrrYxUd16NKH7dilYrJKM4Tjsk,70\ndebugpy/_vendored/pydevd/pydevd_plugins/extensions/types/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_plugins/extensions/types/__pycache__/pydevd_helpers.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_plugins/extensions/types/__pycache__/pydevd_plugin_numpy_types.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_plugins/extensions/types/__pycache__/pydevd_plugin_pandas_types.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_plugins/extensions/types/__pycache__/pydevd_plugins_django_form_str.cpython-313.pyc,,\ndebugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_helpers.py,sha256=tVSLPkkz72XP_oZB65d8g2QSyWw9s_xC6PJWAf4m46w,668\ndebugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugin_numpy_types.py,sha256=fxqg7mU63bmSnufIcr1JTyLzpZ82-LpjCfWE82aG7bQ,3340\ndebugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugin_pandas_types.py,sha256=U38XXWAIWAHqC2Btr3KrdDVfbLnOOAMzSM5ISQ7d5fQ,6753\ndebugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py,sha256=vmaeRbzc7EatYQkSf7TlqnsBX7oGd1hAXIhH5PU6-J4,556\ndebugpy/_vendored/pydevd/pydevd_plugins/jinja2_debug.py,sha256=lcdvyDfhHnMzmC31evousMajPWPYrFavbZ_Vy0j2w_c,19571\ndebugpy/_vendored/pydevd/pydevd_plugins/pydevd_line_validation.py,sha256=_qfstAYOavoSnILqodUaQFuM8v0zSvIk6JAoTKUg_R8,6774\ndebugpy/_vendored/pydevd/pydevd_tracing.py,sha256=QUQB9XH8CR_c4BwKqO9kTb7RQCPoti3B-Vmu1dv_dVM,16186\ndebugpy/_vendored/pydevd/setup_pydevd_cython.py,sha256=3eLiBRPDYUlMCP1Ik9kidZsE_HLc4y3nqI9pFuZ8IE8,11842\ndebugpy/_version.py,sha256=Vki7SLJF7avW1q6d60gXj_C_QiOnrrvgWWgcPYlIQGA,519\ndebugpy/adapter/__init__.py,sha256=9VLYulLGYHJ8oFJejptNs5mvWU2qqAbphIqXGfV87gw,360\ndebugpy/adapter/__main__.py,sha256=7BQhfHrE073CJvNGbyuwti2g1_IEH3I2z9O73NgjOYY,8686\ndebugpy/adapter/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/adapter/__pycache__/__main__.cpython-313.pyc,,\ndebugpy/adapter/__pycache__/clients.cpython-313.pyc,,\ndebugpy/adapter/__pycache__/components.cpython-313.pyc,,\ndebugpy/adapter/__pycache__/launchers.cpython-313.pyc,,\ndebugpy/adapter/__pycache__/servers.cpython-313.pyc,,\ndebugpy/adapter/__pycache__/sessions.cpython-313.pyc,,\ndebugpy/adapter/clients.py,sha256=cKODytIEufMkZsDK_YYDmWX4RO2y8msZbXuYV21R7S8,32379\ndebugpy/adapter/components.py,sha256=3iuFqOoHNmbugkjLTJaXKMHO7_Uem7CBQikKNerW-w0,6264\ndebugpy/adapter/launchers.py,sha256=M7iFl5trGxMnp_B_uZwwHZznhqVhedx8dkVC7c0u_BA,7198\ndebugpy/adapter/servers.py,sha256=8rpQF1QzMrf3oYR7-0npxh5300WQrM1rU-Pr0T7yfRg,24038\ndebugpy/adapter/sessions.py,sha256=hR3mtUqsWaOXooSM4Ue2K7Rgn7pm7d2m4A7g2adVEYA,11522\ndebugpy/common/__init__.py,sha256=KJPKmTS_6sBWcehBitspx4Mby9DUzq3FOc77G0clV6E,627\ndebugpy/common/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/common/__pycache__/json.cpython-313.pyc,,\ndebugpy/common/__pycache__/log.cpython-313.pyc,,\ndebugpy/common/__pycache__/messaging.cpython-313.pyc,,\ndebugpy/common/__pycache__/singleton.cpython-313.pyc,,\ndebugpy/common/__pycache__/sockets.cpython-313.pyc,,\ndebugpy/common/__pycache__/stacks.cpython-313.pyc,,\ndebugpy/common/__pycache__/timestamp.cpython-313.pyc,,\ndebugpy/common/__pycache__/util.cpython-313.pyc,,\ndebugpy/common/json.py,sha256=UnJu4Pe04UKnhf2z9kSi8W06TXP1FS_8pqQFM4VTndc,9966\ndebugpy/common/log.py,sha256=MCbcJ0cazhwXedkCTeeT3QboDGRd36QKD9gQy7XtSpk,12117\ndebugpy/common/messaging.py,sha256=QcZUJ6Ks1orq7L4xHfLdrJPkiuldnJeYGpnhmI6kVvs,58126\ndebugpy/common/singleton.py,sha256=yxPI3MZPFAGG2sR-D0FasyW7quOYgfHZPHBFmJ7k8mM,7851\ndebugpy/common/sockets.py,sha256=EwaKwnr51LBw9FlFemhKrG9NAEG_VltgCT6Id_xhNVM,4353\ndebugpy/common/stacks.py,sha256=GvTcJ3ZJTP7vzzxpx6JlrHAmHwqy5oz1g-76bU386Qw,1588\ndebugpy/common/timestamp.py,sha256=2LWsYfZQcG8W6KZ8qSQ-HKPMfU1hf9Nc-H1pYARGRgI,432\ndebugpy/common/util.py,sha256=yniEG6I6317PeYtVtkoJwxBbsjCiFi678VSb-Ygv-yQ,4810\ndebugpy/launcher/__init__.py,sha256=bSEVPlO2JT0zlugnosDwCHPWGL_lmNjJNzmtXA2a6zg,922\ndebugpy/launcher/__main__.py,sha256=u9Nc4PaX-KkPNfeZmmH8LphH7ZKvbi-VuGJwnIiRVRo,3903\ndebugpy/launcher/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/launcher/__pycache__/__main__.cpython-313.pyc,,\ndebugpy/launcher/__pycache__/debuggee.cpython-313.pyc,,\ndebugpy/launcher/__pycache__/handlers.cpython-313.pyc,,\ndebugpy/launcher/__pycache__/output.cpython-313.pyc,,\ndebugpy/launcher/__pycache__/winapi.cpython-313.pyc,,\ndebugpy/launcher/debuggee.py,sha256=VEL5pjpPjdB8zxWgdFbXMO5rCGM0vpYX6RZYN0RjEU8,8939\ndebugpy/launcher/handlers.py,sha256=J2KB770M5kKmTVpknHQyyUwTVoG2W6CZB9Ipam0Ls7Y,5880\ndebugpy/launcher/output.py,sha256=1y09nznPtkUqqidI6g0frl5d1uif0oQfrPunMCDujU4,3861\ndebugpy/launcher/winapi.py,sha256=Tv91QeBxe20DIHvq4nm5xvVsAqXnUWunP4ooonkL8CY,3233\ndebugpy/public_api.py,sha256=hb0i5IATZf75YX7rNBO_u6B3UJI3RhI0O2NXeqSIRtg,6571\ndebugpy/server/__init__.py,sha256=svouy9JSW9D-Tyq2rACkjvvzhVi-QOHBsJObchqeMh4,330\ndebugpy/server/__pycache__/__init__.cpython-313.pyc,,\ndebugpy/server/__pycache__/api.cpython-313.pyc,,\ndebugpy/server/__pycache__/attach_pid_injected.cpython-313.pyc,,\ndebugpy/server/__pycache__/cli.cpython-313.pyc,,\ndebugpy/server/api.py,sha256=OwGnr67koBrn6d8vw1c2WaUpIcnzmc4MfoMaEV5gI8U,12152\ndebugpy/server/attach_pid_injected.py,sha256=uaeCAnKEFEehZxyFWgMSr_3CM4ELG4H9GCif6o4Xyv8,2826\ndebugpy/server/cli.py,sha256=aHWvaGPBivve7CMUmv5pObAbeQu6kLarm6PywmxxA8I,16862\n
.venv\Lib\site-packages\debugpy-1.8.14.dist-info\RECORD
RECORD
Other
57,074
0.65
0
0
awesome-app
68
2025-04-28T07:03:26.500952
MIT
false
05e3e1bdca9376ced4e2d48504822bff
debugpy\n
.venv\Lib\site-packages\debugpy-1.8.14.dist-info\top_level.txt
top_level.txt
Other
8
0.5
0
0
vue-tools
299
2025-05-26T03:38:27.459617
BSD-3-Clause
false
84a60469eb71a33045ca463e1f867db5
Wheel-Version: 1.0\nGenerator: setuptools (78.1.0)\nRoot-Is-Purelib: false\nTag: cp313-cp313-win_amd64\n\n
.venv\Lib\site-packages\debugpy-1.8.14.dist-info\WHEEL
WHEEL
Other
101
0.7
0
0
react-lib
179
2024-07-31T07:33:43.256538
Apache-2.0
false
b2e958fac675a0402c7cdbd838bbf42e
debugpy\n\n Copyright (c) Microsoft Corporation\n All rights reserved.\n\n MIT License\n\n Permission is hereby granted, free of charge, to any person obtaining a copy of\n this software and associated documentation files (the "Software"), to deal in\n the Software without restriction, including without limitation the rights to\n use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\n the Software, and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n
.venv\Lib\site-packages\debugpy-1.8.14.dist-info\licenses\LICENSE
LICENSE
Other
1,200
0.7
0
0
python-kit
941
2025-01-17T16:09:06.339409
GPL-3.0
false
18496e0e5a38c5caaade8503120ef9ea
pip\n
.venv\Lib\site-packages\decorator-5.2.1.dist-info\INSTALLER
INSTALLER
Other
4
0.5
0
0
python-kit
201
2024-06-20T15:08:08.622258
GPL-3.0
false
365c9bfeb7d89244f2ce01c1de44cb85
Copyright (c) 2005-2025, Michele Simionato\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n* Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in\n the documentation and/or other materials provided with the\n distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nHOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\nBUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS\nOF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\nTORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\nUSE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGE.\n
.venv\Lib\site-packages\decorator-5.2.1.dist-info\LICENSE.txt
LICENSE.txt
Other
1,308
0.7
0
0.086957
python-kit
795
2024-06-22T23:52:43.604806
Apache-2.0
false
69f84fd117b2398674e12b8380df27c8
Metadata-Version: 2.2\nName: decorator\nVersion: 5.2.1\nSummary: Decorators for Humans\nAuthor-email: Michele Simionato <michele.simionato@gmail.com>\nLicense: BSD-2-Clause\nKeywords: decorators\nClassifier: Development Status :: 5 - Production/Stable\nClassifier: Intended Audience :: Developers\nClassifier: License :: OSI Approved :: BSD License\nClassifier: Natural Language :: English\nClassifier: Operating System :: OS Independent\nClassifier: Programming Language :: Python\nClassifier: Programming Language :: Python :: 3.8\nClassifier: Programming Language :: Python :: 3.9\nClassifier: Programming Language :: Python :: 3.10\nClassifier: Programming Language :: Python :: 3.11\nClassifier: Programming Language :: Python :: 3.12\nClassifier: Programming Language :: Python :: 3.13\nClassifier: Programming Language :: Python :: Implementation :: CPython\nClassifier: Topic :: Software Development :: Libraries\nClassifier: Topic :: Utilities\nRequires-Python: >=3.8\nDescription-Content-Type: text/x-rst\nLicense-File: LICENSE.txt\n\nDecorators for Humans\n=====================\n\nThe goal of the decorator module is to make it easy to define\nsignature-preserving function decorators and decorator factories.\nIt also includes an implementation of multiple dispatch and other niceties\n(please check the docs). It is released under a two-clauses\nBSD license, i.e. basically you can do whatever you want with it but I am not\nresponsible.\n\nInstallation\n-------------\n\nIf you are lazy, just perform\n\n ``$ pip install decorator``\n\nwhich will install just the module on your system.\n\nIf you prefer to install the full distribution from source, including\nthe documentation, clone the `GitHub repo`_ or download the tarball_, unpack it and run\n\n ``$ pip install .``\n\nin the main directory, possibly as superuser.\n\n.. _tarball: https://pypi.org/project/decorator/#files\n.. _GitHub repo: https://github.com/micheles/decorator\n\nTesting\n--------\n\nIf you have the source code installation you can run the tests with\n\n `$ python src/tests/test.py -v`\n\nor (if you have setuptools installed)\n\n `$ python setup.py test`\n\nNotice that you may run into trouble if in your system there\nis an older version of the decorator module; in such a case remove the\nold version. It is safe even to copy the module `decorator.py` over\nan existing one, since we kept backward-compatibility for a long time.\n\nRepository\n---------------\n\nThe project is hosted on GitHub. You can look at the source here:\n\n https://github.com/micheles/decorator\n\nDocumentation\n---------------\n\nThe documentation has been moved to https://github.com/micheles/decorator/blob/master/docs/documentation.md\n\nFrom there you can get a PDF version by simply using the print\nfunctionality of your browser.\n\nHere is the documentation for previous versions of the module:\n\nhttps://github.com/micheles/decorator/blob/4.3.2/docs/tests.documentation.rst\nhttps://github.com/micheles/decorator/blob/4.2.1/docs/tests.documentation.rst\nhttps://github.com/micheles/decorator/blob/4.1.2/docs/tests.documentation.rst\nhttps://github.com/micheles/decorator/blob/4.0.0/documentation.rst\nhttps://github.com/micheles/decorator/blob/3.4.2/documentation.rst\n\nFor the impatient\n-----------------\n\nHere is an example of how to define a family of decorators tracing slow\noperations:\n\n.. code-block:: python\n\n from decorator import decorator\n\n @decorator\n def warn_slow(func, timelimit=60, *args, **kw):\n t0 = time.time()\n result = func(*args, **kw)\n dt = time.time() - t0\n if dt > timelimit:\n logging.warning('%s took %d seconds', func.__name__, dt)\n else:\n logging.info('%s took %d seconds', func.__name__, dt)\n return result\n\n @warn_slow # warn if it takes more than 1 minute\n def preprocess_input_files(inputdir, tempdir):\n ...\n\n @warn_slow(timelimit=600) # warn if it takes more than 10 minutes\n def run_calculation(tempdir, outdir):\n ...\n\nEnjoy!\n
.venv\Lib\site-packages\decorator-5.2.1.dist-info\METADATA
METADATA
Other
3,934
0.95
0.104839
0
python-kit
137
2025-07-09T11:28:19.691460
BSD-3-Clause
false
aae418abf7e760f273c9f68f6d780eb5
{"is_release": false, "git_version": "8608a46"}
.venv\Lib\site-packages\decorator-5.2.1.dist-info\pbr.json
pbr.json
JSON
47
0.5
0.1
0
react-lib
683
2024-11-24T03:54:31.020632
MIT
false
66d7b36500d236e7f3791dde896cc1e9
__pycache__/decorator.cpython-313.pyc,,\ndecorator-5.2.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4\ndecorator-5.2.1.dist-info/LICENSE.txt,sha256=kU7m7Xil78FzvaaY8nCERMqdFA_MQIDGDQUD1A2znaY,1308\ndecorator-5.2.1.dist-info/METADATA,sha256=i76fp7lNo0QbinX3NBJjSu_GhVp9A8iuab--m-8mKB4,3934\ndecorator-5.2.1.dist-info/RECORD,,\ndecorator-5.2.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91\ndecorator-5.2.1.dist-info/pbr.json,sha256=AL84oUUWQHwkd8OCPhLRo2NJjU5MDdmXMqRHv-posqs,47\ndecorator-5.2.1.dist-info/top_level.txt,sha256=Kn6eQjo83ctWxXVyBMOYt0_YpjRjBznKYVuNyuC_DSI,10\ndecorator.py,sha256=cWnO6cKKohQrXNEG1-Fauiw8djwE3f2PA2gJGofwgXA,17067\n
.venv\Lib\site-packages\decorator-5.2.1.dist-info\RECORD
RECORD
Other
697
0.7
0
0
vue-tools
994
2024-08-23T11:57:13.237375
Apache-2.0
false
afab6c8c5e89573d19760af87cfdd14b
decorator\n
.venv\Lib\site-packages\decorator-5.2.1.dist-info\top_level.txt
top_level.txt
Other
10
0.5
0
0
node-utils
515
2024-09-08T16:22:19.875739
GPL-3.0
false
6f5dc4edc6954135b7ad97baa7a5c4d4
Wheel-Version: 1.0\nGenerator: setuptools (75.8.0)\nRoot-Is-Purelib: true\nTag: py3-none-any\n\n
.venv\Lib\site-packages\decorator-5.2.1.dist-info\WHEEL
WHEEL
Other
91
0.5
0
0
node-utils
807
2025-02-11T00:18:55.524473
MIT
false
68e6e969da03b3fdebefe35680a5c606
# defusedxml\n#\n# Copyright (c) 2013 by Christian Heimes <christian@python.org>\n# Licensed to PSF under a Contributor Agreement.\n# See https://www.python.org/psf/license for licensing details.\n"""Defused xml.etree.cElementTree\n"""\nfrom __future__ import absolute_import\n\nimport warnings\n\nfrom .common import _generate_etree_functions\n\nfrom xml.etree.cElementTree import TreeBuilder as _TreeBuilder\nfrom xml.etree.cElementTree import parse as _parse\nfrom xml.etree.cElementTree import tostring\n\n# iterparse from ElementTree!\nfrom xml.etree.ElementTree import iterparse as _iterparse\n\n# This module is an alias for ElementTree just like xml.etree.cElementTree\nfrom .ElementTree import (\n XML,\n XMLParse,\n XMLParser,\n XMLTreeBuilder,\n fromstring,\n iterparse,\n parse,\n tostring,\n DefusedXMLParser,\n ParseError,\n)\n\n__origin__ = "xml.etree.cElementTree"\n\n\nwarnings.warn(\n "defusedxml.cElementTree is deprecated, import from defusedxml.ElementTree instead.",\n category=DeprecationWarning,\n stacklevel=2,\n)\n\n# XMLParse is a typo, keep it for backwards compatibility\nXMLTreeBuilder = XMLParse = XMLParser = DefusedXMLParser\n\nparse, iterparse, fromstring = _generate_etree_functions(\n DefusedXMLParser, _TreeBuilder, _parse, _iterparse\n)\nXML = fromstring\n\n__all__ = [\n "ParseError",\n "XML",\n "XMLParse",\n "XMLParser",\n "XMLTreeBuilder",\n "fromstring",\n "iterparse",\n "parse",\n "tostring",\n]\n
.venv\Lib\site-packages\defusedxml\cElementTree.py
cElementTree.py
Python
1,449
0.95
0.048387
0.156863
node-utils
322
2025-04-11T14:10:29.951835
Apache-2.0
false
1807afbb4f80f584dbf7b442c4370af6
# defusedxml\n#\n# Copyright (c) 2013 by Christian Heimes <christian@python.org>\n# Licensed to PSF under a Contributor Agreement.\n# See https://www.python.org/psf/license for licensing details.\n"""Common constants, exceptions and helpe functions\n"""\nimport sys\nimport xml.parsers.expat\n\nPY3 = sys.version_info[0] == 3\n\n# Fail early when pyexpat is not installed correctly\nif not hasattr(xml.parsers.expat, "ParserCreate"):\n raise ImportError("pyexpat") # pragma: no cover\n\n\nclass DefusedXmlException(ValueError):\n """Base exception"""\n\n def __repr__(self):\n return str(self)\n\n\nclass DTDForbidden(DefusedXmlException):\n """Document type definition is forbidden"""\n\n def __init__(self, name, sysid, pubid):\n super(DTDForbidden, self).__init__()\n self.name = name\n self.sysid = sysid\n self.pubid = pubid\n\n def __str__(self):\n tpl = "DTDForbidden(name='{}', system_id={!r}, public_id={!r})"\n return tpl.format(self.name, self.sysid, self.pubid)\n\n\nclass EntitiesForbidden(DefusedXmlException):\n """Entity definition is forbidden"""\n\n def __init__(self, name, value, base, sysid, pubid, notation_name):\n super(EntitiesForbidden, self).__init__()\n self.name = name\n self.value = value\n self.base = base\n self.sysid = sysid\n self.pubid = pubid\n self.notation_name = notation_name\n\n def __str__(self):\n tpl = "EntitiesForbidden(name='{}', system_id={!r}, public_id={!r})"\n return tpl.format(self.name, self.sysid, self.pubid)\n\n\nclass ExternalReferenceForbidden(DefusedXmlException):\n """Resolving an external reference is forbidden"""\n\n def __init__(self, context, base, sysid, pubid):\n super(ExternalReferenceForbidden, self).__init__()\n self.context = context\n self.base = base\n self.sysid = sysid\n self.pubid = pubid\n\n def __str__(self):\n tpl = "ExternalReferenceForbidden(system_id='{}', public_id={})"\n return tpl.format(self.sysid, self.pubid)\n\n\nclass NotSupportedError(DefusedXmlException):\n """The operation is not supported"""\n\n\ndef _apply_defusing(defused_mod):\n assert defused_mod is sys.modules[defused_mod.__name__]\n stdlib_name = defused_mod.__origin__\n __import__(stdlib_name, {}, {}, ["*"])\n stdlib_mod = sys.modules[stdlib_name]\n stdlib_names = set(dir(stdlib_mod))\n for name, obj in vars(defused_mod).items():\n if name.startswith("_") or name not in stdlib_names:\n continue\n setattr(stdlib_mod, name, obj)\n return stdlib_mod\n\n\ndef _generate_etree_functions(DefusedXMLParser, _TreeBuilder, _parse, _iterparse):\n """Factory for functions needed by etree, dependent on whether\n cElementTree or ElementTree is used."""\n\n def parse(source, parser=None, forbid_dtd=False, forbid_entities=True, forbid_external=True):\n if parser is None:\n parser = DefusedXMLParser(\n target=_TreeBuilder(),\n forbid_dtd=forbid_dtd,\n forbid_entities=forbid_entities,\n forbid_external=forbid_external,\n )\n return _parse(source, parser)\n\n def iterparse(\n source,\n events=None,\n parser=None,\n forbid_dtd=False,\n forbid_entities=True,\n forbid_external=True,\n ):\n if parser is None:\n parser = DefusedXMLParser(\n target=_TreeBuilder(),\n forbid_dtd=forbid_dtd,\n forbid_entities=forbid_entities,\n forbid_external=forbid_external,\n )\n return _iterparse(source, events, parser)\n\n def fromstring(text, forbid_dtd=False, forbid_entities=True, forbid_external=True):\n parser = DefusedXMLParser(\n target=_TreeBuilder(),\n forbid_dtd=forbid_dtd,\n forbid_entities=forbid_entities,\n forbid_external=forbid_external,\n )\n parser.feed(text)\n return parser.close()\n\n return parse, iterparse, fromstring\n
.venv\Lib\site-packages\defusedxml\common.py
common.py
Python
4,036
0.95
0.186047
0.058824
vue-tools
803
2023-09-26T02:48:50.117575
MIT
false
f156dd6010fa90477ac79425fa5a2d7f