MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/pdb.py:3092–3106  ·  view source on GitHub ↗
(self, pid, server_socket, interrupt_sock)

Source from the content-addressed store, hash-verified

3090
3091class _PdbClient:
3092 def __init__(self, pid, server_socket, interrupt_sock):
3093 self.pid = pid
3094 self.read_buf = b""
3095 self.signal_read = None
3096 self.signal_write = None
3097 self.sigint_received = False
3098 self.raise_on_sigint = False
3099 self.server_socket = server_socket
3100 self.interrupt_sock = interrupt_sock
3101 self.pdb_instance = Pdb()
3102 self.pdb_commands = set()
3103 self.completion_matches = []
3104 self.state = "dumb"
3105 self.write_failed = False
3106 self.multiline_block = False
3107
3108 def _ensure_valid_message(self, msg):
3109 # Ensure the message conforms to our protocol.

Callers

nothing calls this directly

Calls 2

PdbClass · 0.85
setFunction · 0.85

Tested by

no test coverage detected