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

Method run

Lib/test/test_poplib.py:230–238  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

228 self.__flag.wait()
229
230 def run(self):
231 self.active = True
232 self.__flag.set()
233 try:
234 while self.active and asyncore.socket_map:
235 with self.active_lock:
236 asyncore.loop(timeout=0.1, count=1)
237 finally:
238 asyncore.close_all(ignore_all=True)
239
240 def stop(self):
241 assert self.active

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
loopMethod · 0.45

Tested by

no test coverage detected