[Python-checkins] python/dist/src/Lib xmlrpclib.py,1.28,1.29

loewis@users.sourceforge.net loewis@users.sourceforge.net
2003年7月12日 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:

AltStyle によって変換されたページ (->オリジナル) /