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

Class MyXMLRPCServer

Lib/test/test_xmlrpc.py:626–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624 return '42'
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 2

http_serverFunction · 0.85
http_multi_serverFunction · 0.85

Calls

no outgoing calls

Tested by 2

http_serverFunction · 0.68
http_multi_serverFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…