DocXMLRPCServer constructor fails with allow_none argument

Bug #514994 reported by Brian Pitts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python2.5 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: python2.5

#!/usr/bin/python

import SimpleXMLRPCServer
import DocXMLRPCServer

host='localhost'
port=9000
srv = SimpleXMLRPCServer.SimpleXMLRPCServer((host,port), allow_none=True)

port=9001
srv = DocXMLRPCServer.DocXMLRPCServer((host,port), allow_none=True)

# expected behavior is for both to run successfully in python 2.5 on Ubuntu 8.04
# instead, the self-documenting server fails with this error
# TypeError: __init__() got an unexpected keyword argument 'allow_none'

# see
# http://docs.python.org/library/docxmlrpcserver.html#DocXMLRPCServer.DocXMLRPCServer
# http://docs.python.org/library/simplexmlrpcserver.html#SimpleXMLRPCServer.SimpleXMLRPCServer

Revision history for this message
dino99 (9d9) wrote :

Support for this version has ended

Changed in python2.5 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.