mirror of
https://github.com/python/cpython.git
synced 2025-09-14 20:56:06 +00:00
Patch #1599845: Add an option to disable the implicit calls to server_bind() and server_activate() in the constructors for TCPServer, SimpleXMLRPCServer and DocXMLRPCServer.
This commit is contained in:
parent
3351aa7dd5
commit
ae04106a0e
6 changed files with 30 additions and 12 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue