[New-bugs-announce] [issue19082] Lib/xmlrpc/client.py demo code points to the dead server

Vajrasky Kok report at bugs.python.org
Tue Sep 24 16:48:46 CEST 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue19082>
_______________________________________


More information about the New-bugs-announce mailing list