Skip to content

Commit

Permalink
Update pydevd to 2.9.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Apr 15, 2023
1 parent 0fc4c97 commit 819c935
Show file tree
Hide file tree
Showing 15 changed files with 226 additions and 177 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def collect_return_info(co, use_func_first_line=False):
op_offset_to_line = dict(dis.findlinestarts(co))
for instruction in iter_instructions(co):
curr_op_name = instruction.opname
if curr_op_name == 'RETURN_VALUE':
if curr_op_name in ('RETURN_VALUE', 'RETURN_CONST'):
lst.append(ReturnInfo(_get_line(op_offset_to_line, instruction.offset, firstlineno, search=True)))

return lst
Expand Down
234 changes: 129 additions & 105 deletions plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_cython.c

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ def _patch_threading_to_hide_pydevd_threads():

if found_load_names in (
{'_active_limbo_lock', '_limbo', '_active', 'values', 'list'},
{'_active_limbo_lock', '_limbo', '_active', 'values', 'NULL + list'}
{'_active_limbo_lock', '_limbo', '_active', 'values', 'NULL + list'},
{'NULL + list', '_active', '_active_limbo_lock', 'NULL|self + values', '_limbo'}
):
pydev_log.debug('Applying patching to hide pydevd threads (Py3 version).')

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ __version_info__ in pydevd.py

Create tag:
-----------
git tag pydev_debugger_2_9_5 -a -m "PyDev.Debugger 2.9.5"
git tag pydev_debugger_2_9_6 -a -m "PyDev.Debugger 2.9.6"
git push --tags


Expand Down
2 changes: 1 addition & 1 deletion plugins/org.python.pydev.core/pysrc/pydevd.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
if USE_CUSTOM_SYS_CURRENT_FRAMES_MAP:
from _pydevd_bundle.pydevd_constants import constructed_tid_to_last_frame

__version_info__ = (2, 9, 5)
__version_info__ = (2, 9, 6)
__version_info_str__ = []
for v in __version_info__:
__version_info_str__.append(str(v))
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ int InternalSetSysTraceFunc(
DEFINE_PROC(pyEval_CallObjectWithKeywords, PyEval_CallObjectWithKeywords*, "PyEval_CallObjectWithKeywords", 532);

if(pyObject_FastCallDict == nullptr) {
DEFINE_PROC_NO_CHECK(pyObject_FastCallDict, _PyObject_FastCallDict*, "PyObject_VectorcallDict", 533);
DEFINE_PROC_NO_CHECK(pyObject_VectorcallDict, _PyObject_FastCallDict*, "PyObject_VectorcallDict", 533);
pyObject_FastCallDict = pyObject_VectorcallDict;
}

if(pyObject_FastCallDict == nullptr) {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 819c935

Please sign in to comment.