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

Method get_request

Lib/test/test_xmlrpc.py:627–632  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

625
626 class MyXMLRPCServer(xmlrpc.server.SimpleXMLRPCServer):
627 def get_request(self):
628 # Ensure the socket is always non-blocking. On Linux, socket
629 # attributes are not inherited like they are on *BSD and Windows.
630 s, port = self.socket.accept()
631 s.setblocking(True)
632 return s, port
633
634 if not requestHandler:
635 requestHandler = xmlrpc.server.SimpleXMLRPCRequestHandler

Callers

nothing calls this directly

Calls 2

acceptMethod · 0.45
setblockingMethod · 0.45

Tested by

no test coverage detected