diff options
author | Collin Winter <collinw@gmail.com> | 2007-03-10 14:41:48 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-03-10 14:41:48 (GMT) |
commit | ae04106a0ebf271b4c4f3ce04c1ee84cab9b43fe (patch) | |
tree | 1fc1a6e52d138459fc058cff6b4ba5b13c779bda /Lib/DocXMLRPCServer.py | |
parent | 3351aa7dd509c72335fd37a7eae79e62ba48f773 (diff) | |
download | cpython-ae04106a0ebf271b4c4f3ce04c1ee84cab9b43fe.zip cpython-ae04106a0ebf271b4c4f3ce04c1ee84cab9b43fe.tar.gz cpython-ae04106a0ebf271b4c4f3ce04c1ee84cab9b43fe.tar.bz2 |
Patch #1599845: Add an option to disable the implicit calls to server_bind() and server_activate() in the constructors for TCPServer, SimpleXMLRPCServer and DocXMLRPCServer.
Diffstat (limited to 'Lib/DocXMLRPCServer.py')
-rw-r--r-- | Lib/DocXMLRPCServer.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/DocXMLRPCServer.py b/Lib/DocXMLRPCServer.py index 86ed32b..4318714 100644 --- a/Lib/DocXMLRPCServer.py +++ b/Lib/DocXMLRPCServer.py @@ -252,8 +252,10 @@ class DocXMLRPCServer( SimpleXMLRPCServer, """ def __init__(self, addr, requestHandler=DocXMLRPCRequestHandler, - logRequests=1): - SimpleXMLRPCServer.__init__(self, addr, requestHandler, logRequests) + logRequests=1, allow_none=False, encoding=None, + bind_and_activate=True): + SimpleXMLRPCServer.__init__(self, addr, requestHandler, logRequests, + allow_none, encoding, bind_and_activate) XMLRPCDocGenerator.__init__(self) class DocCGIXMLRPCRequestHandler( CGIXMLRPCRequestHandler, |