[Moin-devel] CVS: MoinMoin/support xmlrpclib.py,NONE,1.1 __init__.py,1.5,1.6
J?rgen Hermann
jhermann at users.sourceforge.net
Wed May 8 18:55:03 EDT 2002
Update of /cvsroot/moin/MoinMoin/support
In directory usw-pr-cvs1:/tmp/cvs-serv1510/MoinMoin/support
Modified Files:
__init__.py
Added Files:
xmlrpclib.py
Log Message:
XMLRPC skeleton added
--- NEW FILE: xmlrpclib.py ---
#
# XML-RPC CLIENT LIBRARY
# $Id: xmlrpclib.py,v 1.1 2002/05/09 01:54:40 jhermann Exp $
#
# an XML-RPC client interface for Python.
#
# the marshalling and response parser code can also be used to
# implement XML-RPC servers.
#
# Notes:
# this version is designed to work with Python 1.5.2 or newer.
# unicode encoding support requires at least Python 1.6.
# experimental HTTPS requires Python 2.0 built with SSL sockets.
# expat parser support requires Python 2.0 with pyexpat support.
#
# History:
# 1999-01-14 fl Created
# 1999-01-15 fl Changed dateTime to use localtime
# 1999-01-16 fl Added Binary/base64 element, default to RPC2 service
[...977 lines suppressed...]
# compatibility
Server = ServerProxy
# --------------------------------------------------------------------
# test code
if __name__ == "__main__":
# simple test program (from the XML-RPC specification)
# server = ServerProxy("http://localhost:8000") # local server
server = ServerProxy("http://betty.userland.com")
print server
try:
print server.examples.getStateName(41)
except Error, v:
print "ERROR", v
Index: __init__.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/support/__init__.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** __init__.py 17 Mar 2002 09:57:38 -0000 1.5
--- __init__.py 9 May 2002 01:54:40 -0000 1.6
***************
*** 18,22 ****
difflib
from the Python 2.1 distribution; see LICENSE.Python for
! licensing information applying to this module,
$Id$
--- 18,26 ----
difflib
from the Python 2.1 distribution; see LICENSE.Python for
! licensing information applying to this module
!
! xmlrpclib:
! from the Python 2.2 distribution; see LICENSE.Python for
! licensing information applying to this module
$Id$
More information about the Moin-devel
mailing list