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

Method _read_from_self

Lib/asyncio/selector_events.py:130–140  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

128 pass
129
130 def _read_from_self(self):
131 while True:
132 try:
133 data = self._ssock.recv(4096)
134 if not data:
135 break
136 self._process_self_data(data)
137 except InterruptedError:
138 continue
139 except BlockingIOError:
140 break
141
142 def _write_to_self(self):
143 # This may be called from a different thread, possibly after

Callers 1

Calls 2

_process_self_dataMethod · 0.95
recvMethod · 0.45

Tested by 1