Author: guido.van.rossum
Date: Fri Apr 21 15:45:00 2006
New Revision: 45611
Modified:
python/branches/p3yk/Lib/xmlrpclib.py
Log:
Fix the unit tests by adding dispatch tables for DateTime and Binary.
I'm not convinced this is the right thing to do... InstanceType makes no sense
any longer.
Modified: python/branches/p3yk/Lib/xmlrpclib.py
==============================================================================
--- python/branches/p3yk/Lib/xmlrpclib.py (original)
+++ python/branches/p3yk/Lib/xmlrpclib.py Fri Apr 21 15:45:00 2006
@@ -749,6 +749,8 @@
# store instance attributes as a struct (really?)
self.dump_struct(value.__dict__, write)
dispatch[InstanceType] = dump_instance
+ dispatch[DateTime] = dump_instance
+ dispatch[Binary] = dump_instance
##
# XML-RPC unmarshaller.
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins