summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/xmlrpclib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py
index 6fb6c68..bac0a9f 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.