New submission from Vajrasky Kok: Lib/xmlrpc/client.py tries to connect to http://time.xmlrpc.com/RPC2 which has been dead for a "while". I see there is no light in the end of tunnel. Since this code is meant to be a demo not a general purpose tool, I say why don't we direct it to localhost (which can be provided by Lib/xmlrpc/server.py).
After applying this patch, you can start the server: $ python Lib/xmlrpc/server.py Serving XML-RPC on localhost port 8000 Then in another place, you can start the client and get result straight away: $ python Lib/xmlrpc/client.py 2013-09-24T22:35:27 2013-09-24T22:35:27 512 3 Isn't that beautiful? ---------- components: Library (Lib) files: xmlrpc_server_client_demo.patch keywords: patch messages: 198359 nosy: vajrasky priority: normal severity: normal status: open title: Lib/xmlrpc/client.py demo code points to the dead server type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31856/xmlrpc_server_client_demo.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19082> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com