[Python-checkins] python/dist/src/Lib xmlrpclib.py,1.28,1.29
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Sat, 12 Jul 2003 00:53:06 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv32000/Lib
Modified Files:
xmlrpclib.py
Log Message:
Patch #764470: Fix marshalling of faults. Will backport to 2.2.
Index: xmlrpclib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xmlrpclib.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** xmlrpclib.py 16 Jun 2003 02:49:42 -0000 1.28
--- xmlrpclib.py 12 Jul 2003 07:53:04 -0000 1.29
***************
*** 45,48 ****
--- 45,54 ----
# 2002-06-27 fl Merged with Python CVS version
# 2002-10-22 fl Added basic authentication (based on code from Phillip Eby)
+ # 2003-01-22 sm Add support for the bool type
+ # 2003-02-27 gvr Remove apply calls
+ # 2003-04-24 sm Use cStringIO if available
+ # 2003-04-25 ak Add support for nil
+ # 2003-06-15 gn Add support for time.struct_time
+ # 2003-07-12 gp Correct marshalling of Faults
#
# Copyright (c) 1999-2002 by Secret Labs AB.
***************
*** 582,586 ****
# fault instance
write("<fault>\n")
! dump(vars(values), write)
write("</fault>\n")
else:
--- 588,594 ----
# fault instance
write("<fault>\n")
! dump({'faultCode': values.faultCode,
! 'faultString': values.faultString},
! write)
write("</fault>\n")
else: