xmlrpclib.Server vs xmlrpclib.ServerProxy

Fredrik Lundh fredrik at pythonware.com
Sat Mar 16 11:50:18 EST 2002


Magnus Lie Hetland wrote:
> I find ServerProxy to be a more logical name, but the fact that I
> can't find it mentioned in the docs makes me a bit wary of using
> it... (On the other hand, ServerProxy is what's documented in the
> docstring. What is the history behind this duality -- and what is the
> motivation for the conflicting current usage?

the original code used Server -- after all, the object is
representing a remote server.

the (rather lame) ServerProxy alias was added later, after
enough people had flamed me over the original naming...

> who thinks that SimpleXMLRPCServer should be called
> xmlrpclib.Server, with xmlrpclib.ServerProxy being used as the
> server proxy...

most XML-RPC users don't use/need server functionality,
and shouldn't have to pay for something they don't use...

</F>





More information about the Python-list mailing list