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

Method get_request

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

acceptMethod · 0.45
setblockingMethod · 0.45

Tested by

no test coverage detected