def __init__(self, requestHandler=IPXMLRPCRequestHandler, logRequests=False, allow_none=False, encoding=None): SimpleXMLRPCDispatcher.__init__(self, allow_none=allow_none, encoding=encoding) self.requestHandler = requestHandler self.logRequests = logRequests # TODO provide proper limit for this queue self.queue = TaskQueue(sys.maxint)
def __init__(self, allow_none=True, encoding=None): if sys.version_info[:2] == (2, 4): # doesn't support extra args in python 2.4 SimpleXMLRPCDispatcher.__init__(self) else: SimpleXMLRPCDispatcher.__init__(self, allow_none, encoding) self.allow_none = allow_none self.encoding = encoding self.register_multicall_functions()
def __init__(self, allow_none=True, encoding=None): if sys.version_info[:2] == (2, 4): # doesn't support extra args in python 2.4 SimpleXMLRPCDispatcher.__init__(self) else: SimpleXMLRPCDispatcher.__init__(self, allow_none, encoding) self.allow_none = allow_none self.encoding = encoding self.register_multicall_functions()