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

Method serve_until_stopped

Lib/logging/config.py:1032–1043  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1030 self.verify = verify
1031
1032 def serve_until_stopped(self):
1033 import select
1034 abort = 0
1035 while not abort:
1036 rd, wr, ex = select.select([self.socket.fileno()],
1037 [], [],
1038 self.timeout)
1039 if rd:
1040 self.handle_request()
1041 with logging._lock:
1042 abort = self.abort
1043 self.server_close()
1044
1045 class Server(threading.Thread):
1046

Callers 1

runMethod · 0.80

Calls 4

selectMethod · 0.45
filenoMethod · 0.45
handle_requestMethod · 0.45
server_closeMethod · 0.45

Tested by

no test coverage detected