MCPcopy Index your code
hub / github.com/RustPython/RustPython / serve_until_quit

Method serve_until_quit

Lib/pydoc.py:2425–2430  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2423 self.quit = False
2424
2425 def serve_until_quit(self):
2426 while not self.quit:
2427 rd, wr, ex = select.select([self.socket.fileno()], [], [], 1)
2428 if rd:
2429 self.handle_request()
2430 self.server_close()
2431
2432 def server_activate(self):
2433 self.base.server_activate(self)

Callers 1

runMethod · 0.95

Calls 4

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

Tested by

no test coverage detected