173173if 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__ = []
178178for v in __version_info__ :
179179 __version_info_str__ .append (str (v ))
@@ -255,6 +255,7 @@ def pydevd_breakpointhook(*args, **kwargs):
255255# PyDBCommandThread
256256# =======================================================================================================================
257257class 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# =======================================================================================================================
301302class 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
27332737class 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
32183223class Dispatcher (object ):
3224+
32193225 def __init__ (self ):
32203226 self .port = None
32213227
@@ -3235,6 +3241,7 @@ def close(self):
32353241
32363242
32373243class 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