Skip to content

Commit d0f81de

Browse files
committed
pydevd 3.2.3
1 parent 1edb1cd commit d0f81de

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

build_tools/pydevd_release_process.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Update cython-generated files (must update cython and then run build_tools/build
77

88
Create tag:
99
-----------
10-
git tag pydev_debugger_3_2_1 -a -m "PyDev.Debugger 3.2.1"
11-
git push --tags
10+
git tag pydev_debugger_3_2_3 -a -m "PyDev.Debugger 3.2.3"
11+
git push origin pydev_debugger_3_2_3
1212

1313

1414
(pushing the tag does the release to PyPi now)

pydevd.py

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
if USE_CUSTOM_SYS_CURRENT_FRAMES_MAP:
174174
from _pydevd_bundle.pydevd_constants import constructed_tid_to_last_frame
175175

176-
__version_info__ = (3, 2, 2)
176+
__version_info__ = (3, 2, 3)
177177
__version_info_str__ = []
178178
for v in __version_info__:
179179
__version_info_str__.append(str(v))
@@ -255,6 +255,7 @@ def pydevd_breakpointhook(*args, **kwargs):
255255
# PyDBCommandThread
256256
# =======================================================================================================================
257257
class PyDBCommandThread(PyDBDaemonThread):
258+
258259
def __init__(self, py_db):
259260
PyDBDaemonThread.__init__(self, py_db)
260261
self._py_db_command_thread_event = py_db._py_db_command_thread_event
@@ -299,6 +300,7 @@ def do_kill_pydev_thread(self):
299300
# Non-daemon thread: guarantees that all data is written even if program is finished
300301
# =======================================================================================================================
301302
class CheckAliveThread(PyDBDaemonThread):
303+
302304
def __init__(self, py_db):
303305
PyDBDaemonThread.__init__(self, py_db)
304306
self.name = "pydevd.CheckAliveThread"
@@ -731,6 +733,7 @@ def __init__(self, set_as_global=True):
731733
# in the namespace (and thus can't be relied upon unless the reference was previously
732734
# saved).
733735
if IS_IRONPYTHON:
736+
734737
# A partial() cannot be used in IronPython for sys.settrace.
735738
def new_trace_dispatch(frame, event, arg):
736739
return _trace_dispatch(self, frame, event, arg)
@@ -1010,7 +1013,7 @@ def _internal_get_file_type(self, abs_real_path_and_basename):
10101013
abs_path = abs_path[0:i]
10111014
i = max(abs_path.rfind("/"), abs_path.rfind("\\"))
10121015
if i:
1013-
dirname = abs_path[i + 1 :]
1016+
dirname = abs_path[i + 1:]
10141017
# At this point, something as:
10151018
# "my_path\_pydev_runfiles\__init__.py"
10161019
# is now "_pydev_runfiles".
@@ -1528,6 +1531,7 @@ def add_dap_messages_listener(self, listener):
15281531
self._dap_messages_listeners.append(listener)
15291532

15301533
class _WaitForConnectionThread(PyDBDaemonThread):
1534+
15311535
def __init__(self, py_db):
15321536
PyDBDaemonThread.__init__(self, py_db)
15331537
self._server_socket = None
@@ -1581,7 +1585,7 @@ def get_internal_queue_and_event(self, thread_id) -> Tuple[_queue.Queue, Threadi
15811585
"""returns internal command queue for a given thread.
15821586
if new queue is created, notify the RDB about it"""
15831587
if thread_id.startswith("__frame__"):
1584-
thread_id = thread_id[thread_id.rfind("|") + 1 :]
1588+
thread_id = thread_id[thread_id.rfind("|") + 1:]
15851589
return self._cmd_queue[thread_id], self._thread_events[thread_id]
15861590

15871591
def post_method_as_internal_command(self, thread_id, method, *args, **kwargs):
@@ -1758,7 +1762,7 @@ def set_enable_thread_notifications(self, enable):
17581762
# (so, clear the cache related to that).
17591763
self._running_thread_ids = {}
17601764

1761-
def process_internal_commands(self, process_thread_ids: Optional[tuple] = None):
1765+
def process_internal_commands(self, process_thread_ids: Optional[tuple]=None):
17621766
"""
17631767
This function processes internal commands.
17641768
"""
@@ -1917,10 +1921,10 @@ def set_suspend(
19171921
self,
19181922
thread,
19191923
stop_reason: int,
1920-
suspend_other_threads: bool = False,
1924+
suspend_other_threads: bool=False,
19211925
is_pause=False,
1922-
original_step_cmd: int = -1,
1923-
suspend_requested: bool = False,
1926+
original_step_cmd: int=-1,
1927+
suspend_requested: bool=False,
19241928
):
19251929
"""
19261930
:param thread:
@@ -2731,6 +2735,7 @@ def wait_for_commands(self, globals):
27312735

27322736

27332737
class IDAPMessagesListener(object):
2738+
27342739
def before_send(self, message_as_dict):
27352740
"""
27362741
Called just before a message is sent to the IDE.
@@ -3216,6 +3221,7 @@ def stoptrace():
32163221

32173222

32183223
class Dispatcher(object):
3224+
32193225
def __init__(self):
32203226
self.port = None
32213227

@@ -3235,6 +3241,7 @@ def close(self):
32353241

32363242

32373243
class DispatchReader(ReaderThread):
3244+
32383245
def __init__(self, dispatcher):
32393246
self.dispatcher = dispatcher
32403247

@@ -3435,7 +3442,6 @@ def getpass(*args, **kwargs):
34353442

34363443
getpass_mod.getpass = getpass
34373444

3438-
34393445
# Dispatch on_debugger_modules_loaded here, after all primary py_db modules are loaded
34403446

34413447

0 commit comments

Comments
 (0)