Public bug reported:

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

** Affects: python2.5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
DocXMLRPCServer constructor fails with allow_none argument
https://bugs.launchpad.net/bugs/514994
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to