From e4dea98e5aed37b71625cd76988433f5f8bee379 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 21 Apr 2006 13:45:00 +0000 Subject: [PATCH] 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. --- Lib/xmlrpclib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py index 6fb6c68db518..bac0a9f98f16 100644 --- a/Lib/xmlrpclib.py +++ b/Lib/xmlrpclib.py @@ -749,6 +749,8 @@ class Marshaller: # 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. -- 2.47.3